Debian :: GNU - Resets It's Uptime Every 497 - 498 - Days
Sep 10, 2010
I've read from some Web-page that GNU/Linux resets it's uptime every 497 (498) days... So even if GNU system works 1000 days, uptime never will be more then 497 (498) days. Is it true?
I was wondering why after a couple of days of my ubuntu server running, that it goes from starting off at 94mb of ram usage all the way up to 498mb of ram usage?
This seems like a nicely populated forum so I hope some knowledgeable people happen to see this thread.
I've been encountering this issue where the system will not respond to seemingly anything after being on for generally no shorter than a day but sometimes as long as three days. This has been going on for few months since I only have physical access to the machine for about a day or two once every two weeks. So I'll come to the machine, reboot it, it will be fine for a day; then about a day after I'm away from it, it will not respond in any way. When I am away from it I only have ssh access, but when I'm with it, I have access to anything and everything.
After it locks up into the silent issue I have tried: ssh either remotely or locally, where it will time outPinging from the local network, where I get "ping: sendto: Host is down" a lot and occasionally a "ping: sendto: Host is down"Plugging in a monitor and keyboard, where the monitor never gets a signal no matter what I do on the keyboard. When it isn't locked up into the silent issue and I plug in the keyboard and monitor, the monitor gets a signal right after I hit the spacebar for sure. After the silent issue triggers it's fans still whir, the power light is on and light on the Ethernet port is on (and turns off if I unplug the Ethernet cable, and back on if I plug it back in) like everything was normal but there is no hard drive or network activity (even after unplugging/replugging the Ethernet cable).
After a reboot, all log files have nothing past a certain time and date, which I assume is the time when the silent issue got triggered. My setup is the following: Debian 5.0 "lenny" on an HP ProLiant ML110 G6Using full disk encryption with ext3 which was all set up by the installerIIRC "core" and "minimal" were selected in tasksel during install. I'm sure about "core", not about "minimal". The programs I have running are apticron, ddclient, sshd, fail2ban, screen, php-cgi (php5-cgi), cherokee (from unstable) and rtorrent (from unstable). I can provide a "ps aux" if necessary. The packages from unstable, that I have all set to Pin-Priority 990 in /etc/apt/preferences, are:
[Code]...
I'm pretty sure I don't have ECC memory so I don't think a lockup from a flipped bit is an issue. I'm thinking one thing to test would be to set up some kind of daemon that sends log info over the network to a logging server and compare the latest timestamps of what the daemon sent versus what the latest info on the disk is, and that would show that the issue is with the encrypted disk since things are still functioning in memory but not able to write to disk. If that's the case then I guess it locks up eventually from not being able to read or write something. Does anyone know of something out there like this? Or perhaps a way to do something similar?
Is there something I could do to determine whether this is caused by maybe some kind of kernel panic or by something like the motherboard having issues?
if I have to reset my system for any reason or even logging out my pavucontrol resets to my built in audio instead of sticking to my HDMI like I want it to.I can manually configure a file I will, I just need to know where to start.I will provide hardware info when asked for it, just need a feeler here.I am running Debian Jessie KDE 64bit
When I logout out of gnome, the brightness reaches maximum level. I've tried adding a script to adjust the directory "/sys/class/backlight/intel_ backlight/ brightness" to the rc.local file. I'm not sure if it has to do with my video card but it certainly could be the case since I'm using an experimental package for the Intel graphics card.
I have a custom .Xmodmap file to change the keyboard layout. The problem is that sometimes the keyboard layout changes back to the default. I have seen the lights on the keyboard blink at times, so I tried unplugging and reconnecting the keyboard and yes - that reset the layout. I can see keyboard removed/detected entries in the logs as well, so I guess my keyboard reconnects sometimes, I don't know why. However the solution from the post earlier (to rename the xmodmap file to ~/.Xmodmap) did not work. So is there another default filename I should use? Or do I have to enable xmodmap to run when a keyboard is plugged in somehow?
The only thing I can think of right now is to monitor /var/log/Xorg.0.log for "Adding input device USB Keyboard" and running xmodmap when that happens... but I'm really hoping for a better solution.If I can't fix the xmodmap problem, maybe I can fix the usb disconnects.I read something about power saving settings for usb. After some digging, I found that those settings are in /sys/bus/usb/devices/.../power/. However, disabling autosuspend for the hub did not seem to work (it was already disabled for the keyboard).
But I found something else in kern.log. Perhaps the keyboard disconnects has something to do with static electricity?
Code: Select all[ 7078.175830] usb 1-10-port3: disabled by hub (EMI?), re-enabling... [ 7078.175888] usb 1-10.3: USB disconnect, device number 4 [ 7078.624349] usb 1-10.3: new full-speed USB device number 6 using xhci_hcd [ 7078.729012] usb 1-10.3: New USB device found, idVendor=04d9, idProduct=0125 [ 7078.729014] usb 1-10.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0 [ 7078.729016] usb 1-10.3: Product: USB Keyboard
when I was entering a sed command, with a back-reference to the scnd set of parenthesis. 2 reset X, or so I though ... I did some experimenting, and lo and behold, I could reproduce the behaviour even on the xdm login screen, when I typed in my sed expression as the name. Not every time, not accurately, but maybe 3 out of 10 times I can reset X by pressing 2 on the numeric row in a quick succession with other keys, and the I at first thought was required to trigger the behavior is not necessary at all. Nothing in the X-log, nothing in ~/.xsession-errors.
I'm annoyed, and as X is quite sizable and spawns a truckload of processes I'm highly reluctant to try and reproduce the behaviour under the control of strace (mind you, since it seems to be "speed" related it maybe wouldn't even occur under strace ;}). I'm running Slack64 13.0 on a Thinkpad R500 with an Intel GMA 4500MHD graphics chipset, can't think of anything else that might be special with this hardware in regards to X.
I added an ext4dev filesystem to my hard drive as /dev/sda3 and mounted at /share with the goal of putting all of my multimedia files on it and sharing it through NFS. I followed this guide: [url]
Of course, this was from lenny (hence the -dev). The partition was fine, and I mounted it numerous times. I also performed a dist-upgrade to squeeze. I shutdown that computer with the usual 'shutdown -h now' and disconnected the AC power cord from it, because I wasn't planning on using that machine for awhile. As far as I could determine, everything was fine before I unplugged it.
Every time that computer is powered off, the clock resets to 1999 because the battery is bad. So I am used to getting the "last mount time is in the future" error.
Three weeks after halting, I powered the computer back on. It was unplugged until this point. I got an error message when it attempted to mount /dev/sda3
I then removed its line from /etc/fstab, rebooted. and tried to check it, but I just keep getting the same error-- even with the '-b 8193' option.
The machine is still using the 2.6.26 kernel from lenny. I am building a new one right now (2.6.30), hoping that the problem is caused by the ext4dev/ext4 module. Otherwise I don't know what to do.
I want Firefox to delete history after several days. Can I configure it this way?"Remember my browser history for at least..." is not the option which does it, right?
I want conky to display holidays on their respective days. I would be using a Catholic calendar. Do I make an .xml file of the dates and feasts? How can that be accomplished?
I want to know if there is a way to know the uptime for a server after a reboot process, I need that information for a statistic, but I forgot to take the uptime before reboot the server, so I am looking for that information after the server is power on.
trying to write a script to gather the uptime of a box and send an email out if the box has died. Problem being that this is hard when `uptime` changed from the format 23:59 to 1 day. Is there a method to just see the uptime in hours or minutes or even seconds?
language: cOs: ubuntu 9.10 want a c or c++ program that gives the system uptime in YYYY: MM: DD HH : MM: SS format.eally it is head ditching..This is not home work or assisgnment..
I know that uptime prints the time a machine has been up and running, but is there an easier (reliable) way to get the date of the start up than counting down from this output?I tried looking around /proc, but didn't find anything of relevance. There's also a line like this on my dmesg: [ 0.673492] rtc_cmos rtc_cmos: setting system clock to 2011-03-14 14:26:52 UTC (1300112812), but I'm wondering if this method is distribution and kernel version agnostic.
I've installed Ubuntu server on a small box with a couple of large hard drives to use as a remote backup server. Since my backups will run nightly in the wee hours, I'm configuring this to use Wake-on-LAN to start the server and run the backup. Once the backup completes - probably on the order of an hour later - another script shuts the server down. Once in a while I'll remote in to update packages and check on the status of the system, though I can check backup logs to insure that is still running.
Need I be concerned about the various cron jobs that periodically run to tidy things up? Should I periodically - say once/month - leave the system up for a full day to make sure that everything that needs to happen will run?
My Linux system was last rebooted few hours ago. But it seems little confusing for me to figure out the exact reason behind it. I guess following command should justify what i meant to say.
Code: # date Wed May 11 13:22:49 IST 2011 # last | grep "May 10" reboot system boot 2.6.18-194.el5 Tue May 10 17:35 (19:46) root pts/1 XXXX Tue May 10 17:24 - 18:18 (00:53)
[Code]...
My question is Why the uptime is saying that the system is up since last 47 min.It should be more than 1 day if i m not wrong.
I know several tools that allow tracking time spend on different tasks / projects.Is there any existing tool for very very simplified work-time-tracking.I am an employee, come to the office, switch on my laptop directly. I have mostly around 1 hr lunchtime, but sometimes less, sometimes more.At around 18:00 I want to type one command in the console (or simple GUI would also be okay of course) that tells me:"1 hour overworked. Go home now! (came at 8:00, 1 hour standard lunch-break)."
It is the strangest thing. I can not receive emails on this server after it has been up for an hour. I noticed that everytime and email is received that a sshd opens but never closes. Causeing a memory issue that I dont know how to fix. Also the mailq grows and grows. Mostly with email stating the recipient and send are both [URL].. also postmaster@mail.jmchd.com shows mail system configuration error. I have to restart the server every 30 minutes so users can get and send emails. This is horrible because for every 5 minutes out of the hour emails are bouncing.i have looked through them but I know not what I am looking at.
PS. I was thrown into the position and have limited knowledge. I am used to a GUI.
I need applet which shows the total data usage (In+out) (of the current session or since the uptime) on the panel.I searched a lot, but everytime I had to click somewhere to see my data usage. I don't want that. I want my data usage displayed regularly on the panel.
for the past 3 months ( since I upgraded to 10.04 TLS ), I am getting random USB mouse resets. The glitch lasts for about 1-2 seconds but is very annoying while I am playing a game. ( it also happens at any given moment, web browsing or just plain idle ).
Here is what I could find in both kern.log and syslog files. Sep 1 17:36:18 homebox kernel: [17561.172517] usb 3-3: reset low speed USB device using ohci_hcd and address 2
I installed today's set of updates in CentOS 5.3, and now every time I start an some applications, X resets and I am logged out.I would appreciate any tips on diagnosing this problem.
I'm using Gnome and OpenSUSE 11.2, and my keyboard layout changes USA from Finland every time I reboot my pc. I have to delete USA-layout from keyboard preferences every time after reboot.
I done searches for "clock" and found similar threads, but no real fix that is working for me. My clock resets when I boot into linux. It does not happen in windows or bios even on cold boots. The battery is replaced and good** the old battery was by all measures dead (0.6v), but still seemed to have enough power for the clock, since windows tested fine with it.
I have tryed setting it to local time, UTC.. etc... My timezone is GMT (london). "sudo /sbin/hwclock --systohc" Although I have windows, I do not use it except the few times to test this, so no conflict.
I have a Geforce GTX 460 GPU and I recently switched from Ubuntu to Suse 11 and I have installed the latest Nvidia drivers (the same as I had on Ubuntu) In Ubuntu I had configured the xserver to display my desktop on my LCD monitor and my LED TV as clones and everything worked fine When I change the settings in Suse everything works fine until I restart the Xserver. All my settings disappear and everything is back to the standard settings again. It doesn't seem to make any difference whether I have root privileges or not, and I have tried saving to etc/X11/xorg.conf., etc/X11/xorg.conf.install, etc/X11/xorg.conf.backup but each time I reboot everything is back to the default settings again. In Ubuntu I just saved the new settings to etc/X11/xorg.conf. and restarted the Xserver and all was fine.
Here is a copy of what I saved to the X config file:
# nvidia-settings: X configuration file generated by nvidia-settings # nvidia-settings: version 270.41.06 (buildmeister@swio-display-x86-rhel47-07.nvidia.com) Mon Apr 18 15:15:00 PDT 2011 Section "ServerLayout"
[code].....
ERROR: Invalid display device DFP-2 specified on line 56 of configuration file '/root/.nvidia-settings-rc'(the currently enabled display devices are DFP-0 on linux-c0rf:0.0). and all the settings are defaulted
I'm actually using two keyboard layouts: Lam and Rus (Spanish Latin America and Phonetic Russian) but everytime I restart or turn on my computer, the russian layout changes and shifts into another, although spanish layout still works fine. How can I fix this? This is: What can I do to use both layouts even restarting my computer? Note: Latin American layout works fine after restart. I'm using Ubuntu 8.04 LTS
auto lo iface lo inet loopback auto seth0 iface seth0 inet static
[code]....
Restart networking:
"sudo /etc/init.d/networking restart"
Everything is fine but 24 hours later the server resets to the DHCP address assigned to it. I have not installed any GUI im just running Ubuntu 10.04 LTS in Hyper V. After it resets to DHCP I log into it using the dhcp address and reset the networking service "sudo /etc/init.d/networking restart". It goes back to the static IP specified in interfaces. I have rebooted several times but every 24 hours it resets.
BTW - Before someone asks about iface seth0 instead of it being iface eth0. It is a Hyper V module running.[URL]