From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: openrc fails
Date: Sun, 10 Oct 2010 13:35:44 -0500 [thread overview]
Message-ID: <4CB20780.5030904@gmail.com> (raw)
In-Reply-To: <10096.1286733179@ccs.covici.com>
covici@ccs.covici.com wrote:
> Dale<rdalek1967@gmail.com> wrote:
>
>
>> walt wrote:
>>
>>> On 10/10/2010 03:17 AM, Stéphane Guedon wrote:
>>>
>>>> I have A problem on my gentoo server (but not my gentoo laptop, which is
>>>> bizzare as they together have the same release of system basic
>>>> packages !).
>>>>
>>>> At launching default runlevel, several services appear to be not
>>>> launched
>>>> whereas they are ! This concerns proftpd, mysql and console-kit (and all
>>>> services dependant of course).
>>>>
>>>> For exemple, when launching proftpd, openrc says :
>>>>
>>>> * Starting ProFTPD ...
>>>> * start-stop-daemon: /usr/sbin/proftpd is already running
>>>> [ !! ]
>>>> * ERROR: proftpd failed to start
>>>>
>>>> mysql :
>>>> * "/var/run/mysqld/mysqld.pid" is still present and the process
>>>> is running.
>>>> * Please stop it "kill 5478" maybe ?
>>>> [ !! ]
>>>> * ERROR: mysql failed to start
>>>>
>>>> I have set :
>>>> rc_parallel="NO"
>>>> rc_depend_strict="YES"
>>>>
>>>> Anyone have an idea where to start to solve the problem ?
>>>>
>>> When you stop the machine do you see any messages about services
>>> that fail
>>> to stop? Any reason to suspect that those *.pid files don't get deleted?
>>>
>>> You could try booting into single-user mode to see if those *.pid files
>>> really are still there from the previous session.
>>>
>>> Do the two machines run the same version of baselayout?
>>>
>>>
>> Does the zap option exist in openrc? That may get rid of the pid file too.
>>
>> Just a thought.
>>
> I wonder if he has something in two different runlevels because
> start-stop says something is already running, not just that the pid file
> is there.
>
>
Based on a post made later, it would appear that he has more pressing
issues. If it thinks the service is running after a reboot, there is
problems. On my rig, those directories are cleared during boot because
there can't be a service running right after the kernel loads. There
shouldn't be any started yet since it hasn't even got to a runlevel.
Your thoughts would be a logical one tho. If he has a service added to
both boot and default runlevels, then after it gets through the boot
level it will try to start the service a second time. You could be on
to at least one part of the problem. I'm not sure on the part after a
reboot tho.
Dale
:-) :-)
next prev parent reply other threads:[~2010-10-10 18:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-10 10:17 [gentoo-user] openrc fails Stéphane Guedon
2010-10-10 13:55 ` [gentoo-user] " walt
2010-10-10 14:47 ` Dale
2010-10-10 17:52 ` covici
2010-10-10 18:20 ` Stéphane Guedon
2010-10-10 18:35 ` Dale [this message]
2010-10-10 14:53 ` Stéphane Guedon
2010-10-10 18:25 ` walt
2010-10-10 19:16 ` [gentoo-user] " Fatih Tümen
2010-10-10 20:30 ` Stéphane Guedon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CB20780.5030904@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox