• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

ERROR: PleskFatalException: Unable to connect to database: mysql_connect()

Azurel

Silver Pleskian
Hello,

Since today 3:50am o'clock (server time) I get in 11.5.30 MU#32

ERROR: PleskFatalException: Unable to connect to database: mysql_connect(): No such file or directory (auth.php:142)

All domains can't connect to database.

I restart(shell) httpd and mysqld services and I get for plesk login now this error message:

ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused (Abstract.php:144)

Still, all domains not working.

After this I restart server with

shutdown -r now

and now all working again. Plesk login working now and all domains.


The server crash(?) cames with plesk(?) cronjobs. (So I think) I see in MRTG starting cronjob, because cpu rising and than breaking. In Plesk GUI cames a error hint with "unable to update plesk".

See:
pleskcpu.png


Can someone help me here the problem to investigate?
 
Last edited:
Oh.. I have it in the text-editor, but foget to paste. :D

140212 3:50:00 [Note] /usr/libexec/mysqld: Normal shutdown

140212 3:50:00 [Note] Event Scheduler: Purging the queue. 0 events
140212 3:50:02 [Warning] /usr/libexec/mysqld: Forcing close of thread 10047269 user: 'admin'

140212 3:50:02 [Warning] /usr/libexec/mysqld: Forcing close of thread 10047267 user: 'admin'

140212 3:50:02 [Warning] /usr/libexec/mysqld: Forcing close of thread 10047263 user: 'admin'

140212 3:50:02 [Warning] /usr/libexec/mysqld: Forcing close of thread 10047262 user: 'admin'

140212 3:50:03 InnoDB: Starting shutdown...
140212 3:50:04 InnoDB: Shutdown completed; log sequence number 60951866901
140212 3:50:04 [Note] /usr/libexec/mysqld: Shutdown complete

140212 03:50:04 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140212 03:50:09 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140212 3:50:09 [Note] libgovernor.so not found
140212 3:50:09 [Note] Plugin 'FEDERATED' is disabled.
140212 3:50:09 InnoDB: The InnoDB memory heap is disabled
140212 3:50:09 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140212 3:50:09 InnoDB: Compressed tables use zlib 1.2.3
140212 3:50:09 InnoDB: Using Linux native AIO
140212 3:50:09 InnoDB: Initializing buffer pool, size = 256.0M
140212 3:50:09 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 3:50:09 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 03:50:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140212 03:50:11 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140212 3:50:11 [Note] libgovernor.so not found
140212 3:50:12 [Note] Plugin 'FEDERATED' is disabled.
140212 3:50:12 InnoDB: The InnoDB memory heap is disabled
140212 3:50:12 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140212 3:50:12 InnoDB: Compressed tables use zlib 1.2.3
140212 3:50:12 InnoDB: Using Linux native AIO
140212 3:50:12 InnoDB: Initializing buffer pool, size = 256.0M
140212 3:50:12 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 3:50:12 InnoDB: Retrying to lock the first data file
140212 03:50:12 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140212 03:54:14 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140212 3:54:14 [Note] libgovernor.so not found
140212 3:54:14 [Note] Plugin 'FEDERATED' is disabled.
140212 3:54:14 InnoDB: The InnoDB memory heap is disabled
140212 3:54:14 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140212 3:54:14 InnoDB: Compressed tables use zlib 1.2.3
140212 3:54:14 InnoDB: Using Linux native AIO
140212 3:54:14 InnoDB: Initializing buffer pool, size = 256.0M
140212 3:54:14 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 3:54:14 InnoDB: Retrying to lock the first data file
140212 03:54:15 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140212 03:59:16 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140212 3:59:16 [Note] libgovernor.so not found
140212 3:59:16 [Note] Plugin 'FEDERATED' is disabled.
140212 3:59:16 InnoDB: The InnoDB memory heap is disabled
140212 3:59:16 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140212 3:59:16 InnoDB: Compressed tables use zlib 1.2.3
140212 3:59:16 InnoDB: Using Linux native AIO
140212 3:59:16 InnoDB: Initializing buffer pool, size = 256.0M
140212 3:59:16 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 3:59:16 InnoDB: Retrying to lock the first data file
140212 03:59:17 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140212 04:04:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140212 4:04:18 [Note] libgovernor.so not found
140212 4:04:18 [Note] Plugin 'FEDERATED' is disabled.
140212 4:04:18 InnoDB: The InnoDB memory heap is disabled
140212 4:04:18 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140212 4:04:18 InnoDB: Compressed tables use zlib 1.2.3
140212 4:04:18 InnoDB: Using Linux native AIO
140212 4:04:18 InnoDB: Initializing buffer pool, size = 256.0M
140212 4:04:18 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 4:04:18 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 04:04:20 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
140212 04:09:20 mysqld_safe A mysqld process already exists
140212 04:14:22 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140212 4:14:23 [Note] libgovernor.so not found
140212 4:14:23 [Note] Plugin 'FEDERATED' is disabled.
140212 4:14:23 InnoDB: The InnoDB memory heap is disabled
140212 4:14:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140212 4:14:23 InnoDB: Compressed tables use zlib 1.2.3
140212 4:14:23 InnoDB: Using Linux native AIO
140212 4:14:23 InnoDB: Initializing buffer pool, size = 256.0M
140212 4:14:23 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
40212 4:14:23 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140212 04:14:24 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

The next lines are my mysql and server restart.
 
Last edited:
Back
Top