LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   noticing some "FAILED"'s happening on shutdown.. (https://www.linuxquestions.org/questions/linux-software-2/noticing-some-failed-s-happening-on-shutdown-60049/)

mipia 05-16-2003 01:01 AM

noticing some "FAILED"'s happening on shutdown..
 
I noticed just recently that there where some FAILED messages showing up on shutdown in my rehat 8 system. I cant remember them all off hand but I remember one having to do with something similar to "LDP" (?).
I'd go back to check again , but Im a bit afraid to restart my system again.

Also noticing that I cannot install rpm's in X anymore. The window pops up for the 'checking dependencies' dialogue, but when the scroll bar gets about half way through the process the window just closes and the rpm doesnt install.

Are there any general commands I can run in term to see if there are any errors that I should be aware of? Something similar to a scandisk sort of thing? Or some kind of debugger?

Everything was fine until I reboted my machine. Just need to be pointed in some sort of general direction.

Thanks for the help!

unSpawn 05-16-2003 06:14 AM

Welcome to Linuxquestions.org Mipia,

You shouldn't need to be afraid to reboot, Linux doesn't do spontaneous selfdestruction :-]

About logging. In general there's two ways of logging: to the screen and to files (and the one doesn't exclude the other). The actual logging is done by a program called syslog. Syslog will run until shutdown. So chances are some of the errors you saw will be in the (plaintext) file /var/log/messages. Read it using your favourite editor or in an Xterm run "less /var/log/messages".

If you are not able to install rpm's in X, you could fall back to using a terminal window like Xterm (or Konsole or whatever you are familiar with).
Start with logging enabling logging: "script install.log".
Any messages displayed on screen are now also in the file called "install.log", which you can reread or post parts of if necessary.
Now you will need to check if you've got the dependencies in place. If you haven't, install those first.
There are at least two ways to show dependencies. One is listing them for the rpm: "rpm -q -R -p <rpmfile>" , another is just test-installing the rpm: "rpm -ivh --test <rpmfile>" or test upgrading it from a previous version: "rpm -Uvh --test <rpmfile>".
If the test succeeded without errors, remove the "--test" flag from the commands to install/upgrade.
Another way to upgrade rpm's is to use the Red Hat Network up2date service, but you need to apply for an account (basically free) first. Up2date will handle downloading and installing (most) dependencies as well.

When you're done testing/installing/upgrading, type "exit" to get out of your script session. Reread or save the text file "install.log" if necessary.


All times are GMT -5. The time now is 03:48 AM.