-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting MariaDB database server mysqld ...fail! #19
Comments
I am having this exact same issue. mysql error.log says its permissions based however i see that the permissions have been set just fine. Would this be due to not being run on unRAID?
Permissions:
|
Where do you have these volumes mapped? These are Unraid specific and would need to be changed for your system,. |
same location - they exist on the host in /mnt/cache/appdata/Zoneminder and exist in the container as /config and /var/cache/zoneminder for the .../data volume Also just tried creating the host folders in the users home directory. same deal. on the host the mysql folder is owned by "messagebus:syslog"
|
have anyone fixed this issues ? |
Hello.
I'm quite new to docker. but have ran other images with some issues that I was able to fix.
Best Regards.
DM
Setting shared memory to : 50% of 16294700 bytes
Starting services
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
/usr/sbin/policy-rc.d returned 101, not running 'stop zoneminder.service'
Detected db service is mysql.service
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
/usr/sbin/policy-rc.d returned 101, not running 'start mysql.service'
Failed to connect to bus: No such file or directory
NOTE: MySQL/MariaDB not running; please start mysql and run dpkg-reconfigure zoneminder when it is running.
/usr/sbin/policy-rc.d returned 101, not running 'restart zoneminder.service'
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Jan 31 22:01:26 galacticempire /etc/init.d/mysql[453]: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz
...fail!
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/bin/zmupdate.pl line 71.
BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71.
Starting ZoneMinder:
DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Config.pm line 117.
Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 166.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 166.
Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
Compilation failed in require at /usr/bin/zmpkg.pl line 34.
BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
ZoneMinder failed to start
*** /etc/my_init.d/40_firstrun.sh failed with status 255
*** Killing all processes...
Jan 31 22:02:06 galacticempire syslog-ng[16]: syslog-ng shutting down; version='3.5.6'
The text was updated successfully, but these errors were encountered: