Solved

How to rebuild proc file system

Posted on 2006-06-24
5
1,128 Views
Last Modified: 2013-12-16
Is there any possibility to rebuild proc file system ?
0
Comment
Question by:raghuni
  • 2
  • 2
5 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 16974821
You shouldn't need to! the only thing that you require from a RHEL setup as far as I'm aware is that the directory:

/proc

is created. Everything else 'appears' as a result of the kernel and other programs that are running.

Can you provide more details relating to this problem and what is 'missing'?
0
 

Author Comment

by:raghuni
ID: 16975017
But what about prior versions to the RHEL i.e redhat 9 and prior to that ?
I am getting the following error message while i am booting my machine.

/etc/rc.d/rc.sysinit line 70 35 Segmentation Fault
LC_ALL=C grep -g

/etc/rc.d/rc.sysinit line 98 41 segmentation fault

LC_ALL=C grep -g /initrd /proc/mount


/proc/device 2>/dev/null

Welcome to /etc/rc.d/rc.synsinit: line 70: 35
Segmentation fault LC_ALL=C grep
-q "Red Hat" /etc/redhat-release Red Hat Linux
Press 'I' to enter interactive startup.
Mounting proc filesystem: [failed]
/etc/rc.d/rc.sysinit: line 90: 42 Segmantation fault
LC_ALL=C grep -q .initrd
/proc/mounts
Confuguring kernel parameters: Error: /proc must ve
mounted
To mount /proc at boot you need an /etcfstab line
like:
/proc /proc proc defaults
In the meantime, mount /proc /proc -t proc
[failed]
Setting clock (localtime): Fi Jan 23 09:06:35 MST 2004
[ ok ]
Loading default keymap (us): [ ok ]
Setting hosname mgserver.net: [ ok ]
/etc/rc,d/rc.sysinit: line 182: 65 Segmentation fault
LC-ALL=C grep -iq"nousb"
/proc/cmdline 2>/dec/null
/etc/rc,d/rc.sysinit: line 182: 67 Segmentation fault
LC-ALL=C grep -q"usb"
/proc/devices 2>/dev null
====================================================================
For this i already found some solutions in this community. But, they are not giving 100% solutions it seems. So, i would like to rebuild my proc system.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 16976572
simple question, simple answer: renoot
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 125 total points
ID: 16976595
The Segmentation faults imply that you've got disk corruption. Dack up all important data, and then start trying to repair.

With respect to the /proc dir, Only th /proc directory has to exist, and as is announced in your boot messages, this is mounted by the /etc/fstab file. Everything else is created as the system boots up. There is no need for you to rebuild anything else.

(   (()
(`-' _\
 ''  ''
0
 

Author Comment

by:raghuni
ID: 16977600
Ok, i took my backup. Now to rectify this problem ?
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now