Quantcast
Channel: Symantec Connect - ブログエントリ
Viewing all articles
Browse latest Browse all 5094

ITMS Linux Agent with Systemd

$
0
0

For Linux environments that use Systemd, you may encounter issues with the ITMS Linux Agent on boot.
The reason for this is that ITMS installs '/etc/init.d/altiris' as the control script for the Agent.
This control script is not aware of Systemd dependency mechanisms.
In the event that the Local file system is not mounted, particularly '/opt', the 'altiris' service will fail to start.
This is because the default location of the install is '/opt' and there is no guarantee that this partition will be mounted before our service.

The following procedure will guarantee that the '/opt' partition is mounted.

1) Remove the symbolic link '/etc/init.d/altiris'. This prevents Systemd from generating a unit.
2) Create the file '/etc/systemd/system/altiris.service' with the following contents:

[Unit]
 Description=ITMS Agent
 After=local-fs.target

[Service]
 ExecStart=/opt/altiris/notification/nsagent/etc/rc.d/altiris start
 ExecStop=/opt/altiris/notification/nsagent/etc/rc.d/altiris stop

[Install]
 WantedBy=multi-user.target

3) Run the command: systemctl enable altiris
4) Run the command: systemctl start altiris
5) Run the command: systemctl status altiris
 


Viewing all articles
Browse latest Browse all 5094

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>