1 |
Le Sunday 10 October 2010 19:52:59, covici@××××××××××.com a écrit : |
2 |
> Dale <rdalek1967@×××××.com> wrote: |
3 |
> > walt wrote: |
4 |
> > > On 10/10/2010 03:17 AM, Stéphane Guedon wrote: |
5 |
> > >> I have A problem on my gentoo server (but not my gentoo laptop, which |
6 |
> > >> is bizzare as they together have the same release of system basic |
7 |
> > >> packages !). |
8 |
> > >> |
9 |
> > >> At launching default runlevel, several services appear to be not |
10 |
> > >> launched |
11 |
> > >> whereas they are ! This concerns proftpd, mysql and console-kit (and |
12 |
> > >> all services dependant of course). |
13 |
> > >> |
14 |
> > >> For exemple, when launching proftpd, openrc says : |
15 |
> > >> |
16 |
> > >> * Starting ProFTPD ... |
17 |
> > >> |
18 |
> > >> * start-stop-daemon: /usr/sbin/proftpd is already running |
19 |
> > >> [ !! ] |
20 |
> > >> * ERROR: proftpd failed to start |
21 |
> > >> |
22 |
> > >> mysql : |
23 |
> > >> * "/var/run/mysqld/mysqld.pid" is still present and the process |
24 |
> > >> |
25 |
> > >> is running. |
26 |
> > >> |
27 |
> > >> * Please stop it "kill 5478" maybe ? |
28 |
> > >> [ !! ] |
29 |
> > >> * ERROR: mysql failed to start |
30 |
> > >> |
31 |
> > >> I have set : |
32 |
> > >> rc_parallel="NO" |
33 |
> > >> rc_depend_strict="YES" |
34 |
> > >> |
35 |
> > >> Anyone have an idea where to start to solve the problem ? |
36 |
> > > |
37 |
> > > When you stop the machine do you see any messages about services |
38 |
> > > that fail |
39 |
> > > to stop? Any reason to suspect that those *.pid files don't get |
40 |
> > > deleted? |
41 |
> > > |
42 |
> > > You could try booting into single-user mode to see if those *.pid files |
43 |
> > > really are still there from the previous session. |
44 |
> > > |
45 |
> > > Do the two machines run the same version of baselayout? |
46 |
> > |
47 |
> > Does the zap option exist in openrc? That may get rid of the pid file |
48 |
> > too. |
49 |
> > |
50 |
> > Just a thought. |
51 |
> |
52 |
> I wonder if he has something in two different runlevels because |
53 |
> start-stop says something is already running, not just that the pid file |
54 |
> is there. |
55 |
|
56 |
This services are put only in default runlevel ! |
57 |
|
58 |
20:14:27 root@einstein:~ # rc-update|grep default |
59 |
dbus | default |
60 |
ypbind | default |
61 |
vixie-cron | default |
62 |
hald | default |
63 |
xinetd | default |
64 |
dovecot | default |
65 |
smartd | default |
66 |
ypserv | default |
67 |
dhcpd | default |
68 |
nfs | default |
69 |
proftpd | default |
70 |
samba | default |
71 |
sshd | default |
72 |
cupsd | default |
73 |
precursor | default |
74 |
avahi-daemon | default |
75 |
consolekit | default |
76 |
ntpd | default |
77 |
apache2 | default |
78 |
postfix | default |
79 |
udev-postmount | default |
80 |
pdns | default |
81 |
munin-node | default |
82 |
mysql | default |
83 |
local | default |
84 |
|
85 |
see : only launched one time ! |
86 |
|
87 |
But I think that services putted in two runlevels aren't relaunched... |
88 |
|
89 |
-- |
90 |
Stéphane Guedon |
91 |
page web : http://www.22decembre.eu/ |
92 |
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf |
93 |
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc |