Review this solution if you run the up.time Linux agent in Daemon mode on a SUSE platform, follow the instructions below to add the 2 links and observe that the up.time agent does not start up after rebooting the server.
\n\n\nln -s /opt/uptime-agent/bin/upt_daemon.sh /etc/rc.d/rc3.d/S99uptm_daemon
\nln -s /opt/uptime-agent/bin/upt_daemon.sh /etc/rc.d/rc3.d/K1uptm_daemon
Try the following steps for SLES 11 systems:
\n- \nRemove the 2 links created in /etc/rc.d/rc3.d as described above.
- \nAdd the following: ln -s /opt/uptime-agent/bin/upt_daemon.sh /etc/rc.d/uptm_daemon
- \nRun chkconfig --level 345 uptm_daemon (where 345 is the run level you want the agent to run at).
Try the following steps for SLES 9 systems:
\n- \nRemove the 2 links created in /etc/rc.d/rc3.d as described above.
- \nAdd the following: ln -s /opt/uptime-agent/bin/upt_daemon.sh /etc/rc.d/uptm_daemon
- \nRun:
- \nchkconfig uptm_daemon uptm_daemon 345
- \nchkconfig -t uptm_daemon xntpd uptm_daemon 345
- \nxntpd on