since a few day I have the RP3 with Hifiberry DAC+PRO running with RuneAudio. I'm very happy about functionality and sound quality!
However, when I leave the pi on for several hours, I cannot connect to the UI (webinterface) anymore. Login with ssh still works but only using the IP, not using the hostname, which before was no problem. Looking at systemctl status it say "degraded" because both logrotate.service and shadow.service have failed:
- Code: Select all
[root@runeaudio www]# systemctl status logrotate
● logrotate.service - Rotate log files
Loaded: loaded (/usr/lib/systemd/system/logrotate.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-06-17 18:46:00 CEST; 41min ago
Process: 23229 ExecStart=/usr/bin/logrotate /etc/logrotate.conf (code=exited, status=1/FAILURE)
Main PID: 23229 (code=exited, status=1/FAILURE)
Jun 17 18:46:00 runeaudio systemd[1]: Starting Rotate log files...
Jun 17 18:46:00 runeaudio logrotate[23229]: error: skipping "/var/log/runeaudio/ui_error.log" because parent directory has insecure permissio
Jun 17 18:46:00 runeaudio systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
Jun 17 18:46:00 runeaudio systemd[1]: Failed to start Rotate log files.
Jun 17 18:46:00 runeaudio systemd[1]: logrotate.service: Unit entered failed state.
Jun 17 18:46:00 runeaudio systemd[1]: logrotate.service: Failed with result 'exit-code'.
It seems to me that there is a problem with the permissions of /var/log/runeaudio. They are drwxrwxrwt.
- Code: Select all
[root@runeaudio ~]# systemctl status shadow.service
● shadow.service - Verify integrity of password and group files
Loaded: loaded (/usr/lib/systemd/system/shadow.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-06-17 19:37:54 CEST; 20s ago
Process: 25907 ExecStart=/usr/bin/pwck -r (code=exited, status=2)
Main PID: 25907 (code=exited, status=2)
Jun 17 19:37:54 runeaudio systemd[1]: Starting Verify integrity of password and group files...
Jun 17 19:37:54 runeaudio pwck[25907]: user 'mpd': directory '/home/mpd' does not exist
Jun 17 19:37:54 runeaudio pwck[25907]: user 'smbd': directory '/home/smbd' does not exist
Jun 17 19:37:54 runeaudio pwck[25907]: user 'upmpdcli': directory '/home/upmpdcli' does not exist
Jun 17 19:37:54 runeaudio pwck[25907]: user 'frank': directory '/home/frank' does not exist
Jun 17 19:37:54 runeaudio pwck[25907]: pwck: no changes
Jun 17 19:37:54 runeaudio systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 17 19:37:54 runeaudio systemd[1]: Failed to start Verify integrity of password and group files.
Jun 17 19:37:54 runeaudio systemd[1]: shadow.service: Unit entered failed state.
Jun 17 19:37:54 runeaudio systemd[1]: shadow.service: Failed with result 'exit-code'.
After a reboot, everything seems working again, but I think this shouldn't happen.
Any help would be much appreciated!!!
Thanks,
Uli