DIGIT-ARC read-only archive · snapshot: July 23, 2026

Unable to retrieve installed service status (service not recognized) in Ubuntu

1 post · originally from https://geek.digit.in/community/threads/unable-to-retrieve-installed-service-status-service-not-recognized-in-ubuntu.197866/

S
Sinchan Sinha Original post #1
Jul 8, 2016 at 7:48 PM
I have a jar file running as service in system(logged in as root user). But unable to get the service status(running/stopped).

"sudo service <service_name> status" returns "<service_name>: unrecognized service".

"service --status-all" does not return installed service name in the list.

What should be the correct command to know whether the service jar is currently running or not?