SymptomsWhen trying to stop a service in a container through PVA Power Panel it results in the similar error:
Cannot start/stop/restart service: service "qmail" status is not "stopped" after command "stop"
CauseMost likely the script for retrieving status of the service does not return a proper output, e.g.:
-bash-3.2# service qmail status
While it should be something like:
-bash-3.2# service qmail statusqmail-send is stopped
This may happen if the script /etc/init.d/qmail is corrupted.