Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Success Stories Corner

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

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

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
  • Communities
  • 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 Exchange 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
5022
voidstar_apc
Janeway voidstar_apc
195
Erasmus_apc
Sisko Erasmus_apc
111
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
280
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
Share

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
Share
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 3
BillP
Administrator BillP Administrator
Administrator

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

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

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
Share
Momo-70
Crewman Momo-70
Crewman

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

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

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
Share
Momo-70
Crewman Momo-70
Crewman

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

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

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
Share
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
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 forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - 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 © 2023 Schneider Electric, Inc