• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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