Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
errors
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Mon Nov 11, 2002 12:19 am    Post subject: errors Reply with quote

Okay, here are the problems I'm having. I was trying to install Mozilla. It would get to a certain point (one of the folders ended in /viewsrc). I would emerge, it'd get to one point, then the second time, it would go to /viewsrc and stop. If I tried to do it any after that, it would stop at that point. So, I tried updating my system files. And all went well. Then, when emerging mozilla, it would say that it couldn't remove a folder in /var/tmp/mozilla-1.0-r2 (something to that effect). I went in (as root) and tried removing them, and it said something about me not having permission (the standard message). So, I tried rebooting. Here's where the main question comes in. It would boot, I would look for errors, but I wouldn't see any. The it gets to where it fscks the filesystems, it would say for /dev/hdb3 (where / is):

Code:
*Some errror, goes by too fast to read and write down
*Filesystem repaired
... (agian, another error that goes by too fast to read and write down) but was for /dev/hdb1 (boot)
*Filesystem errors corrected
...
... (Bringing up eth0, etc)
*Starting local
(LONG pause)
INIT: Id "c1" respawning too fast: disabled for 5 minutes
INIT: Id "c2" respawning too fast: disabled for 5 minutes
INIT: Id "c3" respawning too fast: disabled for 5 minutes
INIT: Id "c4" respawning too fast: disabled for 5 minutes
INIT: Id "c5" respawning too fast: disabled for 5 minutes
INIT: Id "c6" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel


And it will just sit there. If I press Alt+F2, it would just go to a blank screen with a flashing cursor at the top. How can I get these problems to go away?

Also, I soon gave up with that and decided to just reinstall gentoo completely. I deleted the partitions, rebooted, made new partitions, rebooted. I would then mount the partitions and chrooted like normal but all my stuff was still there. This was just an FYI, I would rather not reinstall, but if necessary, I will.

Thanks for the help,
Glenn
Back to top
View user's profile Send private message
fusion
Tux's lil' helper
Tux's lil' helper


Joined: 02 Nov 2002
Posts: 119

PostPosted: Mon Nov 11, 2002 1:26 am    Post subject: Reply with quote

I would try to emerge baselayout that should fix your init
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Mon Nov 11, 2002 2:16 am    Post subject: Reply with quote

well, the INIT lines go away but, I still can't login. It just sits there after Starting local. Let me see if I can get those fsck errors...

Glenn
Back to top
View user's profile Send private message
px
Guru
Guru


Joined: 26 Sep 2002
Posts: 497
Location: Metz, France

PostPosted: Mon Nov 11, 2002 2:41 am    Post subject: Reply with quote

I had a similar problem after a kernel compilation. I recompile it and it was fine (something with frame buffer, or in character device). you can boot on gentoo cd, mount your partition and read your /var/log/message log or every boot log file. This can be a usefull help. else you can mount all your hdd patition, do a chroot and then delete you tmp files, remerge mozilla or unmerge some stuff... I would be surprise that you can't find any other way than a complete reinstall... ;)
_________________
Nous autres, mordus d'informatique, préférons par-dessus tout passer notre temps à bidouiller nos ordinateurs, plutôt que les utiliser pour faire quelque chose de productif. [Dave Barry]
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Mon Nov 11, 2002 3:55 am    Post subject: Reply with quote

Okay, here's what it says:

Code:
# rm -rf /var/tmp/portage
rm: cannot remove '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/rules.mk': Permission denied
rm: cannot remove '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/winfonts.c': Permission denied
rm: cannot remove '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/winfonts.h': Permission denied
rm: cannot remove '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/modules.mk': Permission denied


I couldn't find a log of the boot sequence, so I couldn't post that.

Thanks for the help
Glenn

Also, I recompiled my kernel and rebooted, and it still does that fsck thing and it then tells me that it can't calculate the modules (when it gets to that line (but, I also don't have any modules that I know of)). Thanks again
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Mon Nov 11, 2002 10:51 pm    Post subject: Reply with quote

Anyone else have any ideas...?

Thanks for the help,
Glenn
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Mon Nov 11, 2002 11:26 pm    Post subject: Reply with quote

Are you root when you try to remove /var/tmp/portage? What directory are you in when you try to do that? You should be able to remove it.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Mon Nov 11, 2002 11:37 pm    Post subject: Reply with quote

That's what I was thinking. When I first tried, I was root. But, the past couple times I've been trying, I have been having to boot off the cd and chroot to /mnt/gentoo. The first time, I believe I was in /root, the past several times, I've been in /.

Thanks,
Glenn
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Nov 12, 2002 12:04 am    Post subject: Reply with quote

Are you certain you are mounting the filesystems as read-write?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Tue Nov 12, 2002 12:14 am    Post subject: Reply with quote

Here's what I type (always have been doing it like this):

Code:
mkdir /mnt/gentoo
mount /dev/hdb3 /mnt/gentoo
mount /dev/hdb1 /mnt/gentoo/boot
mount -o bind /proc /mnt/gentoo/proc
chroot /mnt/gentoo


And my partitions are as follows:

hdb1 = boot (100mb)
hdb2 = swap (1280mb)
hdb3 = root (60gb)

Thanks again,
Glenn
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Nov 12, 2002 12:27 am    Post subject: Reply with quote

greening wrote:
Here's what I type (always have been doing it like this):

Code:
mkdir /mnt/gentoo
mount /dev/hdb3 /mnt/gentoo
mount /dev/hdb1 /mnt/gentoo/boot
mount -o bind /proc /mnt/gentoo/proc
chroot /mnt/gentoo


And my partitions are as follows:

hdb1 = boot (100mb)
hdb2 = swap (1280mb)
hdb3 = root (60gb)

Thanks again,
Glenn


Ok, why don't you try the following:
1. cd /mnt/gentoo/var/tmp/portage
2. chown -R root.root mozilla*
3. rm -rf mozilla*

This will at least change the ownership of the files to root and then try to remove only the Mozilla subdirectory. You should be allowed this since you are now the owner.

Erik
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Tue Nov 12, 2002 2:01 am    Post subject: Reply with quote

Odd, this is what it says:

Code:
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/rules.mk': Permission denied
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/winfonts.c': Permission denied
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/winfonts.h': Permission denied
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/modules.mk': Permission denied


Thanks,
Glenn
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 12, 2002 2:02 am    Post subject: Reply with quote

If this is an ext2/ext3 filesystem, maybe chattr will help you.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Nov 12, 2002 2:04 am    Post subject: Reply with quote

greening wrote:
Odd, this is what it says:

Code:
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/rules.mk': Permission denied
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/winfonts.c': Permission denied
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/winfonts.h': Permission denied
chown: failed to get attributes of '/var/tmp/portage/mozilla-1.0.1-r2/work/mozilla/other-licenses/freetype/src/winfonts/modules.mk': Permission denied


Thanks,
Glenn


Try to boot off the CD and then mount the drives as you said you did earlier and then run the command.

That way it should not have any attributes set or locked.

Chattr can also help (maybe), but best bet is to boot from the CD and then mount and change the ownership and remove the files.

Erik
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Tue Nov 12, 2002 3:24 am    Post subject: Reply with quote

I did. I can't boot w/o the cd...

Glenn
Back to top
View user's profile Send private message
robie1373
n00b
n00b


Joined: 03 Nov 2002
Posts: 13
Location: Fort Fun, Co.

PostPosted: Tue Nov 12, 2002 7:44 am    Post subject: Reply with quote

quoth ebrostig:
Quote:
Ok, why don't you try the following:
1. cd /mnt/gentoo/var/tmp/portage
2. chown -R root.root mozilla*
3. rm -rf mozilla*

I don't know if this is a typo, but it should be:

chown -R root:root mozilla*
(note the colon instead of the dot :) )
_________________
Hippy Hiaku, Brother Trucker! --the scud
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 12, 2002 7:57 am    Post subject: Reply with quote

robie1373 wrote:
I don't know if this is a typo, but it should be:

chown -R root:root mozilla*
(note the colon instead of the dot :) )

GNU chown will accept either syntax.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Tue Nov 12, 2002 9:16 pm    Post subject: Reply with quote

Anything else? :(

Glenn
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Tue Nov 12, 2002 11:38 pm    Post subject: Reply with quote

greening wrote:
I did. I can't boot w/o the cd...

Glenn

If that is the case, you need to do :

rm -rf /mnt/gentoo/var/tmp/portage ...... (see post above)

If you do rm -rf /var/tmp..... you are trying to delete from the CD not from your HD.

Erik
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Wed Nov 13, 2002 12:09 am    Post subject: Reply with quote

Okay, I did that and it still doesn't work. It just says the same thing. Any other suggestions?

Thanks,
Glenn
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Nov 13, 2002 12:15 am    Post subject: Reply with quote

greening wrote:
Okay, I did that and it still doesn't work. It just says the same thing. Any other suggestions?

Thanks,
Glenn

Yes... But this involves tracing the delete command on system level.

Do you have strace installed? If not emerge it

Then run strace -ff -o <name of tracefile> rm -rf .....

This will trace the rm command and document where it barfs. Then take a look at the tracefile generated and paste in let's say the last 100 lines and I'll take a look at it.

Erik
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Nov 13, 2002 12:32 am    Post subject: Reply with quote

Do we know what filesystem type we're dealing with yet? I'm assuming it's not ext[23], since the chattr suggestion went over like a bag of rocks. Is grsecurity enabled in the kernel?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Nov 13, 2002 12:43 am    Post subject: Reply with quote

Oh and one thing i forgot earlier:
greening wrote:

I couldn't find a log of the boot sequence, so I couldn't post that.


You can list the bootlog with the command: dmesg

Erik
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Wed Nov 13, 2002 2:15 am    Post subject: Reply with quote

rac wrote:
Do we know what filesystem type we're dealing with yet? I'm assuming it's not ext[23], since the chattr suggestion went over like a bag of rocks. Is grsecurity enabled in the kernel?


Sorry, I forogot to mention. I am using ReiserFS.

Thanks,
Glenn
Back to top
View user's profile Send private message
greening
n00b
n00b


Joined: 20 Oct 2002
Posts: 51

PostPosted: Wed Nov 13, 2002 4:09 am    Post subject: Reply with quote

Well, when I boot off the cd, I can't startx (says it can't find the nvidia-kernel module, so I try to emerge it but it does no good) so I can't post what strace says (I really don't want to write down 100 or so lines of stuff down then type it here)... And I don't know how to copy with just lynx and nano (I know, I'm not too smart)... Any other suggestions? I skimmed through the file, and it pretty much just said that I didn't have permission to be messing with those 4 files...

Thanks,
Glenn
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
Goto page 1, 2  Next
Page 1 of 2

 
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