Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th May 2008, 18:10
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default Start/restart mysql and xinetd problem

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/+s...etd/+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
Reply With Quote
Sponsored Links
  #2  
Old 6th May 2008, 09:55
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

What is the problem here ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 6th May 2008, 14:02
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by topdog
What is the problem here ?
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
Reply With Quote
  #4  
Old 6th May 2008, 14:21
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

You will only see that if your init script uses LSB functions, these are found in /lib/lsb/init-functions.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #5  
Old 6th May 2008, 15:30
satimis satimis is offline
Senior Member
 
Join Date: Oct 2006
Posts: 533
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

Quote:
Originally Posted by topdog
You will only see that if your init script uses LSB functions, these are found in /lib/lsb/init-functions.
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:
satimis@mail:~$ 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 by satimis; 6th May 2008 at 15:39.
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
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 19:03
ProFTP & MySQL: prftpd fails to start hecticking HOWTO-Related Questions 3 26th August 2007 23:31
Perfect Setup - Fedora Core 3 - saslauthd problem Median Installation/Configuration 28 29th January 2006 19:51


All times are GMT +2. The time now is 12:43.


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