 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

8th August 2004, 05:26 AM
|
|
Registered User
|
|
Join Date: May 2004
Age: 27
Posts: 133

|
|
|
mysqld won't start
i installed mysql with apt-get install mysql-server. it installed fine. but when i try to start the service, i get this error:
Quote:
# /sbin/service mysqld start
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
|
i've never installed mysql before, so is there something else i have to do before it will work correctly?
|

11th August 2004, 07:59 PM
|
|
Registered User
|
|
Join Date: May 2004
Age: 27
Posts: 133

|
|
|
nobody knows? well, let me rephrase my question.
is there a guide somewhere on how to get mysql working on fc2? do you have to do anything after installing the rpm? have other people gotten it working? if so, what did you do?
|

11th August 2004, 08:07 PM
|
 |
Retired Admin
|
|
Join Date: Jan 2004
Location: Penguin Land
Age: 63
Posts: 1,939

|
|
|
Post your my.cnf and also the error log file
|

11th August 2004, 08:27 PM
|
|
Registered User
|
|
Join Date: May 2004
Age: 27
Posts: 133

|
|
here is the my.cnf, i believe it's the default.
Code:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
[mysql.server]
user=mysql
basedir=/var/lib
[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
error log:
Code:
040808 00:25:33 mysqld started
Cannot initialize InnoDB as 'innodb_data_file_path' is not set.
If you do not want to use transactional InnoDB tables, add a line
skip-innodb
to the [mysqld] section of init parameters in your my.cnf
or my.ini. If you want to use InnoDB tables, add to the [mysqld]
section, for example,
innodb_data_file_path = ibdata1:10M:autoextend
But to get good performance you should adjust for your hardware
the InnoDB startup options listed in section 2 at
http://www.innodb.com/ibman.html
040808 0:25:33 /usr/libexec/mysqld: Incorrect information in file: './mysql/host.frm'
040808 00:25:33 mysqld ended
|

11th August 2004, 08:51 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Location: Canada
Posts: 344

|
|
|
I'ver always started the MYSQL service through the Services GUI tool under System Settings. The precise name of the tool escapes me at the momment and I can't check it because I'm on a Windows box at work. Anyway, it's always worked for me. Perhaps the script that the tool generates has a parm or something.
Paul
|

11th August 2004, 08:53 PM
|
|
Registered User
|
|
Join Date: May 2004
Age: 27
Posts: 133

|
|
|
when i start it through the gui, it says "mysqld dead but subsys locked" and i get the same error in the error log.
|

11th August 2004, 09:12 PM
|
 |
Retired Admin
|
|
Join Date: Jan 2004
Location: Penguin Land
Age: 63
Posts: 1,939

|
|
|
okay, you should add skip-innodb under socket=/var/lib/mysql/mysql.sock and then try again
|

11th August 2004, 11:24 PM
|
|
Registered User
|
|
Join Date: May 2004
Age: 27
Posts: 133

|
|
i did that, but it still won't work. now the log contains this this:
Quote:
040811 18:22:30 mysqld started
040811 18:22:30 /usr/libexec/mysqld: Incorrect information in file: './mysql/host.frm'
040811 18:22:30 /usr/libexec/mysqld: Normal shutdown
|
i can't find any host.frm file on my system.
|

14th August 2004, 06:37 PM
|
|
Registered User
|
|
Join Date: May 2004
Age: 27
Posts: 133

|
|
|
now i've found host.frm, it's in /var/lib/mysql/mysql/host.frm. for some reason the gnome search program couldn't find it though.
anyways, it appears that it's not a text file, so i don't know how to edit it if there's something wrong. can anyone help?
|

23rd August 2004, 11:03 AM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 1

|
|
|
I have the same problem on FC1 with a clean installation and a clean RPM (yum) installation of mysql-server-3.23.58-4. It seams like a bug in FC1 in combination with MySQL. The most strange part is the "mysqld start" reports a time-out but the service seams to run with "ps -aux|grep mysql".
If you search google.com with this problems you get a lot of result but nobody knows an answer. Everybody is looking in the config but I think ther is same other problemen. Most likly a bug?
|

24th August 2004, 03:03 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 10

|
|
I have exactly the same problem with my fedora2 
I try to start mysql server and I get "mysqld dead but subsys locked" !!!
What can I do to make it work?
Please help!
goe
|

30th August 2004, 12:29 PM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 11

|
|
|
what OS are you using.
TT
|

30th August 2004, 01:20 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Location: Canada
Posts: 344

|
|
|
Last week, I tried MySQL on FC2 for the first time and I got the same error, i.e. "mysqld dead but subsys locked". I played around with the startup script and couldn't get it to work. I uninstalled MySQL and installed PostgreSQL instead. A couple of days later, I decided to try MySQL again, and it worked! I don't know what I did!
|

24th September 2004, 05:03 PM
|
|
Guest
|
|
Posts: n/a

|
|
Quote:
|
Originally Posted by Aardvark Freak
when i start it through the gui, it says "mysqld dead but subsys locked" and i get the same error in the error log.
|
I found this posted on another forum--- try at own risk
If you run
killall -9 mysqld ---> may take a couple of attempts
then
/etc/rc.d/init.d/mysqld restart
mysql should turn over and run fine again.
|

24th September 2004, 06:32 PM
|
 |
Registered User
|
|
Join Date: Sep 2004
Location: Middlesex, UK
Age: 24
Posts: 5

|
|
try starting it up with....
Code:
/etc/init.d/mysqld start
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 16:10 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|