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

How to troubleshoot "Available runtime has been exceeded" on Linux

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
  • How to troubleshoot "Available runtime has been exceeded" on Linux
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
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

0 Likes
4
1786
  • 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: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

How to troubleshoot "Available runtime has been exceeded" on Linux

My actual runtime  on my SMT1500 w/AP9630 is over an hour but I'm receiving "Available runtime has been exceeded" on both my Linux boxes (one CentOS 7 and the other LnuxMint 18.1 using PCNS 4.2).  My two other Windows machines that are configured to the same UPS do not show this error message.  

I'm looking to troubleshoot this somehow...  Is there a way I can view what the data that these Linux machines are receiving?  Where is the shutdown time requirement configured? etc.

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

0 Likes
0
1786
  • 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: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

Tim,

I am sorry the documentation did not help. I suggested you review it because 90 percent of the time the available runtime warning is not caused by the amount of runtime of the battery and the documentation discusses all of the possible causes. 

On 7/25/2017 1:33 PM, Tim said:

Where is the runtime  required configured in the PCNS  configuration files in the Linux implementation?

The configuration of PCNS is the same for all OS. The configuration can be access via the web interface or by editing the pcnsconfig.ini file. Assuming you installed to the default path the .ini file will be in /opt/APC/PowerChute/group1 To access the web interface you would enter in your browser https://:6537 Example https://192.2168.10.11:6547

On 7/25/2017 1:33 PM, Tim said:

 How can I read what the UPS runtime  is being reported to the PCNS  software?

The runtime is available via the NMC and as you wrote it is 1 hour plus. To see what PCNS is receiving you could put PCNS into debug mode and the runtime will be recorded in the error.log file. You could the open the error.log file to see what has been recorded.

26-07-17 08:47:01,559 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.RunTimeVerifierThread - Checking Runtime
26-07-17 08:47:01,559 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - runtime_exceeded()
26-07-17 08:47:01,559 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Battery.RuntimeRemaining=9060 seconds
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Total shutdown time = =70
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Low Battery Duration: 120
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - runtime_is_not_enough=true
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Rounded delay to: 120
In the example above the runtime exceeded was recorded because the low battery threshold set on the NMC was the default 2 minutes and PCNS needed 2 minutes to power down the OS. 
If you are interested in putting PCNS into debut mode the instruction will be found in FAQ FA230514 You will need to stop the PCNS service, edit log4j2.xml and then restart the service. To stop the server the command on LInux is sudo service PowerChute stop. 
 

Have you made any configuration changes to PCNS e.g. configured a script to run before OS shutdown begins? If so that is taken into account so you would need to adjust the low battery threshold on the NMC to reflect the needed extra time. PowerChute required a minimum of 2 minutes to start the OS shutdown (60 seconds plus 10 seconds rounded to 2 minutes). The NMC low battery duration default is 2 minutes so when PCNS is first installed it will see that the low battery duration is 2 minutes if it has not been adjusted and PCNS will log a warning that the available runtime has been exceeded. If you increase the low battery threshold to 4 minutes the warning will clear. 

If you have configured a script to run prior to OS shutdown and set a delay of 10 minutes for the script to run you would need to increase the low battery threshold on the NMC to 12 minutes or available runtime warning will be log in PCNS.

See Answer In Context

Reply

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

Replies 4
Brad_C
Commander Brad_C
Commander

Posted: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

0 Likes
0
1787
  • 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: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

What software are you running on the Linux boxes, how is it configured and how does it connect to the UPS?

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

0 Likes
0
1787
  • 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: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

Hi,

Available runtime has been exceeded is discussed in the PCNS help files and in Schneider Electric FAQ FA241713

The leading cause of the alarm is the Low Battery threshold set on the NMC is not sufficient to cover the amount of time the PCNS client need to power down the OS safely.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

0 Likes
0
1786
  • 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: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

Bill,  As I said at the beginning there is more than an hour of runtime  available and the battery is at 100%.  If it takes PCNS  more than an hour to complete a shutdown then there is a real problem.  Both these Linux boxes can shutdown in less than 2 minutes.  Also, why do the Linux machines show this condition BUT the two Windows boxes on the same UPS don not?  

How about answering the questions in the original post...  The help files and FAQ don't address what I'm asking.  Where is the runtime  required configured in the PCNS  configuration files in the Linux implementation?  How can I read what the UPS runtime  is being reported to the PCNS  software? etc.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

0 Likes
0
1787
  • 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: ‎2021-07-08 02:24 AM . Last Modified: ‎2024-02-29 10:09 PM

Tim,

I am sorry the documentation did not help. I suggested you review it because 90 percent of the time the available runtime warning is not caused by the amount of runtime of the battery and the documentation discusses all of the possible causes. 

On 7/25/2017 1:33 PM, Tim said:

Where is the runtime  required configured in the PCNS  configuration files in the Linux implementation?

The configuration of PCNS is the same for all OS. The configuration can be access via the web interface or by editing the pcnsconfig.ini file. Assuming you installed to the default path the .ini file will be in /opt/APC/PowerChute/group1 To access the web interface you would enter in your browser https://:6537 Example https://192.2168.10.11:6547

On 7/25/2017 1:33 PM, Tim said:

 How can I read what the UPS runtime  is being reported to the PCNS  software?

The runtime is available via the NMC and as you wrote it is 1 hour plus. To see what PCNS is receiving you could put PCNS into debug mode and the runtime will be recorded in the error.log file. You could the open the error.log file to see what has been recorded.

26-07-17 08:47:01,559 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.RunTimeVerifierThread - Checking Runtime
26-07-17 08:47:01,559 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - runtime_exceeded()
26-07-17 08:47:01,559 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Battery.RuntimeRemaining=9060 seconds
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Total shutdown time = =70
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Low Battery Duration: 120
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - runtime_is_not_enough=true
26-07-17 08:47:01,575 DEBUG Thread-2 com.apcc.m11.components.RunTimeVerifier.Verifier - Rounded delay to: 120
In the example above the runtime exceeded was recorded because the low battery threshold set on the NMC was the default 2 minutes and PCNS needed 2 minutes to power down the OS. 
If you are interested in putting PCNS into debut mode the instruction will be found in FAQ FA230514 You will need to stop the PCNS service, edit log4j2.xml and then restart the service. To stop the server the command on LInux is sudo service PowerChute stop. 
 

Have you made any configuration changes to PCNS e.g. configured a script to run before OS shutdown begins? If so that is taken into account so you would need to adjust the low battery threshold on the NMC to reflect the needed extra time. PowerChute required a minimum of 2 minutes to start the OS shutdown (60 seconds plus 10 seconds rounded to 2 minutes). The NMC low battery duration default is 2 minutes so when PCNS is first installed it will see that the low battery duration is 2 minutes if it has not been adjusted and PCNS will log a warning that the available runtime has been exceeded. If you increase the low battery threshold to 4 minutes the warning will clear. 

If you have configured a script to run prior to OS shutdown and set a delay of 10 minutes for the script to run you would need to increase the low battery threshold on the NMC to 12 minutes or available runtime warning will be log in PCNS.

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