UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 11th, 2005, 12:27 AM
calvinscy calvinscy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: Kuala Lumpur, Malaysia
Posts: 77 calvinscy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 50 m 9 sec
Reputation Power: 4
What is "clock skew detected"?

When compiling ("make" command) apache on Solaris 8, Sun Sparc. I get this message "clock skew detected".

What is this message mean?

Reply With Quote
  #2  
Old July 11th, 2005, 02:09 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
Originally Posted by calvinscy
When compiling ("make" command) apache on Solaris 8, Sun Sparc. I get this message "clock skew detected".

What is this message mean?

It means that the "make" program detected that a file's timestamp seems to be in the future.
This can happen if
- You change the time during compiling, commonly in a cronjob using netdate. Run ntpd instead.
- You are using NFS and your client's clock is not synchronized with the server's. Run ntpd.
- Certain OSs/Filesystems only have an accuracy of two seconds, e.g. FAT filesystems. Don't know about Solaris though. No solution that I know of.

Run a "make clean" before "make" to remove files that may have future timestamps.

There may be other reasons, but I think you can safely ignore the message.

M.

PS: Moved to unix forums.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old July 11th, 2005, 03:24 AM
calvinscy calvinscy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Location: Kuala Lumpur, Malaysia
Posts: 77 calvinscy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 50 m 9 sec
Reputation Power: 4
Quote:
Originally Posted by M.Hirsch
It means that the "make" program detected that a file's timestamp seems to be in the future.


Hmm... file timestamp in the future.....

I just checked my Sun system, the system date appear to be May 2004...... Is it possible the system date cause this problem?

Although I can ignore this message, but I wish I could change the system date. How to change system date in unix or x-11.

Reply With Quote
  #4  
Old July 11th, 2005, 03:47 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
Originally Posted by calvinscy
I just checked my Sun system, the system date appear to be May 2004...... Is it possible the system date cause this problem?

There you go

Quote:
Although I can ignore this message, but I wish I could change the system date. How to change system date in unix or x-11.

Login as root in a terminal. Check "man date" for the correct format, I don't know about Solaris. Something like "date -s 20050711" but the format depends on your system and maybe also the locale.

Since your system clock is far in the past, you can use "date" this time to set it correctly. But for future reference, always use "ntpd". ntpd will not make the date/time jump suddenly because this leads to more confusion. Instead, it will slow down or accelerate the clock, thus keeping log-files and such as valid as possible.

M.
Comments on this post
calvinscy agrees: Good advice! One shot one kill!!

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > What is "clock skew detected"?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway