package mysql-server-5.7 5.7.19-0ubuntu0.16.04.1 failed to install/upgrade: el subproceso instalado el script post-installation devolvió el código de salida de error 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
Confirmed
|
Undecided
|
Wilmer |
Bug Description
Problemas con conexion mysql
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.19-
ProcVersionSign
Uname: Linux 4.8.0-52-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Fri Aug 18 21:32:56 2017
ErrorMessage: el subproceso instalado el script post-installation devolvió el código de salida de error 1
Logs.var.
MySQLConf.
MySQLConf.
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
ProcCmdline: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.19-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in mysql-5.7 (Ubuntu): | |
assignee: | nobody → Wilmer (acero368-w) |
Hi Henry,
here from your logs:
2017-08- 19T02:34: 03.788619Z 0 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306 19T02:34: 03.788629Z 0 [Note] - '127.0.0.1' resolves to '127.0.0.1'; 19T02:34: 03.788651Z 0 [Note] Server socket created on IP: '127.0.0.1'. 19T02:34: 03.788668Z 0 [ERROR] Can't start server: Bind on TCP/IP port: Address already in use 19T02:34: 03.788671Z 0 [ERROR] Do you already have another mysqld server running on port: 3306 ? 19T02:34: 03.788687Z 0 [ERROR] Aborting
2017-08-
2017-08-
2017-08-
2017-08-
2017-08-
So it seems you have (another mysql) service running on that port which makes install/upgrade of the package fail as they have to (re-)start the service.
Please check what is running on that port already and resolve that conflict - this should get you going again.
A way to check for that might be:
$ netstat -eeapn | less
And in there look for the 3306