*** This bug is a duplicate of bug 1511432 ***
https://bugs.launchpad.net/bugs/1511432
HI,
I was trying to update a few servers today and they failed to update due
to an issue with mariadb, I checked one and got a similar issue, which
lead me here. I tried a manual stop of mariadb, which failed, so I
checked the mysql log files (all of them were empty) and syslog, which
had nothing to help (nothing in syslog at the time I tried the stop)...
The only thing I could think to try was to add a -x to the init script
to see what it was trying to do when it failed, I got the following
output, I hope this helps:
+ set -e
+ set -u
+ test -x /usr/sbin/mysqld
+ . /lib/lsb/init-functions
+++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d
2>/dev/null)'
++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
++ . /lib/lsb/init-functions.d/20-left-info-blocks
++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d
2>/dev/null)'
++ '[' -r /lib/lsb/init-functions.d/50-ubuntu-logging ']'
++ . /lib/lsb/init-functions.d/50-ubuntu-logging
+++ LOG_DAEMON_MSG=
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+++ dirname /etc/init.d/mysql
++ cd /etc/init.d
++ pwd -P
++ basename /etc/init.d/mysql
+ SELF=/etc/init.d/mysql
+ CONF=/etc/mysql/my.cnf
+ MYADMIN='/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf'
+ ERR_LOGGER='logger -p daemon.err -t /etc/init.d/mysql -i'
+ cd /
+ umask 077
+ export HOME=/etc/mysql/
+ HOME=/etc/mysql/
+ case "${1:-''}" in
+ log_daemon_msg 'Stopping MariaDB database server' mysqld
+ '[' -z 'Stopping MariaDB database server' ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xscreen '!=' x ']'
+ '[' xscreen '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ FANCYTTY=0
+ case "$FANCYTTY" in
+ false
+ echo ' * Stopping MariaDB database server' mysqld
* Stopping MariaDB database server mysqld
+ COL=
+ mysqld_status check_dead nowarn
++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping
+ ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\''
failed
error: '\''Access denied for user '\''debian-sys-maint'\''@'\''localhost'\''
(using password: YES)'\'''
+ ping_alive=1
+ ps_alive=0
++ mysqld_get_param pid-file
++ tr ' ' '\n'
++ grep -- --pid-file
++ cut -d= -f2
++ tail -n 1
++ /usr/sbin/mysqld --print-defaults
+ pidfile=/var/run/mysqld/mysqld.pid
+ '[' -f /var/run/mysqld/mysqld.pid ']'
++ cat /var/run/mysqld/mysqld.pid
+ ps 13861
+ ps_alive=1
+ '[' check_dead = check_alive -a 1 = 1 ']'
+ '[' check_dead = check_dead -a 1 = 0 -a 1 = 0 ']'
+ '[' nowarn = warn ']'
+ return 1
+ set +e
++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf shutdown
+ shutdown_out='/usr/bin/mysqladmin: connect to server at '\''localhost'\''
failed
error: '\''Access denied for user '\''debian-sys-maint'\''@'\''localhost'\''
(using password: YES)'\'''
+ r=1
+ set -e
+ '[' 1 -ne 0 ']'
+ log_end_msg 1
+ '[' -z 1 ']'
+ '[' '' ']'
+ '[' 1 -eq 0 ']'
+ echo ' ...fail!'
...fail!
+ return 1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1541233
Title:
failed to install/upgrade: service stop/start did not work
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mariadb-5.5/+bug/1541233/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs