|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 package: mysql-server version: 5.0.45-1 Hello,... debian lenny lest update (29.9.2007 12:00 GMT). when working on this howto : http://linux.justinhartman.com/Setting_up_a_LAMP_Server i did : apt-get update apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin acerium:/# apt-get install apache2 php5 libapache2-mod-php5 mysql-server mysql-client php5-mysql phpmyadmin Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apache-common Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libmcrypt4 php5-common php5-mcrypt Suggested packages: php-pear libmcrypt-dev mcrypt Recommended packages: php5-gd php4-gd The following packages will be REMOVED: libapache2-mod-php4 The following NEW packages will be installed: apache2 libapache2-mod-php5 libmcrypt4 mysql-client mysql-server php5 php5-common php5-mcrypt php5-mysql phpmyadmin 0 upgraded, 10 newly installed, 1 to remove and 305 not upgraded. 1 not fully installed or removed. Need to get 5948kB/6086kB of archives. After unpacking 14.9MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://mirror.isoc.org.il testing/main php5-common 5.2.3-1+b1 [234kB] Get:2 http://mirror.isoc.org.il testing/main libapache2-mod-php5 5.2.3-1+b1 [2663kB] Get:3 http://mirror.isoc.org.il testing/main libmcrypt4 2.5.7-5 [86.7kB] Get:4 http://mirror.isoc.org.il testing/main php5 5.2.3-1 [1034B] Get:5 http://mirror.isoc.org.il testing/main php5-mcrypt 5.2.3-1+b1 [13.8kB] Get:6 http://mirror.isoc.org.il testing/main php5-mysql 5.2.3-1+b1 [73.4kB] Get:7 http://mirror.isoc.org.il testing/main phpmyadmin 4:2.11.0-1 [2875kB] Fetched 5948kB in 44s (134kB/s) Preconfiguring packages ... (Reading database ... 197242 files and directories currently installed.) Removing libapache2-mod-php4 ... Module php4 does not exist! Selecting previously deselected package apache2. (Reading database ... 197239 files and directories currently installed.) Unpacking apache2 (from .../apache2_2.2.4-3_all.deb) ... Selecting previously deselected package php5-common. Unpacking php5-common (from .../php5-common_5.2.3-1+b1_amd64.deb) ... Selecting previously deselected package libapache2-mod-php5. Unpacking libapache2-mod-php5 (from ..../libapache2-mod-php5_5.2.3-1+b1_amd64.deb) ... Selecting previously deselected package libmcrypt4. Unpacking libmcrypt4 (from .../libmcrypt4_2.5.7-5_amd64.deb) ... Selecting previously deselected package mysql-client. Unpacking mysql-client (from .../mysql-client_5.0.45-1_all.deb) ... Selecting previously deselected package mysql-server. Unpacking mysql-server (from .../mysql-server_5.0.45-1_all.deb) ... Stopping MySQL database server: mysqld. Selecting previously deselected package php5. Unpacking php5 (from .../archives/php5_5.2.3-1_all.deb) ... Selecting previously deselected package php5-mcrypt. Unpacking php5-mcrypt (from .../php5-mcrypt_5.2.3-1+b1_amd64.deb) ... Selecting previously deselected package php5-mysql. Unpacking php5-mysql (from .../php5-mysql_5.2.3-1+b1_amd64.deb) ... Selecting previously deselected package phpmyadmin. Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.11.0-1_all.deb) ... Setting up mysql-server-5.0 (5.0.45-1) ... Stopping MySQL database server: mysqld. Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script returned error exit status 1 Setting up apache2 (2.2.4-3) ... Setting up php5-common (5.2.3-1+b1) ... Setting up libapache2-mod-php5 (5.2.3-1+b1) ... Replacing config file /etc/php5/apache2/php.ini with new version Setting up libmcrypt4 (2.5.7-5) ... Setting up mysql-client (5.0.45-1) ... dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.0; however: Package mysql-server-5.0 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Setting up php5 (5.2.3-1) ... Setting up php5-mcrypt (5.2.3-1+b1) ... Setting up php5-mysql (5.2.3-1+b1) ... Setting up phpmyadmin (4:2.11.0-1) ... Reloading web server config: apache2invoke-rc.d: unknown initscript, /etc/init.d/apache not found. invoke-rc.d: unknown initscript, /etc/init.d/apache-ssl not found. invoke-rc.d: unknown initscript, /etc/init.d/apache-perl not found. Errors were encountered while processing: mysql-server-5.0 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) I don't if it is a bug or iam doing some thing wrong ... - -- - -- Could you at least use man ? Jabka Atu (aka mha13/Mashrom Head) - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBRv5JW29p6JnF9I1qAQLPaA//RiQNdKaQjgAY5SaPVOx5R/vN0MzrTlE/ /Ofjt84N73Ga6pzf4feAHrzdUqBje2nPmyr6MBpnxfsSkHr4IUL ZY1pkESL4GE3u BsNzwGt3x1WznEjj8V53H8XkGAZQ8f+YQgegCGf9290ahRvYWS bo+UBsm2zXrMQ8 MLqKQ5dc3FF4jQsiuVqVXRDpehNh9a3DAMB5lQNfIGp4R0L+JL NEeYMJ+T1kPgAM IOqnSGrC+hDtINQ860hCkHeXeUxzd5f8zNsuMUJ1Jd6HCb3CxD az0khaz2k60WkQ ITd0zLB69OMdNYTeInIxfuUdFGw4LHAu64uzYbLwzANIqfuCKP ofgrLtdu1PUPnZ wB8KUB/V/bbwrTaV9veXKjmHQpL1tykgBaYYCcpw5Iylom/XPVQM2HZGIwNOEC26 uC5o3E4lbwIhMG+7n/G1QloT8Aw7i0agboR1m9bBxO2dUzJtwMuo3accyVAY+Xg/ njAErshAgyGvliYPTKN7MxwGqMhtWcKIS+VfKNWMkQxtvMfd7G 1eo+nalBK4gBWN rSqKQWqYqnNzPFGaWYr2Andv0qVO8Z25mlbv3CBleboypeN/zB2XxlDeHxm/2NVN 1EeLmt5tlvw+qcNam0MXhsWkn1WY4oo+nRmYqVpWbK7ceLw0QA lCEjIN1u61HrrM kMy1T69DfBk= =RffO -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sat, Sep 29, 2007 at 02:47:23PM +0200, Jabka Atu wrote:
> package: mysql-server > > version: 5.0.45-1 > ...copious apt output... > Setting up mysql-server-5.0 (5.0.45-1) ... > Stopping MySQL database server: mysqld. > Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! > invoke-rc.d: initscript mysql, action "start" failed. > dpkg: error processing mysql-server-5.0 (--configure): > subprocess post-installation script returned error exit status 1 the problem is self-explanatory. The service failed to start which propogated an error. You should investigate why it failed to start. Perhaps look at some log files. perhaps try it manually, etc etc. A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG/l66aIeIEqwil4YRAmA+AKC661mAdb1nGWi9wC3aledz8P++hgC fQPR7 c5gE08G06P07OqCxVtmNruk= =xZEh -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Andrew Sackville-West wrote: > On Sat, Sep 29, 2007 at 02:47:23PM +0200, Jabka Atu wrote: >> package: mysql-server >> >> version: 5.0.45-1 >> > > ...copious apt output... > >> Setting up mysql-server-5.0 (5.0.45-1) ... Stopping MySQL >> database server: mysqld. Starting MySQL database server: mysqld . >> . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, >> action "start" failed. dpkg: error processing mysql-server-5.0 >> (--configure): subprocess post-installation script returned error >> exit status 1 > > > the problem is self-explanatory. The service failed to start which > propogated an error. You should investigate why it failed to start. > Perhaps look at some log files. perhaps try it manually, etc etc. > ok i tried running it manualy : acerium:/# /etc/init.d/mysql start Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! dpkg-reconfigure mysql-server /usr/sbin/dpkg-reconfigure: mysql-server is broken or not fully installed apt-get install mysql-server .. .. .. .. Starting MySQL database server: mysqld . . . . .dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script killed by signal (Interrupt) dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.0; however: Package mysql-server-5.0 is not configured yet. dpkg: error processing mysql-server (--configure): ok install mysql-server-5.0 ? acerium:/# apt-get install mysql-server-5.0 Reading package lists... Done Building dependency tree Reading state information... Done mysql-server-5.0 is already the newest version. mysql-server-5.0 set to manual installed. 0 upgraded, 0 newly installed, 0 to remove and 305 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up mysql-server-5.0 (5.0.45-1) ... Stopping MySQL database server: mysqld. invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.0; however: Package mysql-server-5.0 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.0 mysql-server wtf ? acerium:/# apt-cache policy mysql-server mysql-server: Installed: 5.0.45-1 Candidate: 5.0.45-1 Version table: *** 5.0.45-1 0 500 http://mirror.isoc.org.il testing/main Packages 100 /var/lib/dpkg/status acerium:/# apt-cache policy mysql-server-5.0 mysql-server-5.0: Installed: 5.0.45-1 Candidate: 5.0.45-1 Version table: *** 5.0.45-1 0 500 http://mirror.isoc.org.il testing/main Packages 100 /var/lib/dpkg/status > > A - -- - -- Could you at least use man ? Jabka Atu (aka mha13/Mashrom Head) || bsh83.blogspot.com - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBRv5vNm9p6JnF9I1qAQKsGA//dXFuoSPT1vZj7/XaMJe0yeqrFwS2msQZ 4RaRtKODbb0j4fcAYtg807bxEgN7FwtN82N0nNfqj/5TMXbb0DpgVmedaQu1JUqo 8f4fDqcLq3LqcdaD4sUvCx6aAYT6yVya+HYgTAwPSyxWgm8y5w G4xj1Z/JWQY1Rq QELgvsDjii2nhLmR/LaXpa9lA2VGoeGcaGln/U4351Kdz7MseBT8Slooazt5TrAO tHmK5/8qZzckFJOGrD32hHqS0krXOZg8Vq++SuembE2xSJkARmuiUAh1 DDUpD3vc NTiFV0P3sOvjNGnxuAoZ10jT8KYbUGFOW3pgDAQUqphVjdy2pE CD5GUg/M5jw7L4 I19xPkjOTml8qWmhbqbVVedcbhxWi+E+wkmVavbbbXyT9LCtw5 jv37SnTyh9mOzB yWnQq1CoPO0Iz9Ezk5wcNxVNv8ZUodviT69Xyh7axYq+3Eedz1 X891H3eEgb5DJ5 7vAV7/SUf6lt5qXBRU3E0KrQds3bq8LuEx5L8M//P9enz7Ej8oLus4jWnXF82FkL nOz8YLcdNg7sZ1g566uKC6CjHFm3nMwS6H+98RKXHfnXk1XKSE 6CY3WzxsIpPqNk /fWjyxgHcoF6P0CPZvGJeuWsW98smBLsmkyw0pQVWTq+K+oVSjN K5R80OtYVr1aV Im1YXvUr7DU= =+R09 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Sat, Sep 29, 2007 at 05:28:54PM +0200, Jabka Atu wrote:
> Andrew Sackville-West wrote: > > > On Sat, Sep 29, 2007 at 02:47:23PM +0200, Jabka Atu wrote: > >> package: mysql-server > >> > >> version: 5.0.45-1 > >> > > > > ...copious apt output... > > > >> Setting up mysql-server-5.0 (5.0.45-1) ... Stopping MySQL > >> database server: mysqld. Starting MySQL database server: mysqld . > >> . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, > >> action "start" failed. dpkg: error processing mysql-server-5.0 > >> (--configure): subprocess post-installation script returned error > >> exit status 1 > > > > > > the problem is self-explanatory. The service failed to start which > > propogated an error. You should investigate why it failed to start. > > Perhaps look at some log files. perhaps try it manually, etc etc. > > > ok i tried running it manualy : > acerium:/# /etc/init.d/mysql start > Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! why does it fail to start? have you looked at any of the relevant logs? Frankly I don't have much experience with mysql, but the reason you are getting apt errors is because it fails to start. I suppose the information apt is giving you is a little mis-leading because it has appaerntly completed all its installation tasks except for restarting the server. The fact that the server failed to restart is generating the error in apt. So, you need to figure out why its not starting. No permutation of apt/dpkg stuff will solve this problem except perhaps removing and reinstalling it. If I had this problem, I would stop messing with apt/dpkg and start figuring out why its not starting. Read the logs. start it from a command line directly instead of the init-script. figure out how to turn up the verbosity. etc etc etc. Once you get it to start, then you can re-run the apt commands and it will clear out just fine. > > acerium:/# apt-cache policy mysql-server > mysql-server: > Installed: 5.0.45-1 > Candidate: 5.0.45-1 > Version table: > *** 5.0.45-1 0 > 500 http://mirror.isoc.org.il testing/main Packages > 100 /var/lib/dpkg/status > acerium:/# apt-cache policy mysql-server-5.0 > mysql-server-5.0: > Installed: 5.0.45-1 > Candidate: 5.0.45-1 > Version table: > *** 5.0.45-1 0 > 500 http://mirror.isoc.org.il testing/main Packages > 100 /var/lib/dpkg/status > > you are running testing. It is entirely possible that there is a bug that is preventing mysqld from starting. It might be worth your while to search BTS and see if anything applies. But, to restate. Apt is failing because the service won't restart. If you can make the service start, then apt will no longer fail. A -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG/nfraIeIEqwil4YRApH0AKDkaIVfK0lv8yxdhAVzjCbCQOk5RAC g2bAr mqu9eUKMkbzy3N0UPhR2aKI= =dGWG -----END PGP SIGNATURE----- |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 I forgot to say that it was on clean install . also found some usfull(?) info in syslog posted to bug (444107) couse it is related . anyone ? Jabka Atu wrote: > Andrew Sackville-West wrote: > >> On Sat, Sep 29, 2007 at 02:47:23PM +0200, Jabka Atu wrote: >>> package: mysql-server >>> >>> version: 5.0.45-1 >>> >> ...copious apt output... > >>> Setting up mysql-server-5.0 (5.0.45-1) ... Stopping MySQL >>> database server: mysqld. Starting MySQL database server: mysqld >>> . . . . . . . . . . . . . . failed! invoke-rc.d: initscript >>> mysql, action "start" failed. dpkg: error processing >>> mysql-server-5.0 (--configure): subprocess post-installation >>> script returned error exit status 1 > >> the problem is self-explanatory. The service failed to start >> which propogated an error. You should investigate why it failed >> to start. Perhaps look at some log files. perhaps try it >> manually, etc etc. > > ok i tried running it manualy : acerium:/# /etc/init.d/mysql start > Starting MySQL database server: mysqld . . . . . . . . . . . . . . > failed! > > dpkg-reconfigure mysql-server /usr/sbin/dpkg-reconfigure: > mysql-server is broken or not fully installed > > apt-get install mysql-server . . . . > > Starting MySQL database server: mysqld . . . . .dpkg: error > processing mysql-server-5.0 (--configure): subprocess > post-installation script killed by signal (Interrupt) dpkg: > dependency problems prevent configuration of mysql-server: > mysql-server depends on mysql-server-5.0; however: Package > mysql-server-5.0 is not configured yet. dpkg: error processing > mysql-server (--configure): > > > ok install mysql-server-5.0 ? > > acerium:/# apt-get install mysql-server-5.0 Reading package > lists... Done Building dependency tree Reading state information... > Done mysql-server-5.0 is already the newest version. > mysql-server-5.0 set to manual installed. 0 upgraded, 0 newly > installed, 0 to remove and 305 not upgraded. 2 not fully installed > or removed. Need to get 0B of archives. After unpacking 0B of > additional disk space will be used. Setting up mysql-server-5.0 > (5.0.45-1) ... Stopping MySQL database server: mysqld. > > invoke-rc.d: initscript mysql, action "start" failed. dpkg: error > processing mysql-server-5.0 (--configure): subprocess > post-installation script returned error exit status 1 dpkg: > dependency problems prevent configuration of mysql-server: > mysql-server depends on mysql-server-5.0; however: Package > mysql-server-5.0 is not configured yet. dpkg: error processing > mysql-server (--configure): dependency problems - leaving > unconfigured Errors were encountered while processing: > mysql-server-5.0 mysql-server > > wtf ? > > acerium:/# apt-cache policy mysql-server mysql-server: Installed: > 5.0.45-1 Candidate: 5.0.45-1 Version table: *** 5.0.45-1 0 500 > http://mirror.isoc.org.il testing/main Packages 100 > /var/lib/dpkg/status acerium:/# apt-cache policy mysql-server-5.0 > mysql-server-5.0: Installed: 5.0.45-1 Candidate: 5.0.45-1 Version > table: *** 5.0.45-1 0 500 http://mirror.isoc.org.il testing/main > Packages 100 /var/lib/dpkg/status > > > > > > >> A > > - -- - -- Could you at least use man ? Jabka Atu (aka mha13/Mashrom Head) || bsh83.blogspot.com - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBRv6Aam9p6JnF9I1qAQK3yBAAjGwRVkWM8Hue/Cc7MedgEKAYvl1uMrwy K9SspHKOH0O8qB35DneB32t84+zF7wOuyg3fUBmmecwOGcaUMT LpDVk1gIm9/zKD LlQ3zGA7Z27Tx7Rq58gL4GH5Zh5MuAvJuy3OYhvv+R4t7yKxYW GjAQMy1AAA/xY9 WaBG8a4Zp5Nqvv+PFDc59+VtW+Qcy0Ov6mhZjNSBWfirsVmDmb YS7D49OwpBxCFd BzTeZUt/7aUJpZh4VRA1GYGwWwB4AqhNyJcJTmgFjSXR0WCwOthH33EfES MB6Rl3 tj1qgeofWbBfhAxmtNcgWJevU1tmTg57TT1binUhzvSyeh7ccm ePgN7lg40SyYKs e6fYflAQ56KhB6qY+5IbsJTV6KxRd1jnlslMBlIfz/66bI55C/3HF7SSDYRp/K6T R+r0DP/qoefTk1NHN8kZpP61IMKBzyHEd6eDM0EbXofBU5GmTNpwBJ4om bulCYZ6 1Z6vTpWKLQczhsfWxMzXT6NrJsVhom3+HluGNAsypsAbzepaT5 m7vZ4gZIXWd6g9 ZvquP+IxgHC968KTE0Oy968zdbdtnF/HAyHIUrG8so8MtrXHZm3o3cUOjAPsvWus +RVv3dua2xJqbKaGnMMuODdakNZ9MCDreffpZzWtOSXW4tgu6n wms8ShSNB2LOfd pw6rQUrtY/Y= =Wq6s -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On Sat, Sep 29, 2007 at 07:18:34AM -0700, Andrew Sackville-West wrote:
> On Sat, Sep 29, 2007 at 02:47:23PM +0200, Jabka Atu wrote: > > package: mysql-server > > > > version: 5.0.45-1 > > > > ...copious apt output... > > > Setting up mysql-server-5.0 (5.0.45-1) ... > > Stopping MySQL database server: mysqld. > > Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! > > invoke-rc.d: initscript mysql, action "start" failed. > > dpkg: error processing mysql-server-5.0 (--configure): > > subprocess post-installation script returned error exit status 1 > > > the problem is self-explanatory. The service failed to start which > propogated an error. You should investigate why it failed to > start. Perhaps look at some log files. perhaps try it manually, etc > etc. > This says that something went wrong in the post-installation script. This would make me read '/var/dpkg/info/mysql-server-5.0.postinst' (IIRC). you can also manual run this with 'bash -x ....' to see verbose output. hope that s. K -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal |mysite.verizon.net/kevin.mark/| | `. `' Operating System | go to counter.li.org and | | `- http://www.debian.org/ | be counted! #238656 | | my keyserver: subkeys.pgp.net | my NPO: cfsg.org | |join the new debian-community.org to Debian! | |_______ Unless I ask to be CCd, assume I am subscribed _______| -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|