Debian :: Sync Clock - NTPD Not Starting On Boot
Jul 19, 2011
I'm trying to sync my clock. I think I would like to do this by the "ntpd" daemon running. I think it should start up on boot, but it doesn't.
I have the following in my /var/log/syslog:
Jul 18 23:44:14 neo ntpd[1780]: ntpd 4.2.6p2@1.2194-o Sun Oct 17 13:45:13 UTC 2010 (1)
Jul 18 23:44:14 neo ntpd[1781]: proto: precision = 0.634 usec
Jul 18 23:44:14 neo ntpd[1781]: unable to bind to wildcard address 0.0.0.0 - another process may be running - EXITING
Jul 18 23:44:14 neo ntpdate[1194]: step time server 72.26.125.125 offset -0.505108 sec
Other posts say if ntpd and ntpdate run too close together, they cause one to think the other is locking a resource. It works to type "ntpdate pool.ntp.org" to manually update the clock. My Debian version is squeeze (6.0.2)
It works to start the ntpd daemon manually:
... sudo /etc/init.d/ntp start
... Starting NTP server: ntpd.
View 2 Replies
ADVERTISEMENT
Mar 30, 2011
[root@espeed log]# /etc/init.d/ntpd start
Starting ntpd: ntpd: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
[root@espeed log]# ldd /usr/sbin/ntpd
linux-gate.so.1 => (0x00786000)
libm.so.6 => /lib/libm.so.6 (0x0059d000)
[code]....
View 8 Replies
View Related
Aug 30, 2010
I'm trying to use the ntpd -gq instead of ntpdate. The result is that clock not set. as below. However ntpdate is working ok and had set the clock correctly
This is the ntp.conf file:
Code:
[root@CentOS5 ~]# cat /etc/ntp.conf
logfile /var/log/ntp.log
driftfile /var/lib/ntp/drift
server 0.centos.pool.ntp.org
This is the output of command:
Code:
[root@CentOS5 ~]# ntpd -dqg
ntpd 4.2.2p1@1.1570-o Sat Dec 19 00:58:16 UTC 2009 (1)
addto_syslog: precision = 1.000 usec
create_sockets(123)
addto_syslog: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16 .....
clock_filter: n 6 off 42905.489022 del 0.390840 dsp 0.000132 jit 4.733917, age 12
16 addto_syslog: no reply; clock not set
Also attached is the trace file, from the trace file, everything seems ok, timestamps is sent and received:
View 1 Replies
View Related
May 27, 2011
I'm using a very simple conky script to diplay the date and time on my desktop. I've noticed that he conky clock is a few seconds early compared to the time displayed in the right hand side of the top panel (Natty). I guess both displays are based on the same "internal" time, so I'm left wondering how this could happen, and how to sync back the clocks.
It seems that Conky is in sync with the system date, while the panel clock is 2 seconds late (on my system). Checked with while true; do date; sleep 0.1; done
View 2 Replies
View Related
Jul 6, 2010
Running "Red Hat Linux release 9".I want to setup ntpd service to synchronize with our internal ntp server./etc/ntp.conf:
Code:
# Prohibit general access to this service.
restrict default ignore
[code]....
View 4 Replies
View Related
Nov 20, 2009
I'm having a problem with the time on one of my servers jumping forward into the future. We run serveral CentOS 5.4 servers running Xen, some up to date and some a little older. The one in question is running 2.6.18-164.el5xen, with xen-libs-3.0.3-94.el5_4.2 and xen-3.0.3-94.el5_4.2. On this server are several Xen virtual machines, also running CentOS 5.4 with kernel 2.6.18-164.el5xen. One in particular has problems with the clock keeping proper time.
We use NTP (ntpd) to sync time to a central server in the company. Our NTP set-up works fine, and we have problems on only a couple of servers out of many. The problem I see is that one one particular Xen virtual machine, the clock will suddenly jump forward into the future, usually by several minutes but once by more than an hour. This has obvious implications for software running on the machine. Software such as Oracle grid control agent will restart itself under the (incorrect) assumption that it has been hung for several minutes with no activity. Oracle database will cope gracefully, but applications that refer to the clock will be confused.
We detect these time jumps because we have Nagios checking the clock on each host against the centralised time server (Nagios's check_ntp plugin). Nagios will suddenly report a clock offset that is miles into the future. Following the time jump, ntpd on the host in question will re-sync the time. Ntpd keeps the time steady, ticking just a few milliseconds per second until real time catches up with the server. i.e. Nagios will report the time as being 10 minutes ahead, then a minute later the host will be 9 minutes ahead, and then a further minute later the host will be 8 minutes ahead of real time. The clock on the host stays running very slow until it eventually is correct.
[Code]...
View 6 Replies
View Related
Aug 31, 2010
I use Arch, but no info about it in official wiki.
View 2 Replies
View Related
Jun 6, 2010
What configuration options in /etc/ntp.conf do I have to set to allow other computers to receive time from a ntpd server? I've tried removing "nopeers" and "noquery" from the restrict lines, but I can't see anything on port 123.
View 2 Replies
View Related
Apr 1, 2010
I am facing issue in ntp, it is getting killed frequently. see below error; # /etc/init.d/ntpd status ntpd dead but pid file exists After starting service it is works fine but again after sometimes it get in dead postition.
View 5 Replies
View Related
Mar 13, 2010
I wanted to synchronize both clock from windowsxp and centos. whenever i switch to centos i have to change clock before use is there any method so that i can synch both windows clock and centos clock?
View 1 Replies
View Related
Jan 31, 2010
I have this hdd and another with XP in it but when ever I chnage to UBuntu, the clock goes out of whack and, makes me manually change it whereas in my XP I have an atomic clock installed that I just click on 'Ping' and she's right. I've looked at heaps of downloads for similar on here but, I haven't found a free one other than a trial type that I'm not interested in, that works so, why is Linux so difficult in this regard? I will accept all the help I can get on here because I like the thought of being able to get away from Microsoft.
View 2 Replies
View Related
Apr 24, 2009
I want to set up a web server, and I want to set up NTP so to always keep the clock in sync. I have installed a very basic system (No GUI or X components), to keep it slim and thereby a little less prone to security problems. However, does anybody know what the Synchronize system clock before starting option in system-config-date actually does in terms of changing config files or permissions? I'd like to know so I can do it manually via the commandline.
View 8 Replies
View Related
Jul 30, 2010
I had to boot into my Windows 7 install on my laptop for the first time in a few months and I noticed that the Windows clock was 4 hours ahead. Windows sync'd its time with the internet, then I booted back into Debian (Lenny) and my clock was now 4 hours behind. Both OS's are set to the same time zone (EDT). The minutes were correct in both systems. Could the fact that EDT is UTC-0400 be relevant?
View 7 Replies
View Related
Aug 5, 2010
If I set the clock to speak the time, I get this when it tries: starting kttsd failed. I've looked at the various posts, but haven't yet found an actual solution. I've tried to run kttsmgr, but for some reason the "run" dialog doesn't seem to do anything - no error, nothing. Type kttsmgr, press enter since there is not obvious other way to execute the command, and nothing happens.
Is this a module that does not come with KDE? And I give - I can't find time format anywhere. How do you change the clock that appears in the lower right corner to 12 hour instead of what appears to be default 24 hour? I don't see it in "Digital Clock Settings", and I don't see it in System Settings - Date & Time. This is a clean install of slackware 13.1, and whatever version of KDE comes with it.
View 3 Replies
View Related
Apr 8, 2009
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:
and
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
View 2 Replies
View Related
Sep 1, 2010
ntpd startup fails during boot.Does startup just fine manually from command line once it's booted though. Any suggestions what I might adjust?
View 2 Replies
View Related
Jun 3, 2015
I just installed debian 8.0.0..I installed it without "desktop-environment" during tasksel, but instead installed it with "sudo apt-get install xorg gnome-core" atferwards.I want x-win to be present but I do not want it to start during boot.
Adding "GRUB_CMDLINE_LINUX_DEFAULT=text" to the grub config used to work but for this new debian it does not change anything. Yes, I did do update-grub2 after editing the grub file, and I also confirmed in /var/log/messages that "text" is present with the kernel command. "sudo update-rc.d gdm3 remove" also has no effect,what I do gnome starts at boot time.
View 8 Replies
View Related
Apr 15, 2010
I am running Lenny, but I wanted to use a newer version of rtorrent, so I am running it via schroot. I have an init.d script from the rtorrent website that would automatically start rtorrent on boot, but now I am running rtorrent through schroot, it doesn't work anymore.I believe it may be something in my rc.# folders. I seem to remember adding a command to end all schroot sessions when shutting down the ompur, and I was thinking that it might be interfering with rtorrent starting correctly.Any tips on how I troubleshoot this? Here's a file listing of my rc2.d folder:
README S16openvpn
S20cups S20noip2
S20rtorrent S24dhcdbd S89anacron
[code]....
View 1 Replies
View Related
May 13, 2011
I installed the ferm firewall with aptitude in the debian squeeze, the ferm init script is installed to the /etc/init.d and it's enabled in the /etc/default/ferm:
# configuration for /etc/init.d/ferm
# Enable the ferm init script? (i.e. run on bootup)
ENABLED=yes
View 3 Replies
View Related
Nov 30, 2015
I am using Debian 8 with systemd. I noticed that eth0 it is not starting automatically.
During boot process, I see this message: a start job is running for LSB: Raise network interface
View 5 Replies
View Related
Mar 16, 2010
how do i stop eth0 from starting up when i boot/login ??
View 4 Replies
View Related
Aug 2, 2011
Just curious as to if it is possible to have the clock in the center of the task bar centered clock in Ubuntu 11.04?
View 1 Replies
View Related
Jun 10, 2010
Everytime I boot up my computer the clock is 3 hours behind. I have Ubuntu 10.04 LTS and had it on another computer and never had this problem before.
View 3 Replies
View Related
May 2, 2011
Does anyone know of an interface to a quartz clock that can be used for a TOD clock?? I want to interface it to an Arduino board. Can be GPIO or USB.
View 1 Replies
View Related
Sep 2, 2011
I had cloned a centos 5.6 installation from virtualbox virtual machine to physical box. Everything work fine. However, the time showing in os using date command differs from bios time by roughly 4 hours. I am running ntp services which sync the time with another centos server on the network. It appears that some services are using virtual clock and some use physical clock. How do I get rid of virtual clock and only use physical clock?
View 1 Replies
View Related
Oct 29, 2009
I'm running windows 7 and the F12 Beta (although the same issue existed in my f11 distro) on an asus g71 bb. When ever I boot into windows my time is correct. If I boot into to F12 my time is wrong. Usually by 4 hours. If I change it in Linux when I boot into windows I end up switching the time on my windows partition. I tried searching the forum (rather casual I'll admit) and couldn't find any solutions.
View 10 Replies
View Related
Apr 20, 2011
I've set-up dual boot on my laptop. Ubuntu installed first, then Windows 7 so it uses Grub2 to control the booting on start-up. I've noticed that my system clock goes out by an hour on both OS's, I change the clock to correct time & on reboot the time is usually (not always straight away) an hour behind. Has anyone else had this problem & know how to fix it?
View 4 Replies
View Related
Nov 14, 2010
When I shut down the machine everything is as it should be. Time set from the net, hwclock synced. When I boot again, time is set several hours into the future. This is an additive process, when I don't set the correct time it drifts with every boot even days into the future (until boot is denied, because files are too far in the future). I tried to get rid of that behaviour by doing:
Code:
sntp -P no -r pool.ntp.org
hwclock --systohc
I renamed /etc/adjtime which looked like this:
22292.201093 1289670517 0.000000
1289670480
UTC
Now it looks as follows:
0.000000 1289733620 0.000000
1289733620
UTC
To no avail. What could cause that and how can I correct it?
View 6 Replies
View Related
Oct 5, 2010
I am facing a problem with my AT91SAM9260 customized board. Board is almost same as the evaluation kit.
I could download the binaries ( Bootstrap-v1.16, u-boot-1.3.4, linux kernel 2.6.20) successfully to the DATAFLASH/NANDFlash in my board by using atmel SAM-BA tool with usb/serialport/jlink.
Here I describe the problem.
When I power up the board, boot strap is not jumping to U-boot location, in the normal boot sequence and board stuck with bootstrap.
But when I disconnect/connect the JTAG USB cable ( provided with SAM-BA ICE) , it's jumping to u-boot location and booting the board properly. I'm getting the same error in NAND FLASH also.
I have tried one more test case.I copied bootstrap binary at the flash location, [location which is specified for u-boot binary] instead of U-boot.bin (location: 0x8400 in dataflash), I got continous bootstrap debug messages in my console. [ So can I conclude SDRAM doesn't have any problem? ]
Bootstrap code or U-boot code ?
View 4 Replies
View Related
Nov 20, 2010
After daylight savings time, my squeeze installation's clock failed to adjust. I've tried to change this in the bios, but it always resets itself.
Is there a way to force-change the time?
View 3 Replies
View Related