Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo hangs on boot after metalog update
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
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Tue Jul 16, 2002 12:27 am    Post subject: Gentoo hangs on boot after metalog update Reply with quote

I get a message "Its not a good idea to run two loggers" or something similiar. The system hangs when starting metalog. I don't have any other loggers installed and i unmerged the older version of metalog.

I chrooted into Gentoo from another system and removed all instances of metalog from the runlevels with "rc-update del metalog". After a reboot it was almost the same. Metalog tries to start because other services like dcron depend on it.
I had to unmerge metalog completely from within the chrooted system.

This is a serious problem! And i can't post any logs, since.. well.. i no longer have a logger. 8O

Please help me out.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Tue Jul 16, 2002 12:29 am    Post subject: Reply with quote

Try this thread.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jul 16, 2002 12:33 am    Post subject: Reply with quote

You might need to do something manually with /etc/init.d/metalog - move it out of the way temporarily, smack it with a wet noodle, something of that sort.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Tue Jul 16, 2002 12:33 am    Post subject: Reply with quote

I've seen this thread. But i never had sysklogd installed or anything other than metalog.

Any ideas?
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Tue Jul 16, 2002 12:41 am    Post subject: Reply with quote

rac wrote:
You might need to do something manually with /etc/init.d/metalog - move it out of the way temporarily, smack it with a wet noodle, something of that sort.


I updated /etc/init.d/metalog after emerge. The old the new are the same anyway.
I'm now in Gentoo. When i emerge metalog again, i can start it with no problems. But after reboot the system still hangs. :(
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jul 16, 2002 12:55 am    Post subject: Reply with quote

Well, when I got the "two loggers" message, I discovered that I had two files in /etc/init.d/ that said "provide logger", so maybe
Code:
# grep logger /etc/init.d/*
will tell you if that's what's happening to you.

You can try manually taking out the '--quiet' argument to start-stop-daemon in /etc/init.d/metalog's start call (or even change it to --verbose), and maybe that will give you some additional information as to exactly what is failing at boot time.

Nothing jumps to mind, though: inability to overwrite the pid file? Unlikely. /var not mounted in time? Probably not.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Tue Jul 16, 2002 1:07 am    Post subject: Reply with quote

I found the problem! Seems like my policy of moving old configfiles to *.old confused the logger. I found lots of files called metalog.old around /mnt/.init.d/. I removed all of them , re-emerged metalog and after a reboot everything is fine again. :)

Thanks for your help.
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