Results 1 to 4 of 4

Thread: Unable to start MySQL by using Upstart on Lucid

  1. #1
    Join Date
    Jan 2012
    Posts
    56

    Unable to start MySQL by using Upstart on Lucid

    I don’t know why MySql is not running after booting of Lucid. However can manually start by using below mentioned command
    Code:
    sudo -u mysql mysqld
    however when I am trying to use Upstart I got below mentioned error message.
    dom@mythbox:~$ start mysql
    start: Rejected send message, 1 matched rules; type="method_call", sender=":1.51" (uid=1000 pid=3891 comm="start) interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))
    Let me know if you are having any idea to resolve the matter will be appreciated. Thanks a lot in advance.

  2. #2
    Join Date
    Jul 2011
    Posts
    352

    Re: Unable to start MySQL by using Upstart on Lucid

    I think you need to start MySQL by using below mentioned commands.
    Code:
    sudo service mysql restart
    or
    Code:
    sudo service mysql start

  3. #3
    Join Date
    Jul 2011
    Posts
    322

    Re: Unable to start MySQL by using Upstart on Lucid

    after going through mysqld upstart job at /etc/init/mysqld.conf and you will be see ‘start on (net-device-up’. Mysql is configure to bind with a specific address and it fails to begin if network interface does not seems to be up. I recommend that you should update mysqld upstart job to ‘start on (net-device-up IFACE=ethX’ to start mysqld only when correct interface is up.

  4. #4
    Join Date
    Aug 2011
    Posts
    308

    Re: Unable to start MySQL by using Upstart on Lucid

    You should browse to /etc/init/mysql.conf.
    Here you have to edit
    Code:
    # MySQL Service
    Code:
    description     "MySQL Server"
    author          "Mario Limonciello <superm1@ubuntu.com>"
    
    start on (net-device-up
              and local-filesystems
    	  and runlevel [2345])
    stop on runlevel [016]
    
    respawn
    make sure that there should be space after the term ‘runlevel’.

Similar Threads

  1. Unable to setup Power Mac G4 Cube running with Lucid
    By Ra.One in forum Portable Devices
    Replies: 6
    Last Post: 24-01-2012, 10:22 AM
  2. Replies: 9
    Last Post: 22-12-2011, 08:26 AM
  3. Replies: 4
    Last Post: 13-01-2011, 01:08 AM
  4. Unable to save Image from the web URL into mySQL
    By Conraad in forum Software Development
    Replies: 5
    Last Post: 25-02-2010, 04:35 PM
  5. Replies: 3
    Last Post: 07-11-2009, 09:36 PM

Tags for this Thread

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
  •  
Page generated in 1,713,256,918.76053 seconds with 17 queries