The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need help ! SQL and Proc *C iwbasts High Level Programming 5 05-18-2006 03:42 AM
mounting /proc or /usr moxxx68 UNIX for Advanced & Expert Users 5 12-05-2004 04:10 PM
/proc aojmoj UNIX for Advanced & Expert Users 3 11-20-2002 05:54 PM
about /proc fuqiang1976 UNIX for Dummies Questions & Answers 1 09-10-2001 07:46 AM
/proc 100% asutoshch UNIX for Dummies Questions & Answers 1 04-01-2001 02:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-14-2005
bache_gowda bache_gowda is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 67
proc

Hi,
What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted?

Thank in advance
Bache Gowda
  #2 (permalink)  
Old 05-15-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
The /proc filesystem is dynamically maintained by the kernel. It is not a true filesystem containing "real" files...

My first question would be: what leads you to believe that /proc is not behaving in the way that it should - i.e., why would you want to "fix" it?

Cheers
ZB
  #3 (permalink)  
Old 05-18-2005
bache_gowda bache_gowda is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 67
The applications (binary) are running fine as expected (it should not make difference whether it is a background process or a Unix Deamon). And all the necessary/required I/O with respect to applications are occurring fine with out any issues.

So, in this case, one would expect that 'ps' command with right options should list this process & its current status!!

It sounds like all this was working fine until few days back, and suddenly he is
seeing that "PS" is not listing the desired process, while the desired process is still running properly.
ps -ef not listing all the running demons so we thought some issue with proc
  #4 (permalink)  
Old 05-18-2005
jim mcnamara jim mcnamara is online now Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
First ask the user what he has changed, then make sure you can duplicate the problem in a separate privileged environment. There's a BIG chance something changed in the environment.

Don't assume /proc is messed up right of the bat.
  #5 (permalink)  
Old 05-18-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,209
does ps -ef list anything? or does it hang?
  #6 (permalink)  
Old 05-23-2005
bache_gowda bache_gowda is offline
Registered User
  
 

Join Date: Sep 2001
Posts: 67
HI,
ps -ef lists all the demons running but only not listing few. Any how I found the reason why its not listing because ps command owner and group changed to normal user instead of root. I don't know how ps command owner and group changed to normal user?

Thanks a lot
Bache Gowda
  #7 (permalink)  
Old 05-23-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Do "normal" users own other executables (in the /bin, /sbin, /usr/bin and /usr/sbin directories)? Sometimes you'll see executables owned by "bin" - this is normal. If a true "normal" user owns these files, chances are you've been compromised!

Does anybody other than yourself know the root password? Have you noticed lots of failed ssh connections, etc? Check your logs (/var/log/messages) and see if anything naughty is going on. Good luck.

If you've been compromised, you're only real option is to restore trusted executables - whether this be from installation media/backups depends upon your disaster recovery procedures.

And all of this assumes that you actually have been compromised. And remember, a great deal of compromises come from somebody inside organisations

Cheers
ZB
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:07 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0