NethServer Version: 7.3
Module: server-manager
Some time after reboot getting read-only filesystem with two different (testing) virtual machines.
VM server with openldap account provider
Updating to CentOS 7.4 (some expected warnings):
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
warning: /etc/dnsmasq.conf created as /etc/dnsmasq.conf.rpmnew
Warning: slapd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew
warning: /etc/chrony.conf created as /etc/chrony.conf.rpmnew
warning: /etc/chrony.keys created as /etc/chrony.keys.rpmnew
After CentOS 7.4 updates, rebooted the server and the time came wrong.
Getting Nethgui: 500 - Internal server error
when accessing “date and time”, “Services”, slow response, and finally no access.
Read-only filesystem messages, probably causing issues like:
- Many errors regarding rrdtool and collectd.
- Multiple services failed to start.
Sep 13 22:22:49 server.domain.tld kernel: XFS (dm-0): unknown mount option [acl].
Sep 13 22:22:49 server.domain.tld systemd-journal[508]: Journal started
Sep 13 22:22:46 server.domain.tld systemd[1]: systemd 219 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID +ELFUTIL
Sep 13 22:22:46 server.domain.tld systemd[1]: Detected virtualization kvm.
Sep 13 22:22:46 server.domain.tld systemd[1]: Detected architecture x86-64.
Sep 13 22:22:46 server.domain.tld systemd[1]: Set hostname to <server.domain.tld>.
Sep 13 22:22:50 server.domain.tld systemd[1]: Started LVM2 metadata daemon.
Sep 13 22:22:50 server.domain.tld systemd[1]: Starting LVM2 metadata daemon...
Sep 13 22:22:50 server.domain.tld systemd-remount-fs[511]: mount: / not mounted or bad option
Sep 13 22:22:50 server.domain.tld systemd-remount-fs[511]: In some cases useful info is found in syslog - try
Sep 13 22:22:50 server.domain.tld systemd-remount-fs[511]: dmesg | tail or so.
Sep 13 22:22:50 server.domain.tld systemd-remount-fs[511]: /bin/mount for / exited with exit status 32.
Sep 13 22:22:50 server.domain.tld systemd[1]: systemd-remount-fs.service: main process exited, code=exited, status=1/FAILURE
Sep 13 22:22:50 server.domain.tld systemd[1]: Failed to start Remount Root and Kernel File Systems.
Sep 13 22:22:50 server.domain.tld systemd[1]: Unit systemd-remount-fs.service entered failed state.
Sep 13 22:22:50 server.domain.tld systemd[1]: systemd-remount-fs.service failed.
Sep 13 22:22:50 server.domain.tld systemd[1]: Starting Configure read-only root support...
Sep 13 22:33:28 server.domain.tld dbus[884]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Sep 13 22:33:28 server.domain.tld dbus-daemon[884]: dbus[884]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Sep 13 22:33:28 server.domain.tld systemd[1]: systemd-timedated.service failed to run 'start' task: Read-only file system
Sep 13 22:33:28 server.domain.tld systemd[1]: Failed to start Time & Date Service.
Sep 13 22:33:28 server.domain.tld systemd[1]: Unit systemd-timedated.service entered failed state.
Sep 13 22:33:28 server.domain.tld systemd[1]: systemd-timedated.service failed.
Sep 13 22:33:28 server.domain.tld systemd[1]: Starting Time & Date Service...
Sep 13 22:33:53 server.domain.tld dbus[884]: [system] Failed to activate service 'org.freedesktop.timedate1': timed out
Sep 13 22:33:53 server.domain.tld dbus-daemon[884]: dbus[884]: [system] Failed to activate service 'org.freedesktop.timedate1': timed out
Sep 13 22:33:53 server.domain.tld httpd[2341]: [EXCEPTION] RuntimeException 1383145266: Socket read error (in /usr/share/nethesis/Nethgui/System/EsmithDatabase.php:376)
Sep 13 22:33:53 server.domain.tld systemd[1]: smwingsd.service: main process exited, code=exited, status=11/n/a
Sep 13 22:33:53 server.domain.tld systemd[1]: Unit smwingsd.service entered failed state.
Sep 13 22:33:53 server.domain.tld systemd[1]: smwingsd.service failed.
Sep 13 22:33:53 server.domain.tld httpd[2341]: [EXCEPTION] RuntimeException 1383145263: Socket write error (in /usr/share/nethesis/Nethgui/System/EsmithDatabase.php:367)
Sep 13 22:33:53 server.domain.tld httpd[2341]: [EXCEPTION] RuntimeException 1383145263: Socket write error (in /usr/share/nethesis/Nethgui/System/EsmithDatabase.php:367)
Sep 13 22:33:53 server.domain.tld httpd[2341]: [EXCEPTION] UnexpectedValueException 1350909145: Nethgui\System\EsmithDatabase: internal database command failed (in /usr/share/nethesis/Nethgui/System/EsmithDataba
Sep 13 22:34:13 server.domain.tld collectd[1217]: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/server.domain.tld/cpu-0/cpu-interrupt.rrd) failed: /var/lib/collectd/rrd/server.domain.tld/cpu-0/cpu-interrup
Sep 13 22:42:02 server.domain.tld systemd[1]: chronyd.service failed to run 'start' task: Read-only file system
Sep 13 22:42:02 server.domain.tld systemd[1]: Failed to start NTP client/server.
Sep 13 22:42:02 server.domain.tld systemd[1]: Unit chronyd.service entered failed state.
Sep 13 22:42:02 server.domain.tld systemd[1]: chronyd.service failed.
Sep 13 22:42:02 server.domain.tld systemd[1]: Starting NTP client/server...
Sep 13 22:45:13 server.domain.tld httpd[1814]: [WARNING] Nethgui\System\NethPlatform: fsockopen(): unable to connect to unix:///var/run/smwingsd.sock:-1 (Connection refused)
Sep 13 22:45:13 server.domain.tld httpd[1814]: [WARNING] Invalid socket (111): Connection refused. Fall back to exec().
Sep 13 22:45:13 server.domain.tld sudo[2222]: srvmgr : TTY=unknown ; PWD=/usr/share/nethesis/nethserver-manager ; USER=root ; COMMAND=/sbin/e-smith/db configuration getjson
Sep 13 22:45:13 server.domain.tld dbus[892]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Sep 13 22:45:13 server.domain.tld dbus-daemon[892]: dbus[892]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service'
Sep 13 22:45:13 server.domain.tld systemd[1]: systemd-timedated.service failed to run 'start' task: Read-only file system
Sep 13 22:45:13 server.domain.tld systemd[1]: Failed to start Time & Date Service.
Sep 13 22:45:13 server.domain.tld systemd[1]: systemd-timedated.service failed.
Sep 13 22:45:13 server.domain.tld systemd[1]: Starting Time & Date Service...
Sep 13 22:45:38 server.domain.tld dbus[892]: [system] Failed to activate service 'org.freedesktop.timedate1': timed out
Sep 13 22:45:38 server.domain.tld dbus-daemon[892]: dbus[892]: [system] Failed to activate service 'org.freedesktop.timedate1': timed out
Sep 13 22:45:38 server.domain.tld httpd[1814]: [EXCEPTION] UnexpectedValueException 1350896938: Nethgui\System\EsmithDatabase: internal database command failed! (in /usr/share/nethesis/Nethgui/System/EsmithDatab
VM server with AD account provider
No connection to server-manager
Many “Read-only file system” error messages, mostly causing errors like:
Sep 13 23:47:03 server.domain.tld esmith::event[3294]: Event: nethserver-firewall-base-save FAILED
Sep 13 23:47:03 server.domain.tld esmith::event[3145]: Action: /etc/e-smith/events/trusted-networks-modify/S94firewall-adjust FAILED: 1 [0.565999]
Sep 13 23:47:03 server.domain.tld esmith::event[3145]: Event: trusted-networks-modify FAILED
Sep 13 23:47:03 server.domain.tld nethserver-config-network[1163]: Action: /etc/e-smith/events/interface-update/S95trusted-networks-modify FAILED: 1 [3.295498]
Sep 13 23:47:03 server.domain.tld nethserver-config-network[1163]: Event: interface-update FAILED
Sep 13 23:47:03 server.domain.tld systemd[1]: nethserver-config-network.service: main process exited, code=exited, status=1/FAILURE
Sep 13 23:47:03 server.domain.tld systemd[1]: Failed to start Reconfigure newtork interfaces.
Sep 13 23:47:03 server.domain.tld systemd[1]: Unit nethserver-config-network.service entered failed state.
Sep 13 23:47:03 server.domain.tld systemd[1]: nethserver-config-network.service failed.