1

I was just browsing the system logs on my alestic Ubuntu 10.04 AWS EC2 production server, and found this:

daemon.log.1:Dec 9 22:45:42 server1 /etc/mysql/debian-start[865]: /usr/bin/mysqlcheck: Got error: 1045: Access denied for user 'debian-sys-maint'@'localhost' (using password: YES) when trying to connect daemon.log.1:Dec 9 22:45:42 server1 /etc/mysql/debian-start[865]: FATAL ERROR: Upgrade failed 

I'm assuming it came from a routine apt-get dist-upgrade. Is this something I need to address? It looks serious.

1 Answer 1

3

it looks like you deleted the debian-sys-maint user, or the password for this user needs to be reset. The init scripts use this account for stopping/starting and maintanence. It expects the password for this account to match the password found in /etc/mysql/debian.cnf. The user is typically created having all privileges.

2
  • Ok, thanks. Is there some way (once I've fixed the debian-sys-maint account) to re-run the upgrade process? Commented Dec 13, 2011 at 17:13
  • 1
    dpkg --configure -a will configure any packages remaining to be configured. apt-get -f install will "fix" any broken dependencies if any were left over from the failed upgrade. I'd not expect broken packages, but it should never be harmful to run. Commented Dec 13, 2011 at 17:15

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.