我在系统日志中看到以下内容,不确定哪里出了问题,如能得到任何帮助,我将不胜感激。这是因为自动内核更新导致的吗?因为我看到了新内核版本?
May 17 10:20:36 vps rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="456" x-info="http://www.rsyslog.com"] start
May 17 10:20:36 vps rsyslogd-3003: invalid or yet-unknown config file command 'KLogPermitNonKernelFacility' - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ]
May 17 10:20:36 vps rsyslogd: rsyslogd's groupid changed to 104
May 17 10:20:36 vps rsyslogd: rsyslogd's userid changed to 101
May 17 10:20:36 vps rsyslogd-2039: Could no open output pipe '/dev/xconsole': No such file or directory [try http://www.rsyslog.com/e/2039 ]
May 17 10:20:37 vps /etc/init.d/mysql[534]: 160517 10:20:37 mysqld_safe Can't log to error log and syslog at the same time. Remove all --log-error configuration options for --syslog to take effect.
May 17 10:20:39 vps /etc/mysql/debian-start[969]: Upgrading MySQL tables if necessary.
May 17 10:20:39 vps /etc/mysql/debian-start[972]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
May 17 10:20:39 vps /etc/mysql/debian-start[972]: Looking for 'mysql' as: /usr/bin/mysql
May 17 10:20:39 vps /etc/mysql/debian-start[972]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
May 17 10:20:39 vps /etc/mysql/debian-start[972]: Version check failed. Got the following error when calling the 'mysql' command line client
May 17 10:20:39 vps /etc/mysql/debian-start[972]: ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)
May 17 10:20:39 vps /etc/mysql/debian-start[972]: FATAL ERROR: Upgrade failed
May 17 10:20:39 vps /etc/mysql/debian-start[987]: Checking for insecure root accounts.
答案1
您已更改或删除用于维护 MySQL 的 debian 用户。'debian-sys-maint'@'localhost' http://www.electrictoolbox.com/restore-debian-sys-maint-mysql-user/