LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-31-2018, 04:09 PM   #1
MrMeeSeeks
Member
 
Registered: Jan 2017
Posts: 32

Rep: Reputation: Disabled
AppArmor fails on start-up, seems like it's due to MySQL


I recently realized, that AppArmor always fails on startup, and this is what
service status returns. I don't quite get this and don't really know how to go about this. This might just as well be in the Newbies section, but I thought it might be more appropriate here.

● apparmor.service - LSB: AppArmor initialization
Loaded: loaded (/etc/init.d/apparmor; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Do 2018-05-31 22:15:59 CEST; 39min ago
Docs: man:systemd-sysv-generator(8)
Process: 392 ExecStart=/etc/init.d/apparmor start (code=exited, status=123)

Mai 31 22:15:56 user apparmor[392]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Mai 31 22:15:56 user apparmor[392]: AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 9: Could not open 'abstractions/mysql'
Mai 31 22:15:56 user apparmor[392]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Mai 31 22:15:56 user apparmor[392]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Mai 31 22:15:56 user apparmor[392]: AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 9: Could not open 'abstractions/mysql'
Mai 31 22:15:59 user apparmor[392]: ...fail!
Mai 31 22:15:59 user systemd[1]: apparmor.service: Control process exited, code=exited status=123
Mai 31 22:15:59 user systemd[1]: Failed to start LSB: AppArmor initialization.
Mai 31 22:15:59 user systemd[1]: apparmor.service: Unit entered failed state.
Mai 31 22:15:59 user systemd[1]: apparmor.service: Failed with result 'exit-code'.
 
Old 06-01-2018, 08:55 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try this: https://askubuntu.com/questions/7672...-exit-code-123
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Freshly installed Mysql (mysql-community-server) fails to start cpartsenidis Linux - Software 2 02-12-2015 12:41 AM
[Solved] mysql won't start due to bash-completion errors simon1tanismypassword Linux - General 8 07-29-2014 02:49 AM
Building apache module fails due to threadsafe mysql ? Mil0 Linux - Software 3 04-23-2012 01:06 AM
NFSd fails to start due to RPC? TexasDex Linux - Software 10 03-23-2010 02:02 AM
Problem changing mysql uid,gid: mysql start fails gjatute Linux - Newbie 7 02-25-2010 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration