You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
systemctl status smp-server.service gives this output:
Nov 06 22:59:09 simplex smp-server[1367]: Fingerprint: ***********************************
Nov 06 22:59:09 simplex smp-server[1367]: Server address: smp://******************************************
Nov 06 22:59:09 simplex smp-server[1367]: Store log: /var/opt/simplex/smp-server-store.log
Nov 06 22:59:09 simplex smp-server[1367]: Listening on port 5223 (TLS)...
Nov 06 22:59:09 simplex smp-server[1367]: expiring messages after 21 days
Nov 06 22:59:09 simplex smp-server[1367]: not expiring inactive clients
Nov 06 22:59:09 simplex smp-server[1367]: creating new queues requires password
Nov 06 22:59:09 simplex smp-server[1367]: smp-server: /var/opt/simplex/smp-server-store.log: openFile: permission denied (Permission denied)
Nov 06 22:59:09 simplex systemd[1]: smp-server.service: Main process exited, code=exited, status=1/FAILURE
Nov 06 22:59:09 simplex systemd[1]: smp-server.service: Failed with result 'exit-code'.
I useed the installation script on Debian 12.
It seems like user permission problem for the smp user
How can I get around this?
I recently ran the update script, didnt help.
If I run smp-server start as root then the server starts fine.
Also if I comment out the user and group lines in the servic file, the server runs fine.
But I do not want to run it as root, so how do I fix the permissions?
The text was updated successfully, but these errors were encountered:
TrustExecutor
changed the title
systemd service smp-server.service cnanot start
systemd service smp-server.service cannot start
Nov 7, 2023
...suggests there's something wrong with you permissions for that file or the whole folder. Official installation script correctly assigns permissions for the /var/opt and /etc/opthere, so not sure how you've got here. Maybe you tried to initialize server with just smp-server init and not sudo su smp -c "smp-server init"? The whole installation process described in the guide.
Anyway, try to execute chown -R smp:smp /var/opt/simplex and start systemd service again, hopefully this should fix it.
My smp-server does not start at boot.
systemctl status smp-server.service
gives this output:I useed the installation script on Debian 12.
It seems like user permission problem for the smp user
Here is the systemd script:
How can I get around this?
I recently ran the update script, didnt help.
If I run
smp-server start
as root then the server starts fine.Also if I comment out the user and group lines in the servic file, the server runs fine.
But I do not want to run it as root, so how do I fix the permissions?
The text was updated successfully, but these errors were encountered: