LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-06-2005, 01:12 AM   #1
adem0rdna
LQ Newbie
 
Registered: Aug 2004
Location: PDX
Distribution: FC9
Posts: 13

Rep: Reputation: 0
Angry fc3 /proc/net permission denied


I'm running FC3 and just did an update now my eth0 will not come up. I can cd /proc but not into /proc/net I get "permission denied" even as root. I tested with knopix and all is fine on the hardware. Has any one else seen this? the only other change was the install of VMware, but things kept working after the install of VMware things broke RIGHT after my last update with apt-get. and for the life of me I do not remember all that was updated.
 
Old 05-06-2005, 01:39 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i have never faced this problem

what do u get here

ls -la /proc|grep net

regards
 
Old 05-06-2005, 09:08 AM   #3
adem0rdna
LQ Newbie
 
Registered: Aug 2004
Location: PDX
Distribution: FC9
Posts: 13

Original Poster
Rep: Reputation: 0
Thumbs down

?--------- ? ? ? ? ? net


--------------------------------------------------------------------------------------------------------------------------
that can't be good please help
 
Old 05-06-2005, 09:40 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by adem0rdna
?--------- ? ? ? ? ? net


--------------------------------------------------------------------------------------------------------------------------
that can't be good please help


can u clarify this???
i am not good at guessing
 
Old 05-06-2005, 09:48 AM   #5
adem0rdna
LQ Newbie
 
Registered: Aug 2004
Location: PDX
Distribution: FC9
Posts: 13

Original Poster
Rep: Reputation: 0
the return of
#ls -l |grep "net"

was
?--------- ? ? ? ? ? net


The OS has no clue even what /proc/net is the formating on this is a little messed up just imagend more spaces here and there but insted of
"dr-xr-rr-x" I get "d---------"
and insted of "5 root root 0 may 6 06:51" I get "? ? ? ? ?"

Last edited by adem0rdna; 05-06-2005 at 09:54 AM.
 
Old 05-06-2005, 09:59 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
yes so u see the problem

u do not have any permisions

do u ahve this in ur fstab

proc /proc proc defaults 0 0

regards
 
Old 05-06-2005, 07:38 PM   #7
randallrayusa
LQ Newbie
 
Registered: Oct 2002
Location: Houston Texas
Distribution: Fedora Core
Posts: 24

Rep: Reputation: 15
Same problem here

Don't know! I have the same problem have we been hacked? Is there some kind of hole in fedora core 3?
 
Old 05-06-2005, 07:39 PM   #8
adem0rdna
LQ Newbie
 
Registered: Aug 2004
Location: PDX
Distribution: FC9
Posts: 13

Original Poster
Rep: Reputation: 0
Mine reads
none /proc proc defaults 0 0

and this is the same on my working FC3 box
 
Old 05-09-2005, 10:48 AM   #9
ulinux
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
I am not sure if I have the same problem, but...

My Toshiba laptop has been running FC3 for sometime now. When fc4 test came out, I upgraded to it successfully. Everyother day I would run yum -y update.

This command would update my fc4 with the latest packages. Things were fine untill two days ago I did the same then rebooted my machine to enable the latest kernel to reboot.

Now my laptop reboots fine, although the driverloaderbuilder complains about not finding the source code for the kernel to build the system modules!

Then I type my user id and password at the prompt, after the boot is completed. Linux logs me in and tries to create a shell for me, but then it logs me out with /bin/bash no permission.

I checked the permissions on /bin/bash. They are 0755. I checked my ownership of /home/userdir it did not show userdir.userdir it showed 500.500! I am sure that was not the case before.
<br>
What puzzles me is that I can not even login as root, although the /root directory is owned by root.
<br>
I am using redhat8 admin disk to login. When I tried to reset the ownership of my home/userdir of course it did not find me in the passwd file.
<br>
What can I do now to recover my machine? Was I hacked or was it just a silly update mistake?
<br>
Thanks.
 
Old 05-09-2005, 10:51 AM   #10
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hey have u deleted the older kernel??
try using that
or if u have deletd that then get that rpm from the fc4 Cd and install that from rescue mode

regards
 
Old 05-09-2005, 10:54 AM   #11
ulinux
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
no, I have at least 5 older kernels that yum dumped into my hard drive. I was thinking to delete them today, but thought to get some direction first.
 
Old 05-09-2005, 11:05 AM   #12
ulinux
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
I deleted the older kernels.
I forgot to mention, though, that when linux boots I get to Starting udev: MAKEDEV: makedir: File exists
but then it passes.

What has happened?
 
Old 05-09-2005, 11:56 AM   #13
ulinux
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
This is what I get when I try to ssh to the machine from a cygwin machine.

$ ssh root@192.168.15.23
Enter passphrase for key '.ssh/id_rsa'
:
root@192.168.15.23's password:
Last login: Sun May 8 16:18:37 2005
/bin/bash: Permission denied
Connection to 192.168.15.23 closed.
 
Old 05-09-2005, 03:07 PM   #14
ulinux
LQ Newbie
 
Registered: May 2005
Posts: 5

Rep: Reputation: 0
I booted in single user mode. In my /var/log/secure file I found the following:

sshd[3422] error: setfilecon(/dev/pts/0, root: object_r:devpts_t) failed: permission denied

Why is this happening? Am I sending these messages to the wrong thread?

Last edited by ulinux; 05-09-2005 at 03:08 PM.
 
Old 05-09-2005, 03:16 PM   #15
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what i can think is that ur kernel is not correct

so get in to rescue mode

chroot to that dir.

and install a kernel rpm frm ur distro CD

regards
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
/proc/asound/card0/pcm0p/oss: Permission denied crane Linux - Hardware 4 08-23-2007 06:41 AM
FC3, PHP 4.3.9, and fopen PERMISSION DENIED Cottsay Programming 4 06-25-2005 03:39 PM
java n fc3, error permission denied AVD_ZM Linux - Software 1 05-23-2005 04:46 AM
permission denied executing /proc/version syandoa Linux - Newbie 2 03-16-2004 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:04 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
Open Source Consulting | Domain Registration