Red Hat :: Uptime Dropped Dramatically But No Reboot Logged Anywhere?
Apr 22, 2010This is an observation of something that I can't explain. Its not a problem in itself.
[Code]...
This is an observation of something that I can't explain. Its not a problem in itself.
[Code]...
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?
View 2 Replies View RelatedI 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.
View 1 Replies View RelatedHow can init process uptime be longer than the uptime of whole system?
Code:
martin@server:~> ps -p 1 -o pid,cmd,bsdtime,start
PID CMD TIME STARTED
1 init [3] 20:50 Mar 05
martin@server:~> uptime
2:23pm up 559 days 1:42, 10 users, load average: 0.18, 0.28, 0.34
martin@server:~>
How come you can shut down or reboot from the gui w/o needing root privelages, but if I enter "shutdown -h now" on the command line I am met with "shutdown: Need to be root".
Also- somewhat unrelated to my first question- I recall when I first started Ubuntu-ing, if I wanted to shut down or reboot while another user was logged in, I'd need to enter my password- but it doesn't do that anymore. Two users can be logged in with multiple applications open, and if I reboot or shutdown, it just goes for it? (using 9.04, for now...)
How can I (as admin) find out when a certain user e.g. "karl" most recently logged in and most recently logged out of a system?
View 2 Replies View Relatedlogging 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
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?
View 2 Replies View RelatedThis 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?
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?
View 4 Replies View Relatedlanguage: 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..
View 10 Replies View RelatedI 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.
View 5 Replies View RelatedI'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)."
View 1 Replies View RelatedIt 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.
View 9 Replies View RelatedHave Lucid installed on an Acer laptop. With an external keyboard plugged into a USB hub, then into the laptop, I have been losing the first character typed, sometimes. Most of the time it is OK, but it happens many times in an hour. If I am typing right along, no drops. Only the first character I enter is missing. Most of the time it is firefox I am typing into, but not always. My use of this machine is largely online, so probably that is coincidental.
This problem I have never seen before Lucid - I don't remember it in the beta ether, but I didn't run that too much.Versions 9.04 and before were OK (couldn't use 9.10 for other reasons).
My wireless connection keeps getting dropped very frequently. I am on a Dell XPS m1530 and I will just be on the interent and it just disconnects from wireless and I have to connect back. It is super annoying. I am on the latest version of ubuntu.
View 4 Replies View Relatedmy laptop running 10.10 and a dell. the college is witch i attend's unsecured wireless network keep disconnecting me from every on average 45 minutes to an hour ands will not re connect for about 10-15 minutes. it works fine anywhere else i go but here i get dropped.
View 1 Replies View RelatedOne of our RHEL 5.3 servers has trouble about 30% of the time with TCP-based communications, but it does not seem to be firewall issues. From another computer on the same switch, you can SSH to the server sometimes and other times the SSH command will just hang. When it hangs, you can often just Ctrl+C and try it again and it works. Same with HTTP connections. You'll get part of a web page and then FireFox will just hang waiting for the rest and eventually time out. Same goes for communication initiated FROM the server. SSH'ing from the server to any outside server or connecting to any web site works sometimes, but most times not. iptables if off. No other firewalls are running. Tcpdump shows communication gets so far and then stops. It does not matter whether tou run tcpdump on that server or the client connecting to it. Either way you see the connection stops working. MEANWHILE, pinging with small or large packets works flawlessly. 10,000 packets, zero drops.
View 5 Replies View RelatedI've recently installed Ubunter 9.10 Server Edition to use as a NAT firewall for the lab I run. I'm using iptables to do NAT forwarding and everything works great except that, occasionally, connections seem to break. Ssh connections close with "Connection reset by peer" and HTTP connections just stall out.I believe this has to do with the firewall's internal network interface occasionally dropping packets.
View 2 Replies View RelatedI have question regarding netstat? When performing a "netstat -s" I receive the following information regarding dropped packets under IP:
IP:
93978695 total packets received
0 forwarded
0 incoming packets discarded
79472157 incoming packets delivered
65235033 requests sent out
29527 outgoing packets dropped
However if I run a "netstat -i" I have no dropped packets whatsoever: (apologies for the table format):
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
bond0 1500 0 34326528 0 0 0 72755307 0 0 0 BMmRU
bond0:1 1500 0 - no statistics available - BMmRU
bond1 1500 0 28605491 0 0 0 20948952 0 0 0 BMmRU
eth0 1500 0 34199550 0 0 0 72755278 0 0 0 BMsRU
eth1 1500 0 126978 0 0 0 29 0 0 0 BMsRU
eth2 1500 0 97911 0 0 0 1 0 0 0 BMsRU
eth3 1500 0 28507580 0 0 0 20948951 0 0 0 BMsRU
lo 16436 0 34094225 0 0 0 34094225 0 0 0 LRU
We do NOT support samba on our Unbuntu servers but still zillions of windows machines are constantly trying to connect on the SMB ports. I've added a rule that drops access to destination ports 137-138 and that seems to work. But it creates many many log entries documenting that the packet has been dropped. I've been researching and cannot come up with a way to suppress logging for these drops.
View 4 Replies View RelatedI recently tried to upgrade my Slackware server's sendmail software from 8.14.3 to 8.14.4 and ran into a problem. In a nutshell all outbound non local mail is routed through a smart host requiring authentication. As a result I use a modified version of the "sendmail-slackware-tls-sasl-clamav.mc" to build the sendmail.cf. However, when I tried to run sendmail 8.14.4 with my newly created sendmail.cf I was greeted with the following.
Warning: Option: AuthMechanisms requires SASL support (-DSASL)
Warning: Option: AuthOptions requires SASL support (-DSASL)
Warning: Option: CACertPath requires TLS support
Warning: Option: CACertFile requires TLS support
[Code]....
Apparently SSLv2 is now considered weak and the directive is a good idea, but at present this directive is not supported by the sendmail in this package.
I'm new to Debian and I have just installed it on three machines. To begin with they checked about 60 or so repos when doing an update. Then quite quickly this dropped to 48. I have removed the DVD media from the sources list after installation but that was before I saw this drop. It happened after an update as far as I can tell. I didn't think anything of it at the time. By the time all three were set up they were all only checking 48 repos. However I also have a VM, for trying out new stuff, and whilst that has been updated it still remains at about 60 (currently 59).
[Code]...
in KDE:Factory:Desktop you can find a new version of kupdateapplet. In the changes you can find the following:
- dropped zypp plugin (bnc: 590192)
- V 0.9.11
I have no access to 590192 in bugzilla, so can anybody tell me why the only real working backend is dropped? The PackageKit-Backend is not showing the updates from 3rd-party-repositories (packman or obs). Is there any possibility to get back the working 0.9.10?
I am using ubuntu 9.10. Configuring my firewall using guarddog. I have setup a rule to allow traffic OUT on port 7078 UDP, and just because i'm having problems i added an IN rule.
# Create the filter chains
# Create chain to filter traffic going from 'Internet' to 'Local'
ipchains -N f0to1
[code]....
I just purchased a shiny new LG 10x BD-ROM Combo drive. I installed it without problems. The rest of my system consists of:
MSI k9a2 platinum mobo
AMD Phenom 9950
3x SATA HDD
nvidia gtx260
That's probably everything pertinent. I have the SATA HDDs installed on SATA ports 1, 3, 4 (not the promise slots, 5 & 6), and the BD-ROM installed on SATA 2. I don't think that's an issue, though. I did replace a working sony opiartic (sp?) DVD-RW, so I don't suspect any cable issues (for that and for other reasons).
note: "restart" = "reboot via restart", as opposed to power down & turn back on.
1. I turn on the power. BIOS posts that it sees the BD-ROM in the SATA 2 spot.
2. I boot into Ubuntu 9.10 (updated with the latest x.20 kernel). It does take a little longer than usual to load between the grub menu and the login.
3. After login, the device shows up as cdrom0 in the "Places" menu. Clicking on it returns an error whether a disc is in the drive or not. At this point, however, the open/close button on the drive no longer works. Its as if it's lost all power or connection or something.
4. When I restart, BIOS hangs a while while posting. It shows only devices on SATA ports 1, 3, & 4. It's as if the BD-ROM doesn't exist anymore.
[code]...
lspci and lspci -vvnn show nothing... well, technically they show everything BUT the drive. I'm planning on purchasing a second BD-ROM (different manufacturer, if I can help it), to test later, but I don't have high hopes. It could be a motherboard issue, I suppose, but updating the BIOS from 1.4 to the latest version (1.9) solved nothing. I don't suspect it's the hardware, though, since it works fine in Win7. I imagine that the culprit is linux/ubuntu, and I need some help figuring out if this is a fixable problem. I've been really, really happy with Ubuntu and linux in general. Ubuntu is my primary OS, with Win7 as my backup in case of emergencies, but I'm seriously considering wiping linux & using Win7 exclusively altogether with this severe hardware issue.
I've been using my current laptop since Ubuntu Edgy Eft and, since then, I never had any problem with wireless ( Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02) ) Since I upgraded to Lucid, my connection is dropped approximately every 3-4 minutes for 10s. Network-manager doesn't show anything but it is well visible with the netspeed applet that shows a warning sign "No connection" instead of the speed.This is very annoying and frustrating. I recall having seen the same issue in an blog article where the author was talking about his upgrade to lucid. It was just one line and I didn't care a lot at the time and cannot find the article back.
Is there anyone having heard about a possible issue ? (I've upgraded from Karmic when Lucid was still in Beta, so it might be the cause).