LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-08-2009, 10:26 AM   #1
critesta
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Rhel 4.5 - ntpd and rpc.statd don't start on boot


Hi,
I have a problem with a server with os Linux RedHat Enterprise AS 4.7:
when the server boots both ntpd and rpc.statd fail to start.

looking into /var/log/messages I found:

Apr 8 10:39:24 madrid rpc.statd[6019]: Version 1.0.6 Starting
Apr 8 10:39:57 madrid kernel: Using local APIC timer interrupts.
Apr 8 10:39:24 madrid rpc.statd[6019]: unable to register (statd, 1, udp).
Apr 8 10:39:57 madrid kernel: Detected 20.781 MHz APIC timer.
Apr 8 10:39:24 madrid nfslock: rpc.statd startup failed

and

Apr 8 10:39:32 madrid ntpdate[6529]: sendto(10.100.0.100): Success
Apr 8 10:39:36 madrid ntpd: failed
Apr 8 10:39:36 madrid ntpd[6569]: ntpd 4.2.0a@1.1190-r Thu Oct 5 04:11:33 EDT 2006 (1)
Apr 8 10:39:36 madrid ntpd: ntpd startup succeeded
Apr 8 10:39:36 madrid ntpd[6569]: precision = 1.000 usec
Apr 8 10:40:02 madrid kernel: usbcore: registered new driver usbfs
Apr 8 10:39:36 madrid ntpd[6569]: Listening on interface wildcard, 0.0.0.0#123
Apr 8 10:40:03 madrid kernel: usbcore: registered new driver hub
Apr 8 10:40:03 madrid gcstartup: .
Apr 8 10:40:03 madrid kernel: PCI: Using ACPI for IRQ routing
Apr 8 10:40:03 madrid kernel: GSI 16 sharing vector 0xA9 and IRQ 16
Apr 8 10:39:36 madrid ntpd[6569]: Listening on interface wildcard, ::#123

For ntp, when the server completed the boot process, altough it seems ntpd started, no external server is used for syncronization.
The rpc.statd does not start at all and it doesn't appear if I issue a rpcinfo -p
The strange thing is that at this point if I manually start or restart /etc/init.d/ntpd and /etc/init.d/nfslock both services start with no errors.
Another strange thing is the timestamp for messages into /var/log/messages. How could it be possible to have a line with a certain timestamp and the following with a timestamp 30 seconds before??

The kernel version in use is 2.6.9-55.0.12.ELsmp #1 SMP x86_64

Any idea?
Thanks

Cristian
 
Old 04-09-2009, 05:51 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Have you made any changes to the ntpd or nfslock init scripts? If you change the start sequence it could cause the problem you're seeing.

Let's see output of:
Code:
# cd /etc/init.d && grep 'chkconfig' ntpd nfslock
 
Old 05-25-2009, 10:57 AM   #3
critesta
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by anomie View Post
Have you made any changes to the ntpd or nfslock init scripts? If you change the start sequence it could cause the problem you're seeing.

Let's see output of:
Code:
# cd /etc/init.d && grep 'chkconfig' ntpd nfslock
Thanks for your reply. No changes on ntpd or nfslock scripts were made.
The output for the command is:

ntpd:# chkconfig: - 58 74
nfslock:# chkconfig: 345 14 86

That is identical to what I get on a second machine with an identical hw/sw configuration. On the second machine rpc.statd stars on boot...
The only difference seems to be this strange delay on the timestamp in /var/log/messages.

Any idea???
Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS Locking problem: starting "rpc.statd " gives error message opmetc Linux - Networking 2 11-16-2009 02:58 AM
rpc.statd AUSanders79 Linux - Security 3 12-07-2007 04:11 PM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 09:24 AM
rpc.statd questions kgao Linux - Software 0 05-14-2005 04:25 PM
rpc.statd won't start mahaabaala Linux - Software 0 01-24-2003 05:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration