Start/restart mysql and xinetd problem

Discussion in 'Server Operation' started by satimis, May 5, 2008.

  1. satimis

    satimis New Member

    Hi folks,


    Ubuntu 6.05.3 Drake amd64


    On running;
    $ sudo /etc/init.d/xinetd start
    Code:
    Password:
    Starting internet superserver: xinetd.
    
    On googling I found;
    Needs Ubuntu-style init script
    https://bugs.launchpad.net/ubuntu/ source/xinetd/ bug/43574


    It seems to be a bug. I couldn't figure out how to fix the problem. Please advise? TIA


    On running;
    $ sudo /etc/init.d/mysql restart
    Code:
    Stopping MySQL database server: mysqld.
    Starting MySQL database server: mysqld.
    
    Same problem.


    B.R.
    satimis
     
  2. topdog

    topdog Active Member HowtoForge Supporter

    What is the problem here ?
     
  3. satimis

    satimis New Member

    The problem is the printout does not indicate [ok]/[fail], such as;
    Code:
    Stopping MySQL database server: mysqld.ok
    Starting MySQL database server: mysqld.ok
    
    Code:
    Starting internet superserver: xinetd.ok
    
    satimis
     
  4. topdog

    topdog Active Member HowtoForge Supporter

    You will only see that if your init script uses LSB functions, these are found in /lib/lsb/init-functions.
     
  5. satimis

    satimis New Member

    Thanks for your advice.


    I can't resolve how to get it done. Could you please shed me some light? TIA


    $ cat /etc/init.d/mysql | grep /etc/lsb/init-function
    Code:
    [email protected]:~$ cat /etc/init.d/mysql | grep /lib/lsb/init-function
    . /lib/lsb/init-functions
    
    A line is already there.


    $ cat /etc/init.d/xinetd | grep /lib/lsb/init-function
    No printout



    Edit:

    Sorry, I made a mistake.

    Running both command lines w/o printout


    B.R.
    satimis
     
    Last edited: May 6, 2008

Share This Page