- From: S Ahmed <
>
- To:
- Subject: [chef] Re: Re: Re: mysql recipe error on ubuntu 12.04
- Date: Sun, 11 Nov 2012 12:05:58 -0500
Boyd/Paul,
Thanks for the help.
Boyd, according to my.cnf it seems logging is in syslog, it reads:
# * Logging and Replication
#
# Both location gets rotated by the cronjob.
# Be aware that this log type is a performance killer.
#log = /var/log/mysql/mysql.log
#
# Error logging goes to syslog. This is a Debian improvement :)
>restart mysql
estart: Rejected send message, 1 matched rules; type="method_call", sender=":1.7" (uid=1000 pid=1128 comm="restart mysql ") interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
>sudo restart mysql
restart: Unknown instance:
syslog shows:
Nov 11 16:46:23 removed kernel: [54062688.327783] audit_printk_skb: 9 callbacks suppressed
Nov 11 16:46:23 removed kernel: [54062688.327787] type=1400 audit(1352652383.807:14): apparmor="DENIED" operation="open" parent=1 profile=""/usr/sbin/mysqld"" name="/etc/mysql/mysql/conf.d/" pid=745 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=106
Nov 11 16:46:23 removed kernel: [54062688.329541] init: mysql main process (745) terminated with status 1
Nov 11 16:46:23 removed kernel: [54062688.329586] init: mysql main process ended, respawning
Nov 11 16:46:24 removed kernel: [54062689.210421] init: mysql post-start process (752) terminated with status 1
Nov 11 16:46:24 removed kernel: [54062689.225176] type=1400 audit(1352652384.703:15): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=821 comm="apparmor_parser"
Nov 11 16:46:24 removed kernel: [54062689.244978] type=1400 audit(1352652384.723:16): apparmor="DENIED" operation="open" parent=1 profile=""/usr/sbin/mysqld"" name="/etc/mysql/mysql/conf.d/" pid=825 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=106
Nov 11 16:46:24 removed kernel: [54062689.246024] init: mysql main process (825) terminated with status 1
Nov 11 16:46:24 removed kernel: [54062689.246068] init: mysql main process ended, respawning
Nov 11 16:46:24 removed kernel: [54062689.255999] init: mysql post-start process (826) terminated with status 1
Nov 11 16:46:24 removed kernel: [54062689.272705] type=1400 audit(1352652384.751:17): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/mysqld" pid=841 comm="apparmor_parser"
Nov 11 16:46:24 removed kernel: [54062689.291636] type=1400 audit(1352652384.771:18): apparmor="DENIED" operation="open" parent=1 profile=""/usr/sbin/mysqld"" name="/etc/mysql/mysql/conf.d/" pid=845 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=0 ouid=106
Nov 11 16:46:24 removed kernel: [54062689.292787] init: mysql main process (845) terminated with status 1
Nov 11 16:46:24 removed kernel: [54062689.292832] init: mysql respawning too fast, stopped
Nov 11 16:46:29 removed ntpdate[470]: adjust time server 91.189.94.4 offset 0.408380 sec
Nov 11 16:46:31 ip-10removed-114-198-63 kernel: [54062696.205953] eth0: no IPv6 routers present
Archive powered by MHonArc 2.6.16.