LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-01-2014, 11:34 AM   #1
linuxmantra
Member
 
Registered: Dec 2013
Posts: 110

Rep: Reputation: Disabled
ntpd issue


I am having issue with ntp. ntp service fails after some time.Following is the output:

[root@server01 ~]# service ntpd status
ntpd dead but pid file exists

I restarted the service as:
[root@server01 ~]# service ntpd restart
Shutting down ntpd: [FAILED]
Starting ntpd: [ OK ]
[root@server01 ~]# service ntpd restart
Shutting down ntpd: [ OK ]
Starting ntpd: [ OK ]


Any suggestion how to resolve this issue. Please look below for the content of files:
vi /etc/sysconfig/ntpd
-----------------------------------------------------
# Drop root to id 'ntp:ntp' by default.
OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"

# Set to 'yes' to sync hw clock after successful ntpdate
SYNC_HWCLOCK=yes

# Additional options for ntpdate
NTPDATE_OPTIONS=""
-----------------------------------------------------
[root@server01 ~]# ps -ef | grep ntp
ntp 1640 1 0 08:08 ? 00:00:00 ntpd -x -u ntp:ntp -p /var/run/ntpd.pid
root 2182 2137 0 08:11 pts/0 00:00:00 grep ntp


Thank you in advance for your help
 
Old 06-01-2014, 12:08 PM   #2
sean.ferguson
LQ Newbie
 
Registered: Feb 2012
Location: Scotland
Distribution: Ubuntu 16.04 / Debian 8 / Arch
Posts: 25

Rep: Reputation: Disabled
have you tried deleting the .pid file first with
Code:
rm -f /var/run/ntpd.pid
and then restarting ntpd?

Is there anything in var/log/messages or even a var/log/ntpd file with any information relating to this?

Last edited by sean.ferguson; 06-01-2014 at 12:09 PM.
 
Old 06-01-2014, 06:05 PM   #3
linuxmantra
Member
 
Registered: Dec 2013
Posts: 110

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by sean.ferguson View Post
have you tried deleting the .pid file first with
Code:
rm -f /var/run/ntpd.pid
and then restarting ntpd?

Is there anything in var/log/messages or even a var/log/ntpd file with any information relating to this?
No I have not deleted the /var/run/ntpd.pid
following is the output of log message:
------------------------------------------------------------------------------------------------------------------------------
Jun 1 02:22:36 servero1 [sssd[ldap_child[6054]]]: Failed to initialize credentials using keytab [default]: Client 'host/servero1.xxx.com@XXX.COM' not found in Kerberos database. Unable to create GSSAPI-encrypted LDAP connection.
Jun 1 02:22:36 servero1 [sssd[ldap_child[6054]]]: Client 'host/servero1.XXXX.com@XXXX.COM' not found in Kerberos database
Jun 1 02:22:36 servero1 [sssd[ldap_child[6055]]]: Failed to initialize credentials using keytab [default]: Client 'host/servero1.xxx.com@XXX.COM' not found in Kerberos database. Unable to create GSSAPI-encrypted LDAP connection.
Jun 1 02:22:36 servero1 [sssd[ldap_child[6055]]]: Client 'host/servero1.xxx.com@XXX.COM' not found in Kerberos database
Jun 1 02:22:36 servero1 [sssd[ldap_child[6056]]]: Failed to initialize credentials using keytab [default]: Clock skew too great. Unable to create GSSAPI-encrypted LDAP connection.
Jun 1 02:22:36 servero1 [sssd[ldap_child[6056]]]: Clock skew too great
----------------------------------------------------------------------------------------------------------------------------------
Please note that XXX is domain name.I did not put my original domain name for security purpose
Further, I register machine in IdM server and installed ipa-client in the machine.

Last edited by linuxmantra; 06-01-2014 at 06:07 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
/etc/rc.d/rc.ntpd: what does it do? stf92 Slackware 32 07-27-2012 05:24 PM
ntpd issue mohammed nadeem Linux - Newbie 2 03-15-2010 10:07 AM
NTPd slackamp Slackware 1 12-26-2006 02:39 PM
ntpd jqcaducifer Linux - General 0 08-21-2003 11:09 PM
ntpd susx Linux - Newbie 3 08-28-2001 04:18 PM


All times are GMT -5. The time now is 02:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration