LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-26-2007, 06:27 AM   #1
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Rep: Reputation: 15
MySQL-5.0.45 Failer to start


Before I go to far, let me tell you folks this:

OS: Slackware 11
Mysql: Was installed, but removed with removepkg mysql

I then went a head and built mysql from src with the options I required on my server, all went well till I go to actually configure the server and start it for the first time.

I copied the included server.mysql to /etc/rc.d/rc.mysqld and gave it +x, I then went to start the server for the first time

# /etc/rc.d/rc.mysqld start
Starting MySQL/etc/rc.d/rc.mysqld: line 159: kill: (25568) - No such process
ERROR!
root@darkstar:~#

This is no good :/ So I do some general search on google and I come up with a Mysql BUG report -> http://bugs.mysql.com/bug.php?id=29727 <-

But this is for a beta version of Mysql5 and deals with SELinux ...

So this has left me with two probleme

1) I'm using the latest-stable
2) I don't have SELinux configured or enabled on my server.

So I need some help here, anything is appreciated .



and I got the following error

Last edited by raven.sorrow; 07-26-2007 at 03:00 PM.
 
Old 07-27-2007, 08:57 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Quote:
I then went a head and built mysql from src with the options I required on my server, all went well till I go to actually configure the server and start it for the first time.
Before starting the server for the 1st time you should run
Code:
mysql_install_db --user=mysql
to create the initial mysql db. You must also give the correct permissions to the db directory. Take a look at mysql logs to see if you find any hint why it's not working.

Regards
 
Old 07-27-2007, 10:34 AM   #3
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Original Poster
Rep: Reputation: 15
these steps were already done prier to my posting. The deamon still fails to start :/
 
Old 07-27-2007, 12:54 PM   #4
thorn168
Member
 
Registered: Oct 2004
Location: USA
Distribution: Vector Linux 5.1 Std., Vector Linux 5.8 Std., Win2k, XP, OS X (10.4 & 10.5)
Posts: 344

Rep: Reputation: 42
You should post your question on this forum as well since it is a MySQL specific question.

http://forums.mysql.com/

Have checked the source for for errors? Try obtaining a source file from another server and compiling it as the original source file you compiled maybe damaged.

Last edited by thorn168; 07-27-2007 at 01:00 PM.
 
Old 07-27-2007, 09:37 PM   #5
raven.sorrow
Member
 
Registered: Oct 2004
Distribution: Gentoo/FBSD/Slack
Posts: 65

Original Poster
Rep: Reputation: 15
I am able to start the binary by hand ... but that's not the point, I should be able to use the provided rc script to stop/stop/manage the deamon .....
 
  


Reply

Tags
errors, linux, mysql, slackware, slackware11


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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM


All times are GMT -5. The time now is 03:31 PM.

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