NTP issue with VMWare

  • 7008544
  • 09-May-2011
  • 01-Jun-2012


Novell Open Enterprise Server
Novell eDirectory


NTP (network time provider) going dead on Open Enterprise Linux Server.


So as we know eDirectory on VM-Ware we have issue with ntp going dead after some time so to solve this we have 2 simple solutions.
Resolution 1) CronJob

Set cronjob on server you may caused high utilization but you can simply add

Resolution 2) InitTab

1) Edit /bin/inittab and add  "zz:12345:respawn:/usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp" to the bottom of the file.

2) Then you need to kill hup with following command " kill -HUP 1" for more information what is HUP you can google it 

Notes:-  After every 5 min inittab will automatically check the service and if it is dead it will restart it.

You need to give each service has a unique identification number that in above example we have "zz" you can have some thing like "01" to "99" and "a" to "zz" or it can be alphanumerical but has to me only 2 digit.

Then number "12345"  are the run level hope you all know what is run level.

And then is the command or the service to start you may directly give the name of the demon like "/opt/novell/eDirectory/sbin/ndsd" the best thing to find out from where the dome is running is to run
ps -elf |grep !service
and it will show you from where it is running