I've got a fresh of zoneminder 1.32 on ubuntu server 18.04.02.
It worked like a charmed for few weeks, but now the services apache2, mysql and ZM don't start.
I think I have a problem with the resources
Code: Select all
continental@continental1984:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 3.7G 0 3.7G 0% /dev
tmpfs 764M 86M 678M 12% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 2.7T 1.8T 755G 71% /
tmpfs 3.8G 0 3.8G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
/dev/loop0 90M 90M 0 100% /snap/core/6673
/dev/loop1 91M 91M 0 100% /snap/core/6350
/dev/loop2 90M 90M 0 100% /snap/core/6818
/dev/sda2 976M 143M 767M 16% /boot
tmpfs 764M 0 764M 0% /run/user/1000
continental@continental1984:~$
Code: Select all
continental@continental1984:~$ sudo systemctl status apache2.service
sudo: unable to resolve host continental1984: Resource temporarily unavailable
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: resources)
May 22 10:44:34 continental1984 systemd[1]: apache2.service: Failed to run 'start' task: Read-only file system
May 22 10:44:34 continental1984 systemd[1]: apache2.service: Failed with result 'resources'.
May 22 10:44:34 continental1984 systemd[1]: Failed to start The Apache HTTP Server.
continental@continental1984:~$ sudo systemctl start apache2.service
sudo: unable to resolve host continental1984: Resource temporarily unavailable
Job for apache2.service failed because of unavailable resources or another system error.
See "systemctl status apache2.service" and "journalctl -xe" for details.
Code: Select all
continental@continental1984:~$ sudo systemctl status mysql.service
sudo: unable to resolve host continental1984: Resource temporarily unavailable
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-05-22 10:44:14 CEST; 10min ago
Process: 3774 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
Process: 3754 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
May 22 10:44:14 continental1984 systemd[1]: mysql.service: Service hold-off time over, scheduling restart.
May 22 10:44:14 continental1984 systemd[1]: mysql.service: Scheduled restart job, restart counter is at 5.
May 22 10:44:14 continental1984 systemd[1]: Stopped MySQL Community Server.
May 22 10:44:14 continental1984 systemd[1]: mysql.service: Start request repeated too quickly.
May 22 10:44:14 continental1984 systemd[1]: mysql.service: Failed with result 'exit-code'.
May 22 10:44:14 continental1984 systemd[1]: Failed to start MySQL Community Server.
Code: Select all
continental@continental1984:~$ sudo systemctl status zoneminder.service
sudo: unable to resolve host continental1984: Resource temporarily unavailable
● zoneminder.service - ZoneMinder CCTV recording and surveillance system
Loaded: loaded (/lib/systemd/system/zoneminder.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2019-05-22 10:55:14 CEST; 7s ago
Process: 4986 ExecStart=/usr/bin/zmpkg.pl start (code=exited, status=255)
continental@continental1984:~$
Code: Select all
continental@continental1984:~$ sudo journalctl -xe
sudo: unable to resolve host continental1984: Resource temporarily unavailable
May 22 10:57:07 continental1984 systemd[1]: zoneminder.service: Failed with result 'exit-code'.
May 22 10:57:07 continental1984 systemd[1]: Failed to start ZoneMinder CCTV recording and surveillance system.
-- Subject: Unit zoneminder.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit zoneminder.service has failed.
--
-- The result is RESULT.
May 22 10:57:10 continental1984 sudo[5179]: continental : unable to resolve host continental1984
May 22 10:57:10 continental1984 sudo[5179]: continental : problem with defaults entries ; TTY=pts/0 ; PWD=/home/continental ; USER=root ;
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' resumed (module 'builtin:omfile') [v8.32.0 try http://www.rsyslog.com/e/2359 ]
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), retry 0. There should be messages before this one giving the r
May 22 10:57:10 continental1984 rsyslogd[1070]: action 'action 2' suspended (module 'builtin:omfile'), next retry is Wed May 22 10:57:40 2019, retry nbr 0. There sho
May 22 10:57:10 continental1984 sudo[5179]: continental : TTY=pts/0 ; PWD=/home/continental ; USER=root ; COMMAND=/bin/journalctl -xe
May 22 10:57:10 continental1984 sudo[5179]: pam_unix(sudo:session): session opened for user root by continental(uid=0)
thanks Paolo