-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Description
Hello - I've tried to install this on Ubuntu 24 and CentOS 9 and it fails in the same spot.
I make it almost to the end of the install, and adding the service will yield the following results.
sudo systemctl enable netshot.service
Failed to enable unit: Cannot alias netshot.service as netshot.
[support@netshot netshot_0.20.01$ sudo systemctl status netshot.service
o netshot. service - Netshot
Loaded: loaded (/etc/systemd/system/netshot service; enabled; preset: disabled)
Active: inactive (dead)
[support@netshot netshot_0.20.01$ sudo systemctl start netshot
[support@netshot netshot_0.20.0]$ sudo systemctl status netshot.service
x netshot.service - Netshot
Loaded: loaded (/etc/systemd/system/netshot service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Wed 2024-11-13 20:52:29 CST; 2s ago
Duration: 8ms
Process: 2548 ExecStart=/usr/bin/java -jar /usr/local/netshot/netshot. jar (code=exited, status=203/EXEC)
Main PID: 2548 (code=exited, status=203/EXEC)
CPU: 3ms
Nov 13 20:52:29 netshot systemd[1]: Started Netshot.
Nov 13 20:52:29 netshot systemd[2548]: netshot.service: Failed to locate executable /usr/bin/java: Permission denied
Nov 13 20:52:29 netshot systemd[2548]: netshot.service: Failed at step EXEC spawning /usr/bin/java: Permission denied
Nov 13 20:52:29 netshot systemd[1]: netshot.service: Main process exited, code-exited, status=203/EXEC
Nov 13 20:52:29 netshot systemd[1]: netshot service: Failed with result 'exit-code'.
[support@netshot netshot_0.20.0]$