LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-21-2005, 02:01 AM   #1
CrazyPilot
Member
 
Registered: Jan 2004
Location: Somewhere...
Distribution: Fedora Core 4, Slackware 10.1
Posts: 61

Rep: Reputation: 15
MySQL server dies immediately upon startup...


I'm trying to run a MySQL 4.1.10a server in slackware linux... it installed fine and started but when i attempted to restart it, it said this:
Quote:
STOPPING server from pid file /var/lib/mysql/desktop.pid
050321 01:44:32 mysqld ended
I am clueless about what to do, the pid file only exists when the server is running every time i try to start it it instantly kills itself....

I've tried redoing the install once that did nothing.

any help would be useful! thx

im in slackware 10.1 btw
 
Old 03-21-2005, 03:13 AM   #2
MFC
Member
 
Registered: Mar 2005
Posts: 31

Rep: Reputation: 15
I would bet a couple of horses on that your datadir hasn't the correct permissions set..

check permissions for /var/lib/mysql/mysql
I had that problem but then the permissions for the mysql dir in the mysql dir was set to root.
Change it to user mysql (chown -R mysql mysql, do this when you are in /var/lib/mysql)

Check also the error-log in /var/lib/mysql/<host>.err (change <host> to YOUR host)

Last edited by MFC; 03-21-2005 at 03:14 AM.
 
Old 03-22-2005, 07:14 PM   #3
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
I have come accross this error it i believe it happened once when the system did not shutdown properley, did that happen to your system? and did it do a fsck afterwards?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network dies almost immediately (FC3) tbthorpe Linux - Wireless Networking 3 09-23-2005 05:09 PM
x server dies...dies...dead! aquaboot Linux - Software 2 08-28-2005 11:54 AM
Apps loading slowly on slack immediately after startup ganja_guru Linux - Software 0 12-13-2003 11:39 PM
Tomcat Works Withouth MySQL and dies with MySQL Guru3 Linux - Software 0 10-19-2003 07:02 AM
Apache server and MySQL server won't run at startup! dday007 Linux - General 2 02-07-2003 02:51 PM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration