Results 1 to 10 of 10

Thread: 'start mysql' never returns and no mysqld running

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Beans
    7

    'start mysql' never returns and no mysqld running

    Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore:

    me@mycomputer~#start mysql [ret]
    ...... for hours this command never returns so that ^C aborts...

    me@mycomputer~#ps axw |grep mysql
    ( no results, no mysql!!! )

    me@mycomputer~#stop mysql [ret]
    no returns either!!!

    This upstart [start|stop] thing seems a total failure for mysql!!!
    need help!

  2. #2
    Join Date
    Jun 2007
    Location
    /
    Beans
    824
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: 'start mysql' never returns and no mysqld running

    Quote Originally Posted by bretzeltux View Post
    Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore:

    me@mycomputer~#start mysql [ret]
    ...... for hours this command never returns so that ^C aborts...

    me@mycomputer~#ps axw |grep mysql
    ( no results, no mysql!!! )

    me@mycomputer~#stop mysql [ret]
    no returns either!!!

    This upstart [start|stop] thing seems a total failure for mysql!!!
    need help!

    does the following command work?
    Code:
    /etc/init.d/mysql start
    VI Cheat Sheet
    Ubuntu Counter Project-user#21143

  3. #3
    Join Date
    Apr 2010
    Beans
    7

    Re: 'start mysql' never returns and no mysqld running

    It does the same thing

    manually :
    sudo /sbin/mysqld &

    does works but not really the right thing to do ...

    and...:
    'Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore:'

    Why are you asking me to do what I've already reported that won't work ?

  4. #4
    Join Date
    Jun 2007
    Location
    /
    Beans
    824
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: 'start mysql' never returns and no mysqld running

    Quote Originally Posted by bretzeltux View Post
    It does the same thing

    manually :
    sudo /sbin/mysqld &

    does works but not really the right thing to do ...

    and...:
    'Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore:'

    Why are you asking me to do what I've already reported that won't work ?
    i was just trying to help troubleshoot. perhaps you should install mysql on another server and copy the init script from that one over to the broken one.
    VI Cheat Sheet
    Ubuntu Counter Project-user#21143

  5. #5
    Join Date
    Apr 2010
    Beans
    7

    Re: 'start mysql' never returns and no mysqld running

    Sorry if I looked a bit rude -
    • My Server is not 'broken'
    • manually starting mysqld from /sbin/mysqld - does work
    • Thus what I am totaly screwed in is with 'upstart' :/sbin/start | stop for mysql - that seems itself 'screwed/screweing mysql service'
    • ubuntu server 9.10/10.04 behaviour are the same(I guess same failures with desktop editions as well!)...


    Is mysql installation scripts packages have been ever tested since 9.10 ???
    In my book it does not ... rather it was 'assumed to work...'...

    If I read other topics ( desktop/server editions ) it seems the same related problems occured for other users ...

  6. #6
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,282
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: 'start mysql' never returns and no mysqld running

    Looking at the mysqld upstart job (/etc/init/mysqld.conf) you can see that it "start on (net-device-up". Since mysqld is configured to bind to a specific address it fails to start if the network interface isn't up yet.

    I'd suggest to update mysqld upstart job to "start on (net-device-up IFACE=ethX" to start mysqld only when the correct interface is up.

    found this bug here:
    https://bugs.launchpad.net/ubuntu/+s....1/+bug/566736

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •