I narrowed it down to the /var/opt/sabnzbd folder. If I remove the folder and reload the service it starts fine. If the folder exists it cannot load and I get this error.
Code
root@Sherwood-PC:~# journalctl -xn
-- Logs begin at Tue 2018-02-06 13:13:08 CST, end at Tue 2018-02-06 13:43:15 CST. --
Feb 06 13:43:13 Sherwood-PC sabnzbd[2076]: Starting SABnzbd
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: Traceback (most recent call last):
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: File "SABnzbd.py", line 1733, in <module>
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: main()
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: File "SABnzbd.py", line 884, in main
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: https_port = int(arg)
Feb 06 13:43:15 Sherwood-PC sabnzbd[2076]: ValueError: invalid literal for int() with base 10: ''
Feb 06 13:43:15 Sherwood-PC systemd[1]: sabnzbd.service: control process exited, code=exited status=1
Feb 06 13:43:15 Sherwood-PC systemd[1]: Failed to start LSB: SABnzbd binary newsgrabber.
-- Subject: Unit sabnzbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit sabnzbd.service has failed.
--
-- The result is failed.
Feb 06 13:43:15 Sherwood-PC systemd[1]: Unit sabnzbd.service entered failed state.
root@Sherwood-PC:~#
Alles anzeigen
I think it is due the permissions which read like this on a new OVM installation:
Bash
root@Sherwood-PC:~# getfacl /var/opt/sabnzbd/
getfacl: Removing leading '/' from absolute path names
# file: var/opt/sabnzbd/
# owner: vpn
# group: users
user::rwx
group::rwx
other::rwx
an old OVM installation shows permissions like this:
Code
root@Hershey-PC:~# getfacl /var/opt/sabnzbd/
getfacl: Removing leading '/' from absolute path names
# file: var/opt/sabnzbd/
# owner: vpn
# group: users
user::rwx
user:vpn:rwx
group::r-x
mask::rwx
other::r-x
root@Hershey-PC:~#
Alles anzeigen
Should I set the ACL myself to correct this or is there a function within OVM to fix this? As I know some things like group membership and stuff you should stay in the GUI.
PS. If you think I should set the ACL, hints would be welcome on how as I have never done this before.