LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   MySQL-5.0.45 Failiur (https://www.linuxquestions.org/questions/linux-server-73/mysql-5-0-45-failiur-572388/)

raven.sorrow 07-26-2007 06:27 AM

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 :D.



and I got the following error

bathory 07-27-2007 08:57 AM

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

raven.sorrow 07-27-2007 10:34 AM

these steps were already done prier to my posting. The deamon still fails to start :/

thorn168 07-27-2007 12:54 PM

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.

raven.sorrow 07-27-2007 09:37 PM

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 .....


All times are GMT -5. The time now is 01:27 PM.