Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why do you think the uptime shown is wrong? The second one I can see, especially if it's after a reboot, but what's wrong with the first one?
Well, I don't know why it is displaying the wrong uptime, but don't you think that a server uptime of more than 11 years (4202 days) would be rather astonishing, especially after a reboot?
There are Windows NT servers with very very long uptime. What does that prove? That those WinNT servers are not doing any demanding work. They just sit there and do small things, like file server, printer server, etc. I can boot an MS-DOS computer and just let it sit there for 20 years, without connection to internet. Does that prove that MS-DOS is the most stable OS out there? No. The interesting thing is, what did those servers do? Are they doing any thing non-trivial, or just sit there and idling?
I think OpenVMS servers have the best uptime, they measure in decades. After that, Unix (AIX, Solaris, HP-UX). After that, Linux. After that, Windows. Now I am talking about non trivial server tasks. Not trivial server tasks.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by chetan_linux
I am facing issue with uptime. Two of my servers are showing wrong uptime, i tried re-boot also but no effect
Unless either you last reboot them on Jan 01 2000 or your system clock has been set to Jan 4 2023, I would say the /var/adm/wtmpx file has been corrupted on both of these servers. Should you want to see its content in clear text, you can convert it to ascii with this command:
Could be that the system battery is shot and needs replacing. When rebooted, the system is losing it's time, reverting to 1999. Then during boot it's time is updated by NTP, jumping from 1999 to 2011.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.