store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Tue May 21, 2013 6:47 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 
Author Message
 Post subject: Disable mysqld autostart after stop
Unread postPosted: Thu Jan 12, 2012 4:58 am 
Offline
Forum User
Forum User

Joined: Wed Oct 28, 2009 8:42 pm
Posts: 28
Ive a big problem with mysqld, i run myisamchk -r to repair crashed table. Before i stop mysqld.
For some reason while running myisamchk mysqld autmatic start :( Result more crashed tables.
Ive search in crontab, cant find any clue why or how mysqld autostart. I run plesk 10.4.

How can i diasble this unwanted mysqld auto start?

Thanks a lot for any help.


Top
 Profile  
 
 Post subject: Re: Disable mysqld autostart after stop
Unread postPosted: Thu Jan 12, 2012 6:55 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
I guess you have psmon installed? Check /etc/psmon.conf. Running 'asl -s -f' will regenerate /etc/psmon.conf though.

But I think I have a better suggestion: use mysqlcheck --repair/--auto-repair (or just use the SQL REPAIR command). AFAIK there is no need to stop mysqld in those cases.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Disable mysqld autostart after stop
Unread postPosted: Thu Jan 12, 2012 4:32 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Thu Dec 09, 2004 11:19 am
Posts: 1846
There is (or was) a cron task that starts psmon if it is not running. If you find and disable that (probably in cron.d), and then "service psmon stop" then that should kill off psmon and stop mysql starting (if breun's suggestion doesn't work for some reason).

_________________
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>


Top
 Profile  
 
 Post subject: Re: Disable mysqld autostart after stop
Unread postPosted: Thu Jan 12, 2012 4:48 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
/etc/cron.d/psmon starts psmon every 15 minutes by default.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group