Issue:
How to start and stop the PowerChute Network Shutdown service
Product:
PowerChute Network Shutdown v4.1 and higher
Environment:
All supported operating systems
Solution:
NOTE: Enter the commands below in a command prompt with administrator privileges.
Windows
To start or stop the PowerChute service on Windows using the Services console:
To start or stop the service using the command prompt, type the following commands:
net start pcns1
net stop pcns1
Mac OS X
To start or stop the PowerChute service on the latest version of Mac OS X for PowerChute v4.x or higher, use the following commands:
sudo launchctl start com.apcc.pcns
sudo launchctl stop com.apcc.pcns
To start or stop the PowerChute service on earlier versions of PowerChute or Mac OS X, use the following commands:
sudo /Library/StartupItems/comapcpcns/comapcpcns start
sudo /Library/StartupItems/comapcpcns/comapcpcns stop
CentOS & AlmaLinux
To check if the PowerChute service is running, use the following command:
sudo service PowerChute status
or
sudo systemctl status PowerChute
To start or stop the PowerChute service, use the following commands
sudo service PowerChute start
sudo service PowerChute stop
or
sudo systemctl start PowerChute
sudo systemctl stop PowerChute
RedHat/SuSE Linux
To check if the PowerChute service is running on RedHat or SuSE Linux, use the following command:
sudo service PowerChute status
To start or stop the PowerChute service, use the following commands:
sudo service PowerChute start
sudo service PowerChute stop
Debian Linux
To check if the PowerChute service is running on Debian Linux, use the following command:
sudo systemctl status PowerChute
To start or stop the PowerChute service, use the following commands:
sudo systemctl start PowerChute
sudo systemctl stop PowerChute
Solaris
To start or stop the PowerChute service on Solaris, use the following commands:
sudo /etc/rc2.d/S99PowerChute start
sudo /etc/rc2.d/S99PowerChute stop
HP-UX
To start or stop the PowerChute service on HP-UX, use the following commands:
sudo /sbin/init.d/pcns start
sudo /sbin/init.d/pcns stop
IBM AIX
To start or stop the PowerChute service on AIX, use the following commands:
sudo /etc/rc.APCpcns start
sudo /etc/rc.APCpcns stop
Other Linux
Some Linux distributions place the PowerChute service script in the /etc/init.d directory, and others place it in the /etc/rc.d/init.d/ directory. To start or stop the PowerChute service in a particular directory, use the commands:
sudo /etc/init.d/PowerChute start
sudo /etc/init.d/PowerChute stop
or
sudo /etc/rc.d/init.d/PowerChute start
sudo /etc/rc.d/init.d/PowerChute stop
How to start and stop the PowerChute Network Shutdown service
Product:
PowerChute Network Shutdown v4.1 and higher
Environment:
All supported operating systems
Solution:
NOTE: Enter the commands below in a command prompt with administrator privileges.
Windows
To start or stop the PowerChute service on Windows using the Services console:
- Click Start > Run
- Type Services.msc to, and click OK.
- Click on the service named PowerChute Network Shutdown
- Click Start or Stop the service to start or stop the PowerChute service.
To start or stop the service using the command prompt, type the following commands:
net start pcns1
net stop pcns1
Mac OS X
To start or stop the PowerChute service on the latest version of Mac OS X for PowerChute v4.x or higher, use the following commands:
sudo launchctl start com.apcc.pcns
sudo launchctl stop com.apcc.pcns
To start or stop the PowerChute service on earlier versions of PowerChute or Mac OS X, use the following commands:
sudo /Library/StartupItems/comapcpcns/comapcpcns start
sudo /Library/StartupItems/comapcpcns/comapcpcns stop
CentOS & AlmaLinux
To check if the PowerChute service is running, use the following command:
sudo service PowerChute status
or
sudo systemctl status PowerChute
To start or stop the PowerChute service, use the following commands
sudo service PowerChute start
sudo service PowerChute stop
or
sudo systemctl start PowerChute
sudo systemctl stop PowerChute
RedHat/SuSE Linux
To check if the PowerChute service is running on RedHat or SuSE Linux, use the following command:
sudo service PowerChute status
To start or stop the PowerChute service, use the following commands:
sudo service PowerChute start
sudo service PowerChute stop
Debian Linux
To check if the PowerChute service is running on Debian Linux, use the following command:
sudo systemctl status PowerChute
To start or stop the PowerChute service, use the following commands:
sudo systemctl start PowerChute
sudo systemctl stop PowerChute
Solaris
To start or stop the PowerChute service on Solaris, use the following commands:
sudo /etc/rc2.d/S99PowerChute start
sudo /etc/rc2.d/S99PowerChute stop
HP-UX
To start or stop the PowerChute service on HP-UX, use the following commands:
sudo /sbin/init.d/pcns start
sudo /sbin/init.d/pcns stop
IBM AIX
To start or stop the PowerChute service on AIX, use the following commands:
sudo /etc/rc.APCpcns start
sudo /etc/rc.APCpcns stop
Other Linux
Some Linux distributions place the PowerChute service script in the /etc/init.d directory, and others place it in the /etc/rc.d/init.d/ directory. To start or stop the PowerChute service in a particular directory, use the commands:
sudo /etc/init.d/PowerChute start
sudo /etc/init.d/PowerChute stop
or
sudo /etc/rc.d/init.d/PowerChute start
sudo /etc/rc.d/init.d/PowerChute stop