Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

PCNS 4.4.3 VMWare Appliance -The ini file is missing shutdownCommandFile from section Shutdown.

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • PCNS 4.4.3 VMWare Appliance -The ini file is missing shutdownCommandFile from section Shutdown.
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to APC UPS Data Center & Enterprise Solutions Forum
Momo-70
Crewman Momo-70
Crewman

Posted: ‎2023-02-02 10:50 AM . Last Modified: ‎2023-02-02 10:54 AM

0 Likes
3
1934
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-02 10:50 AM . Last Modified: ‎2023-02-02 10:54 AM

PCNS 4.4.3 VMWare Appliance -The ini file is missing shutdownCommandFile from section Shutdown.

Hi,

 

I am running PCNS 4.4.3 VMWare Appliance.

I am running it on a VMWare ESXI 8.0 Host.
I am aware that in the PCNS Manual it says that it isnt officially supported on anything higher than VMWare ESXI 7.0, but we already had ESXI 8.0 with new servers in place, before buying the APC UPS, so I have run the PCNS VM Appliance up on it anyway, as I didn't have much choice.

It is actually working fine on the ESXI 8.0, the only issue I have is that in the Event Log I get the following error message:

ERROR: The ini file is missing shutdownCommandFile key from section Shutdown

 

I am aware that it is a known issue in the release notes and I have added the "shutdownCommandFile =" to the shutdown section of pcnsconfig.ini.

Now when I add the line into the ini file and reboot the VM, the error message no longer appears in the Event Log.

However what has been happening, is that for some unknown reason, the "shutdownCommandFile = " line that I add gets removed/deleted from the pcnsconfig.ini by itself at some unknown point, whilst the PCNS VM Appliance is running, and then when the VM is restarted again, the error msg reappears in the Event Log again.

 

I have tried adding the "shutdownCommandFile =" line to both the pcnsconfig.ini and the pcnsconfig_backup.ini, but the same happens to both files and the "shutdownCommandFile =" is removed/deleted from both files at some unknown point, and the error msg reappears in the Event Log whenever the VM is restarted.

Whilst the PCNS VM Appliance is continually running and never shutdown/restarted, after adding in the "shutdownCommandFile =" line and starting it backup, the Error msg doesn't appear in the log.
Once restarted the error msg returns and when I check the "shutdownCommandFile =" is gone from the pcnsconfig & backup ini files.

I have also stopped the PowerChute service after the VM appliance has been running for a while, with no error msg in the Event Log and have checked the pcnsconfig & backup files and the "shutdownCommandFile =" is gone.

Does anyone know what is causing this line to be removed/deleted from the ini files on its own, as having to continually add it back in every time I restart the VM appliance is just frustrating?

 

Thanks.

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 3
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2023-02-08 09:54 AM

0 Likes
0
1888
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-08 09:54 AM

@Momo-70 

 

There are a few reasons why the error will be posted. We are looking at providing a fix in a future release.

 

NOTE: The error can be ignored as it is just a nuisance. 

 

The possible causes are:

One:

  1. You have opened the Shutdown settings page.
  2. Click inside the shutdown command file textbox.
  3. Do not click the Apply button or make any changes.
  4. Navigate to the event log page; the error will be displayed.

Two:

  1. You have enabled an SSH action
  2. After a shutdown, you disable the SSH action.

Three:

  1. You have accepted the CEIP (Customer Experience Improvement Program)
  2. Modify the Consent key CEIPEnabled = true to CEIPEnabled = false in the ini file.
  3. Saved and restart PCNS

Four:

  1. You have edited the UPS on battery behavior
Reply

Link copied. Please paste this link to share this article on your social media post.

Momo-70
Crewman Momo-70
Crewman

Posted: ‎2023-02-09 12:10 PM . Last Modified: ‎2023-02-09 12:12 PM

0 Likes
0
1879
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-09 12:10 PM . Last Modified: ‎2023-02-09 12:12 PM

Thanks for your reply.

 

However I haven't done any of the four things you have listed.

I add the shtudownCommandFile =  line to the ini file, save it and reboot as per the Readme Release Notes for PCNS, that mentions to do that if you get the Error message in the Event Log.

 

After restarting the PCNS VM. the error is gone.

Then at some unknown point, without changing a single thing in PCNS interface, the "shutdownCommandFile =" line just gets removed from the ini all by itself.

Definitely a bug of some sort and PCNS must be doing something on its own that changes the ini file and deletes the line.

Reply

Link copied. Please paste this link to share this article on your social media post.

Momo-70
Crewman Momo-70
Crewman

Posted: ‎2023-02-12 11:21 AM . Last Modified: ‎2023-02-12 11:22 AM

0 Likes
0
1858
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-02-12 11:21 AM . Last Modified: ‎2023-02-12 11:22 AM

As the "shutdownCommandFIle =" line just keeps getting removed from the ini file by itself, and the error msg in the Event Log was just annoying, a workaround I came up with, was to create a blank script file and put that path in the Run Command section of Shut Down settings in the PCNS interface.

 

This then adds the "shutdownCommandFile=" line into the ini with the path and filename, and then as it has a path and filename and is not just an equal sign with nothing after it, it no longer is being removed from the ini file and the Error no longer appears in the Event Log when restarting the PCNS VM Appliance.

As the script file is blank and does nothing, since I wasn't using a Command file on shutdown anyway, it doesn't do anything and has no affect on shutdown operation in the event of a power failure.

 

This workaround will do until APC fix the bug in PCNS for VMWare.   Hope this helps anyone else having the same issue..

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of