Fatal Error - mysql wont start

Hi All.

I don’t know why but I have a fatal error when trying to log into my server, the error is:
FATAL ERROR
DB Error: connect failed
Trace Back
/var/www/html/admin/libraries/db_connect.php:71 die_freepbx()
[0]: DB Error: connect failed

/var/www/html/admin/bootstrap.php:91 require_once()
[0]: /var/www/html/admin/libraries/db_connect.php

/etc/freepbx.conf:9 require_once()
[0]: /var/www/html/admin/bootstrap.php

/var/www/html/admin/config.php:99 include_once()
[0]: /etc/freepbx.conf

Under normal circumstances I would stop mysql, rename the mysql.sock file and restart mysql again, however…

I could not stop mysqld using the command service mysqld stop, so I ended up using the command pkill 20167 (which was the process ID of Mysql.

I managed to delete mysql.sock, but now I cannot restart using service mysqld start - I get a time out error.

I don’t know where I can find the log files (which I am sure will be the first bit of advice, so firstly I guess I would like someone to tell me where the mysql log files are.

Cheers

Mark,

Resolved.

The initial problem was caused by lack of disc space.

I have another issue now but will post separately.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.