#1  
Old 29th December 2010, 23:32
nick@thinkbsd.com nick@thinkbsd.com is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Debian - MySQL 5.1

Hello folkz,

I am currently running Debian Linux 2.6.26-2-686.

When I attempt to completely remove mysql5.1-server so I can reinstall it I'm getting some strange problems.

SERVER:/etc# apt-get --purge remove mysql-client-5.1 mysql-server-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libnet-daemon-perl libhtml-template-perl libdbi-perl libdbd-mysql-perl libplrpc-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
mysql-client* mysql-client-5.1* mysql-server* mysql-server-5.1*
0 upgraded, 0 newly installed, 4 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 37.1MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 45620 files and directories currently installed.)
Removing mysql-server ...
Removing mysql-server-5.1 ...
Stopping MySQL database server: mysqld/etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
/etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
.
Purging configuration files for mysql-server-5.1 ...
dpkg - warning: while removing mysql-server-5.1, directory `/etc/mysql' not empty so not removed.
Removing mysql-client ...
Removing mysql-client-5.1 ...
Processing triggers for man-db ...


Then I attempt to re-install it--

SERVER:/etc# apt-get install mysql-client-5.1 mysql-server-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
libterm-readkey-perl tinyca
The following NEW packages will be installed:
mysql-client-5.1 mysql-server-5.1
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 0B/16.0MB of archives.
After this operation, 36.9MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
mysql-client-5.1 mysql-server-5.1
Install these packages without verification [y/N]? y
Preconfiguring packages ...
Selecting previously deselected package mysql-client-5.1.
(Reading database ... 45466 files and directories currently installed.)
Unpacking mysql-client-5.1 (from .../mysql-client-5.1_5.1.54-0.dotdeb.0_i386.deb) ...
Selecting previously deselected package mysql-server-5.1.
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.54-0.dotdeb.0_i386.deb) ...
Processing triggers for man-db ...
Setting up mysql-client-5.1 (5.1.54-0.dotdeb.0) ...
Setting up mysql-server-5.1 (5.1.54-0.dotdeb.0) ...
Stopping MySQL database server: mysqld/etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
/etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
.
/etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz (warning).
/etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
Starting MySQL database server: mysqld/etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
/etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
./etc/init.d/mysql: line 44: /usr/sbin/mysqld: No such file or directory
failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
MHGMON:/etc#


I noticed /usr/sbin/mysqld does not exist which is Ok since I previously uninstalled it, correct? I'm not sure how to get around this particular problem but any insight would be helpful.

Thanks!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 Mail Warn Errors reason8 General 3 25th November 2009 13:58
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57


All times are GMT +2. The time now is 23:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.