View previous topic :: View next topic |
Author |
Message |
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Tue Jul 16, 2002 12:27 am Post subject: Gentoo hangs on boot after metalog update |
|
|
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.
Please help me out. |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Tue Jul 16, 2002 12:29 am Post subject: |
|
|
Try this thread. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jul 16, 2002 12:33 am Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Tue Jul 16, 2002 12:33 am Post subject: |
|
|
I've seen this thread. But i never had sysklogd installed or anything other than metalog.
Any ideas? |
|
Back to top |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Tue Jul 16, 2002 12:41 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jul 16, 2002 12:55 am Post subject: |
|
|
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 |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Tue Jul 16, 2002 1:07 am Post subject: |
|
|
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 |
|
|
|