dcs.fear
September 27th, 2009, 08:05 AM
hey everyone.
I was having problem with mysql server so i decided to reinstall it. after trying for serveral days. I am not able to install them please help
root@xxx:~# apt-get install mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mysql-server-core-5.0
Suggested packages:
tinyca mailx
The following NEW packages will be installed:
mysql-server-5.0 mysql-server-core-5.0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.9MB of archives.
After this operation, 88.0MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mv.archive.ubuntu.com jaunty-updates/main mysql-server-core-5.0 5.1.30really5.0.75-0ubuntu10.2 [3349kB]
Get:2 http://mv.archive.ubuntu.com jaunty-updates/main mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 [23.6MB]
Fetched 26.9MB in 3s (7840kB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-server-core-5.0.
(Reading database ... 183482 files and directories currently installed.)
Unpacking mysql-server-core-5.0 (from .../mysql-server-core-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ...
Selecting previously deselected package mysql-server-5.0.
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-server-core-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...
Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...
* Stopping MySQL database server mysqld [ OK ]
* Reloading AppArmor profiles ... [ OK ]
* Starting MySQL database server mysqld [fail]
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
Errors were encountered while processing:
mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xxx:~# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mysql-server
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 57.2kB of archives.
After this operation, 98.3kB of additional disk space will be used.
Get:1 http://mv.archive.ubuntu.com jaunty-updates/main mysql-server 5.1.30really5.0.75-0ubuntu10.2 [57.2kB]
Fetched 57.2kB in 0s (4584kB/s)
Selecting previously deselected package mysql-server.
(Reading database ... 185866 files and directories currently installed.)
Unpacking mysql-server (from .../mysql-server_5.1.30really5.0.75-0ubuntu10.2_all.deb) ...
* Stopping MySQL database server mysqld [ OK ]
Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...
* Stopping MySQL database server mysqld [ OK ]
* Reloading AppArmor profiles ... [ OK ]
* Starting MySQL database server mysqld [fail]
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
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I was having problem with mysql server so i decided to reinstall it. after trying for serveral days. I am not able to install them please help
root@xxx:~# apt-get install mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mysql-server-core-5.0
Suggested packages:
tinyca mailx
The following NEW packages will be installed:
mysql-server-5.0 mysql-server-core-5.0
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 26.9MB of archives.
After this operation, 88.0MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mv.archive.ubuntu.com jaunty-updates/main mysql-server-core-5.0 5.1.30really5.0.75-0ubuntu10.2 [3349kB]
Get:2 http://mv.archive.ubuntu.com jaunty-updates/main mysql-server-5.0 5.1.30really5.0.75-0ubuntu10.2 [23.6MB]
Fetched 26.9MB in 3s (7840kB/s)
Preconfiguring packages ...
Selecting previously deselected package mysql-server-core-5.0.
(Reading database ... 183482 files and directories currently installed.)
Unpacking mysql-server-core-5.0 (from .../mysql-server-core-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ...
Selecting previously deselected package mysql-server-5.0.
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-server-core-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...
Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...
* Stopping MySQL database server mysqld [ OK ]
* Reloading AppArmor profiles ... [ OK ]
* Starting MySQL database server mysqld [fail]
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
Errors were encountered while processing:
mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xxx:~# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mysql-server
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 57.2kB of archives.
After this operation, 98.3kB of additional disk space will be used.
Get:1 http://mv.archive.ubuntu.com jaunty-updates/main mysql-server 5.1.30really5.0.75-0ubuntu10.2 [57.2kB]
Fetched 57.2kB in 0s (4584kB/s)
Selecting previously deselected package mysql-server.
(Reading database ... 185866 files and directories currently installed.)
Unpacking mysql-server (from .../mysql-server_5.1.30really5.0.75-0ubuntu10.2_all.deb) ...
* Stopping MySQL database server mysqld [ OK ]
Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.2) ...
* Stopping MySQL database server mysqld [ OK ]
* Reloading AppArmor profiles ... [ OK ]
* Starting MySQL database server mysqld [fail]
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
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.0
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)