Gentoo Archives: gentoo-server

From: "Stéphane Guedon" <stephane@××××××××××.eu>
To: gentoo-user@l.g.o, gentoo-server@l.g.o
Subject: [gentoo-server] Re: [gentoo-user] Re: openrc fails
Date: Sun, 10 Oct 2010 15:15:42
Message-Id: 201010101653.24227.stephane@22decembre.eu
1 Le Sunday 10 October 2010 15:55:08, walt a écrit :
2 > On 10/10/2010 03:17 AM, Stéphane Guedon wrote:
3 > > I have A problem on my gentoo server (but not my gentoo laptop, which is
4 > > bizzare as they together have the same release of system basic packages
5 > > !).
6 > >
7 > > At launching default runlevel, several services appear to be not launched
8 > > whereas they are ! This concerns proftpd, mysql and console-kit (and all
9 > > services dependant of course).
10 > >
11 > > For exemple, when launching proftpd, openrc says :
12 > >
13 > > * Starting ProFTPD ...
14 > >
15 > > * start-stop-daemon: /usr/sbin/proftpd is already running
16 > > [ !! ]
17 > > * ERROR: proftpd failed to start
18 > >
19 > > mysql :
20 > > * "/var/run/mysqld/mysqld.pid" is still present and the process is
21 > > running. * Please stop it "kill 5478" maybe ?
22 > > [ !! ]
23 > > * ERROR: mysql failed to start
24 > >
25 > > I have set :
26 > > rc_parallel="NO"
27 > > rc_depend_strict="YES"
28 > >
29 > > Anyone have an idea where to start to solve the problem ?
30 >
31 > When you stop the machine do you see any messages about services that fail
32 > to stop? Any reason to suspect that those *.pid files don't get deleted?
33 >
34 > You could try booting into single-user mode to see if those *.pid files
35 > really are still there from the previous session.
36 >
37 > Do the two machines run the same version of baselayout?
38
39 Thank you for this beginning of help...
40
41 The two machine have together baselayout 2.0.1 release.
42
43 When rebooting and looking at pid files (boot in interactive mode) in /var/run
44 before services are started, I don't see anything.
45 But when I let the computer launch services as the boot process want (by
46 giving him the hand on with 4 => continue boot process), services are not seen
47 to be started whereas they are (there's for example a mysqld process whereas
48 rc-status says it's stopped).
49
50 Do I make myself understand ?
51
52 --
53 Stéphane Guedon
54 page web : http://www.22decembre.eu/
55 carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
56 clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

Attachments

File name MIME type
signature.asc application/pgp-signature