Weird mysql error after trying to install MyDNS :/

Discussion in 'General' started by pne, Oct 24, 2007.

  1. pne

    pne New Member

    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)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    MySQL seems to be running already. What's the output of
    Code:
    ps aux|grep -i mysql
    ?
     
  3. pne

    pne New Member

     
  4. falko

    falko Super Moderator ISPConfig Developer

  5. pne

    pne New Member

  6. falko

    falko Super Moderator ISPConfig Developer

    Please check the scripts in the /etc/cron.* directories.
     

Share This Page