We have installed SMA on broad variety of Linux releases, but when I installed SMA 7.6 recently on SUSE 13.2 it failed to start.
Installation completed pretty smoothly, but agent reported error "INTEGER EXPECTED" and failed to start.
I have located that issue in following script:
# define SYSTEMD_NO_WRAP to avoid using SLE 12+ systemd wrapper in rc.status. ET:3685839
suse_version=`cat /etc/SuSE-release | grep VERSION | cut -d'' -f3 2>/dev/null`
if [ -n "${suse_version}" ] && [ ${suse_version} -ge 12 ]; then
SYSTEMD_NO_WRAP="1"
export SYSTEMD_NO_WRAP
fi
I have made small modification and now everything works normally.
suse_version=`cat /etc/SuSE-release | grep VERSION | cut -d'' -f3 | cut -d'.' -f1 2>/dev/null`
==========================================================
INSTRUCTIONS
Once you have SMA installed, open terminal and do following:
su <password>
cd /opt/altiris/notification/nsagent/etc/rc.d
vi altiris
When VIM editor opens, locate sesion mentioned above and update accordingly.
I have commented existing line and added new one - result looks like this:
# define SYSTEMD_NO_WRAP to avoid using SLE 12+ systemd wrapper in rc.status. ET:3685839
# suse_version=`cat /etc/SuSE-release | grep VERSION | cut -d'' -f3 2>/dev/null`
suse_version=`cat /etc/SuSE-release | grep VERSION | cut -d'' -f3 | cut -d'.' -f1 2>/dev/null`
if [ -n "${suse_version}" ] && [ ${suse_version} -ge 12 ]; then
SYSTEMD_NO_WRAP="1"
export SYSTEMD_NO_WRAP
fi
To exit VIM, type quit<enter>
You can now try starting SMA:
aex-helper agent start
==========================================================
Now everything should work normally.
Related articles: