LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-08-2004, 08:23 AM   #1
cvanbrederode
LQ Newbie
 
Registered: Jan 2004
Location: Glen Rock, PA
Distribution: Red Hat Enterprise Linux 5
Posts: 21

Rep: Reputation: 15
Angry redhat 9.0 unbootable /proc not mounted


I have a rh9 install at work, get it set up for a server. today i came in an logged in remote with ssh from my desk. first problem was when I logged on, I got 4 or 5 errors from bash, saying /dev/null permission denied. Also got 2 of these errors when trying to start mozilla (tunnelled), but was able to run mozilla as root. I tried a reboot (10+ years of Microsquish training at work), and come up with /dev/null read only at boot. I enter the rescue prompt, and try to run fsck, but am told that /proc is not mounted. I booted from cd into rescue mode, chrooted the file system, and fsck, but it did not fix the problem. Niether did chmod /dev/null 777. The final error in boot is as follows:

awk: cmd. line:2: fata: cannot open file '/proc/mounts'/ fro reading (no such file or directory)
Checking root filesystem
dup2: Bad file descriptor [FAILDED]


thanks for any help, we have been using this box for our cvs, would not like to lose a weeks worth of work.
 
Old 01-08-2004, 12:16 PM   #2
thebell
LQ Newbie
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
Check your fstab. Is there a line that looks like this?
Code:
none                    /proc           proc            defaults                0 0
If not, try adding that line to get /proc to mount at boot time.
 
Old 01-08-2004, 12:20 PM   #3
cvanbrederode
LQ Newbie
 
Registered: Jan 2004
Location: Glen Rock, PA
Distribution: Red Hat Enterprise Linux 5
Posts: 21

Original Poster
Rep: Reputation: 15
yes there is, the fstab is as follows:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

I have the HD in M$ machine, save what we need off it. Actually, this is a lightweight box, we are using as a learning experience before we get the actual server. It turns out that this machine (actually the whole batch it was in) have various h/w problems. This is prob due to a failure somewhere in the HD.

thanks for the help
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Correlation between /proc/devices and /proc/modules ColinLadyka Linux - General 1 02-13-2006 05:25 PM
proc and devpts mounted? shanenin Linux - Software 1 07-26-2005 06:25 PM
Enabling a proc under RedHat 3 AS and more... pflorent Linux - Hardware 0 01-12-2005 02:18 AM
Redhat exported NFS; mounted on AIX dochs Red Hat 0 10-28-2004 04:02 PM
Redhat 7.2 PLIP - no /proc/parport slthytove Linux - Software 0 02-06-2002 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:41 PM.

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
Open Source Consulting | Domain Registration