LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-16-2003, 02:01 AM   #1
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
Unhappy 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!
 
Old 05-16-2003, 07:14 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"shutdown" and "halt" symlinks: poweroff, reboot. sud_crow Linux From Scratch 11 10-18-2006 12:03 AM
Please help on "Mplayer plugin" failed when using "Make" Blue Jacket Linux - Software 9 10-20-2005 03:29 AM
"Failed to load module "i915"" Kane635 Linux - Software 0 11-22-2004 09:17 PM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 10:00 PM
Removing "shutdown" and "reboot" in logout window nearfar Red Hat 1 10-07-2003 12:33 PM


All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration