APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-06-28 10:12 PM . Last Modified: 2024-03-14 11:23 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 10:12 PM . Last Modified: 2024-03-14 11:23 PM
I've run in to a strange problem with powerchute network shutdown.
I'm trying to use a command file to launch a perl script when a shutdown signal is received. The Scripts all work fine (Perl file works, batch file execuited directly launched it) but not when used with PCNS.
The command file works as follows (.cmd file)
@START C:\folder\script.bat
And the batch file:
C:\PERL\bin\perl.exe c:\folder\ShutdownSAN.pl
Does anyone have any ideas?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 10:12 PM . Last Modified: 2024-03-14 11:23 PM
make sure to review [this article|http://nam-en.apc.com/cgi-bin/nam_en.cfg/php/enduser/std_adp.php?p_faqid=2441] to start.
also, you might need to do the following (assuming this is a windows system which it looks like it is):
-Go to Services and right click on the Agent service and choose Properties.
-Click on the "Log On" tab.
-Check the box for "Interact with Desktop".
-Close out and then Stop the network shutdown service and restart it.
make sure the computer where you are running the script has the appropriate permissions for where it is running the file (if its on a different machine).
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 10:12 PM . Last Modified: 2024-03-14 11:23 PM
make sure to review [this article|http://nam-en.apc.com/cgi-bin/nam_en.cfg/php/enduser/std_adp.php?p_faqid=2441] to start.
also, you might need to do the following (assuming this is a windows system which it looks like it is):
-Go to Services and right click on the Agent service and choose Properties.
-Click on the "Log On" tab.
-Check the box for "Interact with Desktop".
-Close out and then Stop the network shutdown service and restart it.
make sure the computer where you are running the script has the appropriate permissions for where it is running the file (if its on a different machine).
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.