Server :: Ntpd - Time Server - Not Time Source ?
Jul 14, 2011
I have a set of machines on a disconnected network. Periodically, one of the machines connects to the internet and synchronizes its time with a time server that is not known until the connection is established. (The machine queries a central command server for the address of the time server it should synchronize to.)
I then use a custom tool to do some calculations to call adjtimex() and adjust the clock so that it runs fairly accurately.
I know ntpd is supposed to be able to handle disconnected networks but I thought you had to preconfigure the servers in the configuration file.
My intent is to run ntpd on this machine (without configured "server"s) so that it can serve time to the internal network. (Periodic synchronization using ntpdate from the internal machine to the bridge machine.)
The problem: ntpd wants to fuss with the values I set using adjtimex(). I want it to quit thinking it needs to adjust the clock and just serve time to the internal network. (Maybe I have a GPS time source hooked directly to the machine!)
View 4 Replies
ADVERTISEMENT
Mar 22, 2010
I am trying to synchronize the time of my VM server with ntpd. I have the following configuration. And in the /etc/ntp.conf, I have the following line:
restrict default ignore
restrict 127.0.0.1.
server time1.server
server time2.server
Whenever I have this line, the erver is not able to synchronize its time... So far as I understood, this line prevents other servers using this machine as a time server. And the second line says to allow localhost to use as time server. But why do I need to use its own time server when I have specified to use time1.server and time2.server ? ( firewall for tcp and udp ports 123 is open)
However, when I replace the first line of the configuration with the following line, it works. restrict default kod nomodify notrap noquery But with this, i am allowing other servers to use this server a ntp (which I wouldn't like to). Why this machine tries to use ntp server of its own (to snyc time) and why it is not working though i have the entry "restrict 127.0.0.1" ??
View 1 Replies
View Related
Feb 10, 2011
NTPD on Fedora 14.
View 2 Replies
View Related
Mar 29, 2010
I have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.
View 9 Replies
View Related
Aug 4, 2009
I am hosting two Virtual Servers both running Centos 5.3 on a host machine also running the same OS. The VM software in use is Xen, as supplied with the OS.The host machine's time and date is fine, however both Virtual Servers are running ahead of real time consitantly.Running /etc/init.d/ntpd restart will resolve the issue however one of these is running MailScanner and when the time suddenly goes backwards, sometimes by as much as an hour, it stops working properly.
View 1 Replies
View Related
Oct 28, 2010
I want to synchronize my time to a time server in Singapore. How can i do so with the Time and Date in System - Administration - Time and Date?
View 4 Replies
View Related
Jun 9, 2010
Is there a way to get the current time as provided from NTP (not the currently set time on the server)?
View 4 Replies
View Related
Aug 31, 2010
I use Arch, but no info about it in official wiki.
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
Jan 27, 2009
I have a server running VMWare Server on it with 4 virtual machines running. I am trying to use NTPD to keep the time correct on all of the virtual machines. On my physical server, I have installed ntpd and this is it's config file:
Quote:# ntpd.conf
tinker panic 0
restrict 127.0.0.1
restrict default kod nomodify notrap
server 0.vmware.pool.ntp.org
server 1.vmware.pool.ntp.org
server 2.vmware.pool.ntp.org
[Code]...
View 3 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
Feb 27, 2011
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
View 2 Replies
View Related
May 13, 2011
I have been able to find enough information that I need to enable 'time-udp' in /etc/xinetd.d/ But there isn't an entry for time-udp. How do I enable time-udp (Time of Day server) on a Red Hat system? It's RHEL 5.6 64bit.
View 1 Replies
View Related
Jan 15, 2011
I have 2 servers each one with a RAID and I want them mirror they data so if one of them goes down the other one take the job with out disruption. I've heard of multipath by I want to know it in detail or learn of more options.
View 2 Replies
View Related
Jul 14, 2011
we are synchronizing server time with ntpdate command in cron.how often should it run?
View 3 Replies
View Related
Aug 18, 2011
I would like to connect to Linux Server remotely over LAN in graphical modeBut I need access for several users in real time. Everyone must have its own desktop.
View 2 Replies
View Related
Apr 19, 2010
I have been having trouble figuring this out. I have a machine running CentOS 5 and I want to setup an SMTP server behind a router on a home broadband connection. I've read many guides but nothing too specific as to what I need to do. I want to use either sendmail or postfix, but I don't know if I should purchase an SMTP relay. If anyone could point me in the right direction it would be great. I also have bought a domain name that I want to use, but I just cant put all these pieces together as of right now.
View 5 Replies
View Related
Nov 25, 2010
What is the right way to keep updated the time on a server? Using ntpd daemon or ntpdate by crontab? I've two server in two different locations.. I've used
Quote: # ntpdate ntp1.ien.it
on both server, and the two times were staggered by ten minutes. How is it possible?
View 2 Replies
View Related
Aug 18, 2010
how to synchronize time in NFS client with its NFS server. I am using Fedora.
View 6 Replies
View Related
Jan 7, 2010
I have a dual boot - server edition and desktop on the same computer.I don't want to use GUI (minimize the resource), so I MUST use server edition. (IT IS A MUST, sorry... I know I can run server on desktop)Is it possible to run both server and desktop on the same screen?
View 4 Replies
View Related
Feb 15, 2011
I have Dovecot installed that constantly "commits suicide" due toe constant time changes on my server.But I don't have any NTPD or anything running.. If I do a Code: watch date it updates the screen every 2 seconds, and you can clearly see the time flip back a few seconds, and then go back to the correct time.. Sometimes it goes back a few minutes, and back to normal..
I literally did this 10 seconds ago..
Code: [root ~]# date
Tue Feb 15 17:15:11 GMT 2011
[code]...
View 4 Replies
View Related
Feb 1, 2010
I am currently using curlftps to mount a directory on a ftp server locally as /backup , I then use rsync to do an incremental backup to this directory every night and a full backup at the weekend.A requirement has arose for a similar set up but one that syncs in real time, so if a user puts a file in a directory it immediately copies that file to my ftp server, in this case it immediately copies it to /backup
View 4 Replies
View Related
May 1, 2010
On installation of my OEL (Oracle Enterprise Linux), I've made a mistake, and set the date and time wrong. It's pointing to a date far in the future. So I change the date (and time), all looks OK. But when I boot, all is back to the same date (in 2015). I'm running this OS in VMware, I don't know if this issue relates to VM or not.
View 8 Replies
View Related
Jan 21, 2010
After i installing apatche and i installing php time to test in my server. I couldn't do that from my server, i don't have GUI so, how can we do it?
View 5 Replies
View Related
Oct 30, 2009
I have two boxes that were originally used as workstations at a school - they upgraded and sold these.The two boxes are identical parts - Lenovo NetVista M42. I installed 5.3, installed RPMforge per the wiki instructions, did a yum -y update && shutdown -h now.The next day I turned the machine on and installed the UT2004 dedicated server. After a few hours I tried logging in via SSH - I could enter my user and password, but could not get farther. I rebooted the server. After another day the same thing happened. I moved the disk from the first box to the second and moved /etc/sysconfig/network-scripts/ifcfg-eth0.bak to ifcfg-eth0 but retaining the correct MAC address.
During this transition where the server "locks up" some things work and others do not. For example, if I type ping 4.2.2.2, wait 10 minutes and CTRL+C it looks like this (note the time of 0ms).
View 11 Replies
View Related
Feb 22, 2011
My distribution of choice on my desktop is Arch Linux (I like getting all the new stuff before anyone else) but I am going to be making a home server, and I can't imagine Arch Linux working well for that because I want something stable and reliable. I always admired Debian for not only APT but it's reliability. I thought about using Ubuntu server but I don't like the direction Ubuntu is going, and I like Debian better anyway, so I am firmly set on using Debian for this server.
This server will be more advanced than necessary for a home user. The reason is because it's a learning experience. I want to learn all about DHCP, DNS, and all those other things. I'm already very knowledgeable on SSH and Unison, which will be the primary focus (backing up). So I was hoping I would list the things I decided to do and get some opinions/best practices from you guys.First, I decided on a Dell Inspiron 570. It's dirt cheap (around $280) and it has a gigabit network card. (I'm pretty sure). I need to stay as cheap as possible because money is a HUGE factor for me. I have a budget of under $700 to do all this. (So I may need to get smaller hard drives). Whatever default hard drive it comes with I will add two more hard drives in a RAID1 for /home. Like this:
Disk 1: Root, swap and boot partitions (smaller hard drive)
Disk 2 & 3: Dedicated to /home, on a RAID1 (two 2TB hard drives)
The idea is that once the server is all the way done, I will image Disk 1 with Clonezilla, and if it fails, just restore it. I personally don't feel that having RAID1 for the root partition is necessary when Clonezilla takes 20 minutes to restore a drive, or less. The OS and all configurations in /etc would automatically be backed up in that image.Since I'm using the server primarily for backups (there won't even be a monitor on it when done) /home will be on a RAID1 since that's the most important thing. (I have backups on external hard drives too, one is off-site, so still no worries). Also, the server will handle DNS for the hostnames on my four other computers, and I'm thinking of replacing my router and having my server do that too. Nothing wrong with my router, but it would be fun for me to set this up.
View 2 Replies
View Related
Feb 23, 2010
I have a fedora 12 server on which the time is advancing very slowly, 1 sec every 20 sec.Does anyone have an idea what is wrong
View 14 Replies
View Related
Apr 9, 2010
I am trying to synchronize the time of a PC using NTP using a server on LAN. Both the PCs do not have internet. I have made changes to the /etc/ntp.conf file of both the server and client . But still on rebooting is shows Synchronizing with time server failed. I am attaching the ntp.conf file of both server and client.
View 13 Replies
View Related
Feb 18, 2011
I want to know the time on a server accurate to the millisecond.there's this way:
local $ ssh user@servername
Welcome to server!
server $ date
Fri Feb 18 11:27:50 EST 2011
But I need more accuracy. Is there a command that will be more precise?
View 2 Replies
View Related
Mar 29, 2010
i want to upload some files to my server at a particular time how to do ? or I want to upload some files from my pc to server at scheduled time?
View 3 Replies
View Related