Which Linux distribution and version are you using?
The message is quite clear. It is trying to use the command "service" but can't find that command.
The "service" command is used in RedHat derived distributions such as RHEL, CentOS, Fedora, etc... for starting init scripts found in /etc/init.d and linked to run level directories /etc/rc1.d, /etc/rc2.d, /etc/rc3.d etc....
Later versions such as RHEL7/CentOS7 use systemd rather than standard init so have a preference for using systemctl over service but there has to be systemd file for it to do that. The "service" command still exists and can start some things.
Your error could be because of one of the following:
-You're not using a distribution that has the "service" command in which case you can usually start by executing the init script directly with the "start" flag.
-Your PATH variable doesn't include the directory where the service command is found. You can can run "find / -name service" to see where it is (if it is there).
-You're not running as root so don't have permission to execute the service command.
You really need to look at the requirements for the softwarre you're installing to see whether it is actually packaged to run on your distribution and version. Often you can find other packages that are designed for your distro/version.
Last edited by MensaWater; 08-16-2017 at 08:05 AM.
|