Mysql server unable to start

Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Other
bnsupport ID: 06cf37c9-d3c0-1040-82f1-d9be2007a8cf
bitnami@ip-172-31-30-18:/opt/bitnami/mysql/bin$ sudo service bitnami start mysql
Job for bitnami.service failed because the control process exited with error code. See “systemctl status bitnami.service” and “journalctl -xe” for details.
bitnami@ip-172-31-30-18:/opt/bitnami/mysql/bin$ ^C
bitnami@ip-172-31-30-18:/opt/bitnami/mysql/bin$ systemctl status bitnami.service
● bitnami.service - LSB: bitnami init script
Loaded: loaded (/etc/init.d/bitnami; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2020-09-07 18:23:01 UTC; 45s ago
Process: 19934 ExecStart=/etc/init.d/bitnami start (code=exited, status=3)
Tasks: 12
Memory: 373.0M
CPU: 8.481s
CGroup: /system.slice/bitnami.service
├─ 2189 /usr/bin/gonit
├─20500 /bin/sh /opt/bitnami/mysql/scripts/ start
└─21042 sleep 3

Hello @amergingtech,

I can see this error in your /opt/bitnami/mysql/data/mysqld.log:

2020-09-07T14:53:02.960747Z 0 [ERROR] Unix socket lock file is empty /opt/bitnami/mysql/tmp/mysql.sock.lock.
2020-09-07T14:53:02.960752Z 0 [ERROR] Unable to setup unix socket lock file.
2020-09-07T14:53:02.960756Z 0 [ERROR] Aborting

Can you try to remove that file and restart the MySQL’s service?

sudo rm -rf /opt/bitnami/mysql/tmp/mysql.sock.lock
sudo /opt/bitnami/ restart mysql

I hope it helps

Hello davidg,
Thanks you so much for your support , it works !!!


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