🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Sean Stoner Sat, 29 Jun 1996 00:00
clock slows on linux news server
#8886
Author: Sean Stoner
Date: Sat, 29 Jun 1996 00:00
26 lines
1474 bytes
I am running a news server (inn 1.4) on a linux box running 1.2.1, and 
everything seems to run smoothly, until I come into the office one morning, 
and the machine is locked solid, with the drive light on solid. Upon reboot, 
the fsck process takes a while, and then upon doing a date command, the clock 
is several hours off. The machine's last syslog entry before the downage is 
about 1 am, which is probably correct, and upon login at about 2:00 pm, the 
date command reports 7:45 am! This occurence is now happening on a regular 
basis. Does anyone have any suggestions, or ideas about why this is happening?

tia

sean


______________________________________________________________
#include "sig.h"
int main(){
        if (feelingWitty) wittySig();
        else standardSig();
        return 0;}
/*                              Sean
                                seans@hypercon.com
*/


Re: clock slows on linux news server
#8890
Author: Daniel W. Halverson
Date: Sun, 30 Jun 1996 00:00
41 lines
2167 bytes
Dumb question, but are you using netdate to set your clock?  I know we had
a problem on our system where netdate took a time from another machine on
the net that for some reason was set to 1/23/2038.  Totally messed up a
bunch of our scripts.

	Good Luck

		Dan

Sean Stoner (seans@hypercon.com) wrote:
: I am running a news server (inn 1.4) on a linux box running 1.2.1, and 
: everything seems to run smoothly, until I come into the office one morning, 
: and the machine is locked solid, with the drive light on solid. Upon reboot, 
: the fsck process takes a while, and then upon doing a date command, the clock 
: is several hours off. The machine's last syslog entry before the downage is 
: about 1 am, which is probably correct, and upon login at about 2:00 pm, the 
: date command reports 7:45 am! This occurence is now happening on a regular 
: basis. Does anyone have any suggestions, or ideas about why this is happening?

: tia

: sean


: ______________________________________________________________
: #include "sig.h"
: int main(){
:         if (feelingWitty) wittySig();
:         else standardSig();
:         return 0;}
: /*                              Sean
:                                 seans@hypercon.com
: */


--
tbcnet.com - The 815 area's best Commercial Internet Provider. - 
28.8K V.34 all the way.  For info call 815-758-5040.  danh@tbcnet.com
-Check out  http://www.tbcnet.com/linkusage to see a example of SNMP to HTTP.-

Re: clock slows on linux news server
#8896
Author: Sean
Date: Sun, 30 Jun 1996 00:00
38 lines
2075 bytes
seans@hypercon.com (Sean Stoner) wrote:

>I am running a news server (inn 1.4) on a linux box running 1.2.1, and 
>everything seems to run smoothly, until I come into the office one morning, 
>and the machine is locked solid, with the drive light on solid. Upon reboot, 
>the fsck process takes a while, and then upon doing a date command, the clock 
>is several hours off. The machine's last syslog entry before the downage is 
>about 1 am, which is probably correct, and upon login at about 2:00 pm, the 
>date command reports 7:45 am! This occurence is now happening on a regular 
>basis. Does anyone have any suggestions, or ideas about why this is happening?

Just to follow up with more info, This morning, looking at the news
server, it did not appear to lock up. However, the clock is way off.
When I left the office last night at 8:15 pm, the clock on the machine
was correct. Now, it's 3 pm, and the clock on the machine is 9:30 am!
I'm not sure then if the clock stopping/slowing has anything to do
with the lock up, since it didn't lock up this time. Just thought this
might narrow down the cause . . Please help me if you can.

tia

sean



______________________________________________________________
#include "sig.h"
int main(){
        if (feelingWitty) wittySig();
        else standardSig();
        return 0;}
/*                              Sean
                                seans@hypercon.com
*/


Re: clock slows on linux news server
#8913
Author: Ingo Schneider
Date: Mon, 01 Jul 1996 00:00
33 lines
2192 bytes
Sean Stoner wrote:
> 
> I am running a news server (inn 1.4) on a linux box running 1.2.1, and
> everything seems to run smoothly, until I come into the office one morning,
> and the machine is locked solid, with the drive light on solid. Upon reboot,
> the fsck process takes a while, and then upon doing a date command, the clock
> is several hours off. The machine's last syslog entry before the downage is
> about 1 am, which is probably correct, and upon login at about 2:00 pm, the
> date command reports 7:45 am! This occurence is now happening on a regular
> basis. Does anyone have any suggestions, or ideas about why this is happening?

Another possibilty is, if your System has power-management,
that it is going into the suspend mode for several hours.
Because the system clock is switched off during the suspend,
the linux-internal time stands still !!

If this is an possible cause for your problem, try to recompile
your kernel with apm support enabled, which will set the clock
from the CMOS clock (which is not affected by PM) after the system exits from
suspend mode.

Ingo.



-- 
-----------------------------------------------------------------------
Ingo Schneider                 Ingo.Schneider@informatik.tu-muenchen.de
                   URL: http://www.informatik.tu-muenchen.de/~schneidi/
-----------------------------------------------------------------------

Re: clock slows on linux news server
#8920
Author: Iain Lea
Date: Mon, 01 Jul 1996 00:00
28 lines
2158 bytes
seans@hypercon.com (Sean) wrote:
: seans@hypercon.com (Sean Stoner) wrote:
: >I am running a news server (inn 1.4) on a linux box running 1.2.1, and 
: >everything seems to run smoothly, until I come into the office one morning, 
: >and the machine is locked solid, with the drive light on solid. Upon reboot, 
: >the fsck process takes a while, and then upon doing a date command, the clock 
: >is several hours off. The machine's last syslog entry before the downage is 
: >about 1 am, which is probably correct, and upon login at about 2:00 pm, the 
: >date command reports 7:45 am! This occurence is now happening on a regular 
: >basis. Does anyone have any suggestions, or ideas about why this is happening?
: 
: Just to follow up with more info, This morning, looking at the news
: server, it did not appear to lock up. However, the clock is way off.
: When I left the office last night at 8:15 pm, the clock on the machine
: was correct. Now, it's 3 pm, and the clock on the machine is 9:30 am!
: I'm not sure then if the clock stopping/slowing has anything to do
: with the lock up, since it didn't lock up this time. Just thought this
: might narrow down the cause . . Please help me if you can.

Install xntp-3.5f and get the clock info from a NTP server. Did it here
as our PC's hold rotten time. Works great.

-- 
Iain Lea                                            DS 83, SBS GmbH., Germany
iain@sbs.de             <http://www.sbs.de/~iain>            +49 911 978 3120

Re: clock slows on linux news server
#8936
Author: 1LT Robert Kulagowski
Date: Mon, 01 Jul 1996 00:00
23 lines
1754 bytes
In article <4r4rjb$cbe@news.tbcnet.com>,
Daniel W. Halverson <danh@tbc1.tbcnet.com> wrote:
>Dumb question, but are you using netdate to set your clock?  I know we had
>a problem on our system where netdate took a time from another machine on
>the net that for some reason was set to 1/23/2038.  Totally messed up a
>bunch of our scripts.

	Ran into the same problem here, and I was using the Atomic clocks
over at the Naval Observatory as my time base.  Imagine my confusion when I
came in one morning and found my system time set to the year 2038!
	For a minute I thought I had a for sure article for comp.risks -
turns out that I was trying to synchronize netdate using the two clocks they
run: tick.usno.navy.mil and tock.usno.navy.mil.  For some reason, tick was
allowing connections to the clock port but tock wasn't.  netdate got
confused and set the time for 2038.
	Lesson learned, I guess.

-- 
1LT Bob Kulagowski                     | GMT 011-965-487-8822 x5221 (Comm)
http://www.kuwait.army.mil/~rkulagow   | + 3 318-438-5221 (DSN) 318-222-3301

Re: clock slows on linux news server
#9072
Author: John Henders
Date: Sat, 06 Jul 1996 00:00
17 lines
1262 bytes
In <4r8tl4$8b8@emh3.kuwait.army.mil> rkulagow@emh3.kuwait.army.mil (1LT Robert Kulagowski) writes:

>...  For some reason, tick was
>allowing connections to the clock port but tock wasn't.  netdate got
>confused and set the time for 2038.

Netdate works better if you give it at least three servers to compare
against, then it will throw out any time that's completely out of line.

-- 
      Artificial Intelligence stands no chance against Natural Stupidity.
                GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
                     b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*


Re: clock slows on linux news server
#9112
Author: Alan Brown
Date: Mon, 08 Jul 1996 00:00
27 lines
1795 bytes
In article <4r4rjb$cbe@news.tbcnet.com>,
Daniel W. Halverson <danh@tbc1.tbcnet.com> wrote:
>Dumb question, but are you using netdate to set your clock?  I know we had
>a problem on our system where netdate took a time from another machine on
>the net that for some reason was set to 1/23/2038.  Totally messed up a
>bunch of our scripts.

This happens if the machine you're setting netdate off of is refusing 
connections on the time port. It's a netdate bug which has bitten me
a couple times and resulted in totally erased news spools.

Usually it's because the machine is in a bootup phase or someone has
disabled time in /etc/inetd.conf. FWIW I always disable the "test" ports
on machines I'm setting up as they can be used for quite nasty
denial-of-service attacks. 

I should get ntp running and use that instead as I have ntp running on 
our gateway router synchronised to 3 stratum 2 clocks. 

AB

-- 
"...pending my interrogation and stuck for an excuse, I came up with 
    two more variations on pastry abuse..."

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads