Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
init.d ----- permission denied ??? wtf?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kartebi
n00b
n00b


Joined: 09 Apr 2004
Posts: 22

PostPosted: Wed Jun 01, 2005 5:07 pm    Post subject: init.d ----- permission denied ??? wtf? Reply with quote

I have a really strange problem and i'm getting really pissed off. :twisted:
Gentoo cant boot because it says (in my words) : for gentoo too function properly init.d is needed , mount read-write and execute mkdir -p /var/lib/init.d
The problem is that init.d is there and i cannot access it in any way.
ls init.d - permission denied , rm init.d permission denied. I cant do anything.

Someone plz help because i'm about to smash my pc
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Wed Jun 01, 2005 5:33 pm    Post subject: Reply with quote

Eh oh!

I had a similar problem. I was seeing error messages "permission denied" on a backup script I ran with cron, which ran flawlessy before. After further investigation, I was the victim of the dreaded file corruption. I ended up having to reformat the partition and restore from backup. I hope you don't have the same problem.

Are you by chance running software raid - mdadm?
Back to top
View user's profile Send private message
kartebi
n00b
n00b


Joined: 09 Apr 2004
Posts: 22

PostPosted: Wed Jun 01, 2005 7:52 pm    Post subject: Reply with quote

overkll wrote:
Are you by chance running software raid - mdadm?

No

I think i'll copy the entire partition except that file , cause i think its corrupted as you said.
If i boot from gentoo cd and chroot , everything works fine , but still init.d permission denied.
I use jfs filesystem if this could help.
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Wed Jun 01, 2005 8:13 pm    Post subject: Reply with quote

I'm willing to bet there is more than just one file corrupted. Do you have a backup? If not, you may want to check out jfsutils. I have one partition with jfs out of 3 gentoo boxes but I haven't had any trouble with it yes....knock on wood.

Probably a good idea to backup what you have and run jfs_fsck. I'd definitely read the man page and google around first.
Back to top
View user's profile Send private message
kartebi
n00b
n00b


Joined: 09 Apr 2004
Posts: 22

PostPosted: Thu Jun 02, 2005 8:12 am    Post subject: Reply with quote

overkll wrote:
I'm willing to bet there is more than just one file corrupted. Do you have a backup? If not, you may want to check out jfsutils. I have one partition with jfs out of 3 gentoo boxes but I haven't had any trouble with it yes....knock on wood.

Probably a good idea to backup what you have and run jfs_fsck. I'd definitely read the man page and google around first.


I did jfs_fsck -a and it said that filesystem is clean.
I also got another error prior to that : could not mount root read-write.! Then it continued booting and stopped to current error (init.d)
I dont have any clue what is the problem or how to fix it besides reformating.

PS i'm writing from OpenBSD 3.7 , a will be router-nat-firewall box :)
Back to top
View user's profile Send private message
overkll
Veteran
Veteran


Joined: 21 Sep 2004
Posts: 1249
Location: Austin, Texas

PostPosted: Thu Jun 02, 2005 4:02 pm    Post subject: Reply with quote

Is this a new install or was it up and working before?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum