Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > MyDNSConfig > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th October 2007, 17:21
pne pne is offline
Member
 
Join Date: Feb 2007
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Weird mysql error after trying to install MyDNS :/

This is my problem;
I tried to install MyDNS, during the install process something fucked up mysql so not it wont start, stop or work! If you kill it manually (killall -9 mysqld) It just restarts by itself :|
Anyone got a solution?

This is what I get when I try to re-install mysql-server
Code:
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 2 not upgraded.
1 not fully installed or removed.
Need to get 0B/47.5kB of archives.
After unpacking 86.0kB of additional disk space will be used.
(Reading database ... 27768 files and directories currently installed.)
Unpacking mysql-server (from .../mysql-server_5.0.38-0ubuntu1_all.deb) ...
 * Stopping MySQL database server mysqld                                                                                                              [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
invoke-rc.d returned 1
There is a MySQL server running, but we failed in our attempts to stop it.
Stop it yourself and try again!
dpkg: error processing /var/cache/apt/archives/mysql-server_5.0.38-0ubuntu1_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server_5.0.38-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reply With Quote
Sponsored Links
  #2  
Old 25th October 2007, 16:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

MySQL seems to be running already. What's the output of
Code:
ps aux|grep -i mysql
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th October 2007, 13:33
pne pne is offline
Member
 
Join Date: Feb 2007
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

[QUOTE=falko]MySQL seems to be running already. What's the output of

Code:
ps aux|grep -i mysql
mysql    20314  0.0  3.4  51660  4340 ?        Sl   Oct24   0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/lib/mysql/mysql.sock --skip-grant-tables --skip-networking

root     20315  0.0  0.5   2800   636 ?        S    Oct24   0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld

root     23146  0.0  0.5   3756   632 ?        S    Aug15   0:00 /bin/sh /usr/bin/mysqld_safe --user=mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --datadir=/var/lib/mysql --skip-grant-tables --skip-networking
(If you kill the Mysqld process it just restarts anyway :s, Is there some sort of auto restarter?)

Cheers.
Reply With Quote
  #4  
Old 27th October 2007, 16:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by pne
(If you kill the Mysqld process it just restarts anyway :s, Is there some sort of auto restarter?)
Maybe a cron job? Or do you use monit (see http://www.howtoforge.com/server_mon...debian_etch_p2 )?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 28th October 2007, 14:35
pne pne is offline
Member
 
Join Date: Feb 2007
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Maybe a cron job? Or do you use monit (see http://www.howtoforge.com/server_mon...debian_etch_p2 )?
I don't have monit, so it have to be a cron problaby =/
But it's not listed in the crontab.

What could it be? :|
Reply With Quote
  #6  
Old 29th October 2007, 15:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Please check the scripts in the /etc/cron.* directories.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
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
Messed up ISPConfig-2.2.8 Upgrade Morons Installation/Configuration 4 29th November 2006 12:17
ISPConfig: Install: mysql: unknown variable 'db-name=default' dreger Installation/Configuration 3 30th July 2006 22:23
unable connect urL hostname mysql install ISPC tom1gozzi Installation/Configuration 4 9th June 2006 12:47
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29
MySQL issue during install of ISPConfig ricbax Installation/Configuration 4 16th September 2005 09:41


All times are GMT +2. The time now is 17:38.


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