• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mysqld start failed

F

foscolino

Guest
/etc/init.d./mysqld start failed after install plesk 7.5.2

this is log:

050316 16:17:55 mysqld started
050316 16:17:56 InnoDB: Out of memory in additional memory pool.
InnoDB: InnoDB will start allocating memory from the OS.
InnoDB: You may get better performance if you configure a bigger
InnoDB: value in the MySQL my.cnf file for
InnoDB: innodb_additional_mem_pool_size.

can we help me?
 
Have you tried doing what it suggested? Increase the memory pool size for innodb ?
 
The failing to start is not an INNODB problem.

This problem may occur under OS FedoraCore 1, FC2, and CentOS. MySQL startup uses /usr/bin/mysqladmin utility with "ping" parameter, which requires administrator rights to be initialized. If there is Plesk installed in the system, the utility cannot be executed and it returns negative error code.

To resolve it, you should modify MySQL startup script.
In the /etc/init.d/mysqld script, find the following lines and insert -uadmin -p`cat /etc/psa/.psa.shadow` between /usr/bin/mysqladmin and "ping" as in the example below:

# Spin for a maximum of ten seconds waiting for the server to come up
if [ -n "`/usr/bin/mysqladmin ping 2> /dev/null`" ]; then
break;
else
sleep 1;
fi
done
if !([ -n "`/usr/bin/mysqladmin ping 2> /dev/null`" ]); then
echo "Timeout error occurred trying to start MySQL Daemon."
action $"Starting $prog: " /bin/false
else

# Spin for a maximum of ten seconds waiting for the server to come up
if [ -n "`/usr/bin/mysqladmin -uadmin -p`cat /etc/psa/.psa.shadow` ping 2> /dev/null`" ]; then
break;
else
sleep 1;
fi
done
if !([ -n "`/usr/bin/mysqladmin -uadmin -p`cat /etc/psa/.psa.shadow` ping 2> /dev/null`" ]); then
 
Back
Top