From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1P50WJ-00017p-Gy for garchives@archives.gentoo.org; Sun, 10 Oct 2010 18:21:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3C1FE074B; Sun, 10 Oct 2010 18:20:46 +0000 (UTC) Received: from einstein.22decembre.eu (einstein.22decembre.eu [88.174.229.171]) by pigeon.gentoo.org (Postfix) with ESMTP id 4395AE074B for ; Sun, 10 Oct 2010 18:20:46 +0000 (UTC) Received: by einstein.22decembre.eu (Postfix, from userid 300) id 7209B2D7DB; Sun, 10 Oct 2010 20:16:38 +0200 (CEST) Received: from luciole.localnet (box.net.lan [192.168.0.254]) by einstein.22decembre.eu (Postfix) with ESMTP id 5065C1217E for ; Sun, 10 Oct 2010 20:16:37 +0200 (CEST) From: =?iso-8859-1?q?St=E9phane_Guedon?= Organization: http://www.22decembre.eu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: openrc fails Date: Sun, 10 Oct 2010 20:20:37 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.35-tuxonice-r1; KDE/4.5.2; x86_64; ; ) References: <201010101217.39627.stephane@22decembre.eu> <4CB1D21E.3050509@gmail.com> <10096.1286733179@ccs.covici.com> In-Reply-To: <10096.1286733179@ccs.covici.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1344028.1MIsGQLPZ9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201010102020.52681.stephane@22decembre.eu> X-Spam-Flag: No, tests=bogofilter, spamicity=0.000000 X-Archives-Salt: 8aa12c18-7a37-4c8c-b0d3-f78e0e0490fa X-Archives-Hash: 607d48571eb2edaff9f54c7d756a87ce --nextPart1344028.1MIsGQLPZ9 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Le Sunday 10 October 2010 19:52:59, covici@ccs.covici.com a =E9crit : > Dale wrote: > > walt wrote: > > > On 10/10/2010 03:17 AM, St=E9phane 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 !). > > >>=20 > > >> 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). > > >>=20 > > >> For exemple, when launching proftpd, openrc says : > > >>=20 > > >> * Starting ProFTPD ... > > >>=20 > > >> * start-stop-daemon: /usr/sbin/proftpd is already running > > >> [ !! ] > > >> * ERROR: proftpd failed to start > > >>=20 > > >> mysql : > > >> * "/var/run/mysqld/mysqld.pid" is still present and the process > > >>=20 > > >> is running. > > >>=20 > > >> * Please stop it "kill 5478" maybe ? > > >> [ !! ] > > >> * ERROR: mysql failed to start > > >>=20 > > >> I have set : > > >> rc_parallel=3D"NO" > > >> rc_depend_strict=3D"YES" > > >>=20 > > >> Anyone have an idea where to start to solve the problem ? > > >=20 > > > 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? > > >=20 > > > You could try booting into single-user mode to see if those *.pid fil= es > > > really are still there from the previous session. > > >=20 > > > Do the two machines run the same version of baselayout? > >=20 > > Does the zap option exist in openrc? That may get rid of the pid file > > too. > >=20 > > Just a thought. >=20 > 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. This services are put only in default runlevel ! 20:14:27 root@einstein:~ # rc-update|grep default dbus | default =20 ypbind | default =20 vixie-cron | default =20 hald | default =20 xinetd | default =20 dovecot | default =20 smartd | default =20 ypserv | default =20 dhcpd | default =20 nfs | default =20 proftpd | default =20 samba | default =20 sshd | default =20 cupsd | default =20 precursor | default =20 avahi-daemon | default =20 consolekit | default =20 ntpd | default =20 apache2 | default =20 postfix | default =20 udev-postmount | default =20 pdns | default =20 munin-node | default =20 mysql | default =20 local | default =20 see : only launched one time ! But I think that services putted in two runlevels aren't relaunched... =2D-=20 St=E9phane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf cl=E9 publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc --nextPart1344028.1MIsGQLPZ9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkyyBAMACgkQuOgaSVDV+yA4PQCgguh23leL//GaqJjCA2HVdZ+b gicAoLRGqWMFDeD71rONqcEjUXjW2xDL =U2V0 -----END PGP SIGNATURE----- --nextPart1344028.1MIsGQLPZ9--