Operating System - HP-UX
1846838 Members
8346 Online
110256 Solutions
New Discussion

Re: xntpd script. what's wrong?

 
SOLVED
Go to solution
Karvendhan M
Frequent Advisor

xntpd script. what's wrong?

Hi everybody,

pls have a look at the following text. Any idea what went wrong.?

# /sbin/init.d/xntpd stop
/sbin/init.d/xntpd[58]: root::0:root: not found.
/sbin/init.d/xntpd[58]: other::1:root,hpdb: not found.
/sbin/init.d/xntpd[58]: bin::2:root,bin: not found.
/sbin/init.d/xntpd[58]: sys::3:root,uucp: not found.
/sbin/init.d/xntpd[58]: adm::4:root,adm: not found.
/sbin/init.d/xntpd[58]: daemon::5:root,daemon: not found.
/sbin/init.d/xntpd[58]: mail::6:root: not found.
/sbin/init.d/xntpd[58]: lp::7:root,lp: not found.
/sbin/init.d/xntpd[58]: tty::10:: not found.
/sbin/init.d/xntpd[58]: nuucp::11:nuucp: not found.
/sbin/init.d/xntpd[58]: users::20:root: not found.
/sbin/init.d/xntpd[58]: nogroup:*:-2:: not found.
xntpd stopped
#
# /sbin/init.d/xntpd start
/sbin/init.d/xntpd[36]: root::0:root: not found.
/sbin/init.d/xntpd[36]: other::1:root,hpdb: not found.
/sbin/init.d/xntpd[36]: bin::2:root,bin: not found.
/sbin/init.d/xntpd[36]: sys::3:root,uucp: not found.
/sbin/init.d/xntpd[36]: adm::4:root,adm: not found.
/sbin/init.d/xntpd[36]: daemon::5:root,daemon: not found.
/sbin/init.d/xntpd[36]: mail::6:root: not found.
/sbin/init.d/xntpd[36]: lp::7:root,lp: not found.
/sbin/init.d/xntpd[36]: tty::10:: not found.
/sbin/init.d/xntpd[36]: nuucp::11:nuucp: not found.
/sbin/init.d/xntpd[36]: users::20:root: not found.
/sbin/init.d/xntpd[36]: nogroup:*:-2:: not found.
/usr/sbin/ntpdate: adjust time server 12.34.56.78 offset 0.1007919
xntpd #
#
#


Thanks in Advance..

Karvendhan M.
4 REPLIES 4
Printaporn_1
Esteemed Contributor

Re: xntpd script. what's wrong?

first checking /etc/group does it exist or does the permission is correct.
enjoy any little thing in my life
V Panchapakesan
Advisor
Solution

Re: xntpd script. what's wrong?

Hi,
check if some unwanted file (with entries of /etc/group) is copied in /etc/rc.config.d/ directory.

Panchu
I WANT TO BELIEVE
James R. Ferguson
Acclaimed Contributor

Re: xntpd script. what's wrong?

Hi:

It would appear that you have copied /etc/group into the /etc/rc.config.d/ directory.

The contents of /etc/rc.config.d are sourced by /etc/rc.config when it is run in /sbin/init.d/xntpd (at lines 36 and 58).

Only filenames containing [.,~#] are *not* sourced by /etc/rc.config when the /etc/rc.config.d/ directory is processed.

...JRF...
Vincenzo Restuccia
Honored Contributor

Re: xntpd script. what's wrong?

Provide the following information when reporting NTP problems:

/etc/ntp.conf (or an alternate configuration file, if used)


/etc/rc.config.d


NTP driftfile (if configured)


NTP statistics file (if configured)


/var/adm/syslog/syslog.log (xntpd/NTP entries)


output from /usr/sbin/ntpq -p


output from ntpdate -d server (stop the local xntpd first)