General :: Tool To Show In Logs When System Panicked Restarted Unscheduled?
Jan 5, 2011
I have it at lot that when a system crashes fatally and restarts (due to a power outage, kernel panic, tripping over a cord or something), there is no mention of it in the log. It just shows that the system was started. Is there a tool that will show this in the log? With a message like "system was not shut down properly or had a fatal crash / kernel panic" when restarting? It is pretty easy to do, just have a lock file somewhere that is removed when the system shuts down gracefully and that is left when it is not. And mechanism that checks this when starting up. It would also be possible to tell when the crash occured, as you can update the lock file from time to time and when the systems dies, it cannot anymore.
I have no idea how I did it. All of a sudden I couldn't access synaptic so I restarted my system and the login screen wouldn't show up. I tried dpkg --configure -a and sudo apt-get install -f. I can't access my system at all.
Is there a system admin tool for RHEL on montioring and logging system memory used and released that can dump to a log file?I'm having an issue with memory not being released when an application is closed. I need to have a tool monitor and log so I can troubleshoot to verify that it's an application not the OS.
I'm running Ubuntu 9.10 in a dual boot alongside Windows vista on an HP DV6000 laptop.It's been running smoothly for months. No problems.Today, I was in Ubuntu, and the Update Manager asked me to update (ok) and then said it needed to restart. I hit the restart now button and the system started to shut down, but never fully shut down. It's in a kind of loop, trying to start up, but not going all the way, and then shuts down again.I did a hard reboot but still nothing - the same loop. I don't even see my HP startup screen, nor can I access the BIOS, much less Grub.I put in the Ubuntu startup CD and it tries to read from that at startup, but then fails and returns to the same loop.
I have my router configured so that it drops outgoing telnet connections (and other protocols I don't use). It's a 2wire gateway. 192.168.1.65 is the internal IP of my ubuntu box.I'm trying to figure out what normal network traffic looks like and whether I should be worried by this log entry. At the time this happened I was testing out TOR (just navigating to a few sites (dell, ubuntu forums, etc.) nothing all that interesting.)
I'm trying to get wireless working in F10. Using pci wireless card with Atheros chipset. To be sure, I tested this hardware with a PCLinuxOS Live CD. Connects to AP perfectly.
Hardware drivers seem all OK in F10, and ifconfig shows wlan0 as expected. When I use the Wireless-Assistant 0.5.7 there's no connection.
Actually, the AP logs show numerous connections and disconnections.
Preferring CLI, I'm using a drop-dead simple wpa_supplicant.conf as follows :
Should Ipost some debugging output from wpa_supplicant -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -d
As I walked in my office this morning, before getting withing 5 feet of my computer, the computer started an unscheduled auto reboot but failed. After hard reset, unplugging, etc., it will still not boot off of primary system. Used Live disk of previous Ubuntu to gain access to system. Found bug#407862 regarding 'rsyslogd was HUPed' but don't know what that has to do with this specific problem. [URL]. The initial error message on screen was something like "no system disk. Insert system disk and press enter", as if I had a non-bootable CDROM inserted, but there was nothing like that.
/var/log/syslog says this: Nov 30 07:59:05 my-computer-name rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="908" x-info= URL] rsyslogd was HUPed, type 'lightweight'. Nov 30 07:59:05 my-computer-name anacron[5755]: Job `cron.daily' terminated Nov 30 07:59:05 my-computer-name anacron[5755]: Normal exit (1 job run) Nov 30 08:00:01 my-computer-name CRON[6028]: (www-data) CMD (test -x /usr/bin/php && /usr/bin/php -q /usr/share/horde3/scripts/alarms.php > /dev/null 2>&1)
Hundreds of previous syslog entries contain the following line: Nov 30 08:00:01 my-computer-name CRON[6028]: (www-data) CMD (test -x /usr/bin/php && /usr/bin/php -q /usr/share/horde3/scripts/alarms.php > /dev/null 2>&1)
I have a dual boot Acer Aspire One, after reinstalling Windows back to "original factory", the way it was straight out of the box, it now will not boot up at all. It goes to the Windows start screen goes blank, and loops there infinitely. Is there a USB tool I can use to figure out what went wrong and recover either my Windows or Linux partition with out having to do a complete reinstall?
I have a friend that tried to change her user password on Windows, and now can't log in to her account. Of course it's the only user account on the computer. Are there system recovery tools on any Linux liveCDs that could change the passwords of Windows user account?
If I have three (3) servers that are suppoed to be configured exactly alike, is there a tool or set of scripts that I can use to capture the information and do a system level comparison?
I have been running Gnome 3 for a few days now and really like it, but need to tweak it to my liking, basically to an overall darker theme. Something similar to this is what I am shooting for: I have figured out how to do the shell themes (top bar, dock, etc) but I am having problems with the window manager themes (window title bars, window backgrounds, etc). Using the Gnome-Tweak_Tool, I can apply the pre-installed ones, but I am at a loss as to how I add new ones. I have tried adding themes to ~/.themes, and /usr/share/gnome-shell/themes, but I am unable to get them to show up to be usable in the tweak tool. I am comfortable using the command line and/or editing configuration files if that is the only way.
I have downloaded the ISO onto a DVD-RW and when i pop it into my Acer laptop it works and shows that there are 34 files but when i put it into my gateway laptop it doesn't read it and nothing is showing up on the CD?
I sshed to a server a week ago, then ran *screen* and created a few windows in my screen session. I then ran a few programs on those screens. All the programs were running in the background (I run them with &). I did not close or detach from the screen sessions. So I was still connected to those screen sessions from my client machine.
Then, this morning I find my client machine rebooted. When I do screen -ls I find there are no screens available to reattach to. But that is not the worst part. The strange thing is that all my processes (which were running on the server) have disappeared as well, even though they were running in the background. I thought 1) using screen I will be able to re-attach to old screens when my client restarts, 2) If I have sshed to a server and have run programs in the background, restarting the client should not stop those programs (even if I had not used screen).
I currently run kernel 2.6.34.7-66.fc13.i686 (sort of). When I select from the Gnome menu System -> Shutdown and select Shutdown from the dialog, my system only logs out, presenting me with the greeting screen. While this is a minor problem and I rarely shutdown my machine, it is mildly disconcerting.I have dropped back to 2.6.34.7-63.fc13.i686 and that shutdowns properly using this method. (Also, 2.6.34.7-61.fc13.i686 works properly). I can imagine that it might close some security issue in which an unauthorized user is able to halt the entire machine. Especially if this is something that will continue in future releases of the kernel.
Well it turns out my system has logged out more then once on its own. I had the system updated and upgraded from 7-3-11 and it did this about once a week. On 7-18-11 I did a full update and upgrade and it logged out a few times in a couple of hours. It does it while I am away and the system is in screen saver mode. I used my partition clone and restored the system back to 7-3-11. Has any one else ever had such an issue?
Is there any way to check an Ubuntu system for user logons or uptime that date back 1-2 months from the present day? I tried 'last' but it only seems to date back to Dec 02. I also had a look in System Log Viewer, but couldn't find any records going back far enough.
When i open some video on the net, the system logs out (especially when i open ..... video). I suspect its flash (current version is 10.02). Is there any way how to fix this? Or how to downgrade to minor version.
Another thing as well. By default i have GNOME version. Just installed the KDE full package from synpatic. when i try to log in with kde manager same like the flash, it logs me out to welcome screen.
We have a backup program that works with HP's ultrium tapes that whenever it's failing it's sending an error to the root's system logs. Now if I run mutt as root I can see the system logs and it's very easy to pinpoint any backup error messages. Is there any way to copy all these system messages to another user as well so that someone with no root access could run mutt as well and check for these logs daily?