Well that is strange!! Perhaps it's the MySQL script that needs a console tty? Anyway, glad it's sorted!
Regards Andy. Sil <Spam> wrote: > With the log test the problem has solved himself : > I've try my script with this command line > > /usr/bin/sudo /etc/init.d/mysql restart > /tmp/debug.log 2>&1 > And the service has start !!! > > The log was : > Stopping MySQL database server: mysqld. > Starting MySQL database server: mysqld. > Checking for crashed MySQL tables in the background. > (A normal restart) > > So I try this command without log file > /usr/bin/sudo /etc/init.d/mysql restart > /dev/null 2>&1 > > And it's works ! > I don't know why but it's perfect ! > > Thanks to all for your help > Sil > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,460a3946103001000665084! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
