[Bug 1790272] Re: package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1

Andreas Hasenack andreas at canonical.com
Mon Oct 1 20:01:54 UTC 2018


Thanks for filing this bug in Ubuntu.

I'm seeing this in the mysql error log:
2018-09-01T07:31:57.179473Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
2018-09-01T07:31:57.179486Z 0 [Note]   - '127.0.0.1' resolves to '127.0.0.1';
2018-09-01T07:31:57.179506Z 0 [Note] Server socket created on IP: '127.0.0.1'.
2018-09-01T07:31:57.179519Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use
2018-09-01T07:31:57.179523Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2018-09-01T07:31:57.179547Z 0 [ERROR] Aborting

Looks like something else is listening on mysql's port (3306).

After reboot, is mysql running? Could you show the output of these commands please:
sudo netstat -anp
sudo systemctl status mysql
tail /var/log/mysql/error.log
sudo apt update
sudo apt -f install
tail /var/log/mysql/error.log # again

Thanks


** Changed in: mysql-5.7 (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to mysql-5.7 in Ubuntu.
Matching subscriptions: main
https://bugs.launchpad.net/bugs/1790272

Title:
  package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 failed to
  install/upgrade: installed mysql-server-5.7 package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1790272/+subscriptions



More information about the Ubuntu-server-bugs mailing list