From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 4 Feb 2006 23:50:36 +0300 From: "Dmitry V. Levin" To: ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] Re: IA: MySQL Message-ID: <20060204205036.GB10899@basalt.office.altlinux.org> Mail-Followup-To: ALT Linux Sisyphus discussion list References: <20060201213023.GA15400@lks.home> <200602040049.50064.iadzhubey@rics.bwh.harvard.edu> <20060204091820.GA10610@lks.home> <200602041339.48638.iadzhubey@rics.bwh.harvard.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline In-Reply-To: <200602041339.48638.iadzhubey@rics.bwh.harvard.edu> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 20:50:37 -0000 Archived-At: List-Archive: List-Post: --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 04, 2006 at 01:39:48PM -0500, Ivan Adzhubey wrote: > On Saturday 04 February 2006 04:18, Konstantin A. Lepikhov wrote: > > =CE=C5 =D7=C5=D2=C0. =F0=CF=D3=CD=CF=D4=D2=C9=D4=C5 =CE=C1 etc/init.d/m= ysqld =D0=CF=D7=CE=C9=CD=C1=D4=C5=CC=D8=CE=C5=C5, =CD=CF=D6=C5=D4 =C2=D9=D4= =D8 =D2=D1=C4=CF=CD > > =CC=C5=D6=C9=D4 .rpmnew =C9=CD=C5=CE=CE=CF =D3 _=CE=CF=D7=D9=CD_ =D3= =CB=D2=C9=D0=D4=CF=CD? =EC=C9=C2=CF =D5 =D7=C1=D3 =CE=C5 =CF=D3=D4=C1=CE=CF= =D7=C9=CC=D3=D1 =D3=D4=C1=D2=D9=CA > > =D3=C5=D2=D7=C5=D2, =C9 =D7 =D0=C1=CD=D1=D4=C9 =D7=C9=D3=D1=D4 =CF=DB= =CD=C5=D4=CB=C9 =CF=D4 =CE=C5=C7=CF. >=20 > =F0=CF=D7=D4=CF=D2=D1=C0 =C5=DD=C5 =D2=C1=DA, =C4=CC=D1 =D4=C5=C8 =CB=D4= =CF =D7 =C2=D2=CF=CE=C5=D4=D2=C1=CE=D3=D0=CF=D2=D4=C5=D2=C5: >=20 > =F0=C5=D2=C5=DA=C1=C7=D2=D5=DA=C9=CC =D3=C9=D3=D4=C5=CD=D5 =D3 =D7=D9=CB= =CC=C0=DE=C5=CE=C9=C5=CD =D0=C9=D4=C1=CE=C9=D1 =CB=CF=CD=D0=D8=C0=D4=C5=D2= =C1, =D3=C9=CC=D8=CE=CF =D3=CF=CD=CE=C5=D7=C1=C0=D3=D8 =DE=D4=CF=C2=D9=20 > =D5 =CE=C5=C7=CF =D7 =D0=C1=CD=D1=D4=C9 =D0=CF=D3=CC=C5 =DC=D4=CF=C7=CF = =CF=D3=D4=C1=D7=C1=CC=C9=D3=D8 =CF=DB=CD=C5=D4=CB=C9 =DE=C5=C7=CF-=CC=C9=C2= =CF. >=20 > # chkconfig --list mysqld > mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off >=20 > # service mysqld status > mysqld is stopped >=20 > # service mysqld start > Adjusting environment for mysqld: [ DONE ] > Starting mysqld service: [ DONE ] >=20 > # service mysqld status > mysqld is dead, but stale PID file exists >=20 > # service mysqld stop > Service mysqld is not running. [PASSED] =FC=D4=CF =D7=D3=CC=C5=C4=D3=D4=D7=C9=C5 =CF=DB=C9=C2=CF=DE=CE=CF=C7=CF =C9= =DA=CD=C5=CE=C5=CE=C9=D1 =D7 /etc/init.d/mysqld: @@ -62,7 +65,7 @@ start() =20 stop() { - stop_daemon --lockfile "$LOCKFILE" --pidfile "$PIDFILE" --expect-user mys= ql mysqld + stop_daemon --lockfile "$LOCKFILE" --pidfile "$PIDFILE" --expect-user roo= t mysqld RETVAL=3D$? return $RETVAL } @@ -98,7 +101,7 @@ case "$1" in fi ;; status) - status --pidfile "$PIDFILE" --expect-user mysql mysqld + status --pidfile "$PIDFILE" --expect-user root mysqld RETVAL=3D$? ;; *) --- MySQL-4.0.24-alt1.1/my.cnf 2003-06-30 16:00:28 +0000 =F7 %post =D7=C9=D6=D5 =C5=DD=A3 =CF=C4=CE=CF =CF=DB=C9=C2=CF=DE=CE=CF=C5 = =C9=DA=CD=C5=CE=C5=CE=C9=C5: -if [ $1 =3D 1 ]; then =20 - /sbin/chkconfig --add mysqld =20 -fi +%post_service mysqld =20 P.S. =F0=C1=CB=C5=D4 =CE=C5 =D3=D4=C1=D7=C9=CC, =D4=CF=CC=D8=CB=CF srpmcmp = =D3=C4=C5=CC=C1=CC. --=20 ldv --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFD5ROcfKvmrJ41Nh4RAhQTAKCaR9EsTmZdSbOKVkG7zb4041KZAgCcCqHZ Byg/jk4UqmeWkaeEaUnt3z4= =rOBQ -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6--