Errors on when Running sudo soup on Sensor

123 views
Skip to first unread message

Brian Dorr

unread,
Aug 16, 2018, 6:19:56 AM8/16/18
to security-onion
I am receiving the following errors when running an update!

--------------------------------------------------------------

insserv: warning: current start runlevel(s) (empty) of script `mysql' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mysql' overrides LSB defaults (0 1 6).
insserv: warning: script 'ossec-hids-server' missing LSB tags and overrides
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) while connecting to the MySQL server
Upgrade process encountered error and will not continue.
mysql_upgrade failed with exit status 11
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.

dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.7
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Steven J

unread,
Aug 16, 2018, 8:14:30 AM8/16/18
to securit...@googlegroups.com
Hi Brian,

This rant may help.
https://utcc.utoronto.ca/~cks/space/blog/linux/Ubuntu1604MySQLUpdatePain

It suggests the update will fail if MySQL daemon is disabled, because the update process needs to stop and restart the daemon, but is not allowed to restart a disabled daemon.

Steven Malm
Roc-Analyst I
Lyrical Security
174 Spadina Ave, Suite 400, Toronto, ON, Canada - M5T 2C2


--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onion+unsubscribe@googlegroups.com.
To post to this group, send email to security-onion@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.

Wes Lambert

unread,
Aug 16, 2018, 8:18:01 AM8/16/18
to securit...@googlegroups.com
HI Brian,

You may want to see the following:


Thanks,
Wes

--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages