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

APC UPS connection setup failure against linux clusters using apcupsd service

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
  • APC UPS connection setup failure against linux clusters using apcupsd service
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
linuxcobra
linuxcobra
Cadet

Posted: ‎2024-11-11 07:11 AM . Last Modified: ‎2024-11-13 07:04 AM

0 Likes
0
212
  • 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: ‎2024-11-11 07:11 AM . Last Modified: ‎2024-11-13 07:04 AM

APC UPS connection setup failure against linux clusters using apcupsd service

I have purchased a new APC UPS which I want to connect with four Linux Debian clusters.

The APC UPS Model: SURTD3000XLIM (APC model) has one serial com connector and one USB connector on the back of the UPS. Two cables were provided alongwith the UPS purchase- a) RJ-45 to DB-9 communication cable (goes to the serial com conenctor of UPS) and also b) an USB-A to mini-USB cable connector. I used both the cables to connect to our two Linux clusters.

In case of a)- the imp part of /etc/apcupsd/apcupsd.conf file looks like :

 

UPSNAME LG27a
UPSCABLE ether
UPSTYPE net
DEVICE 128.40.177.201:3551

NETSERVER on
NISIP 127.0.0.1
NISPORT 3551

After saving this file, I stopped apcupsd service and started again.

When I do systemctl status apcupsd, I receive:

linuxcobra_0-1731337798314.jpeg 

Still when I do apcaccess, I get (Status:Comm Lost !):

APC      : 001,018,0445
DATE     : 2024-11-08 15:10:43 +0000
HOSTNAME : hartree
VERSION  : 3.14.14 (31 May 2016) debian
UPSNAME  : LG27a
CABLE    : Ethernet Link
DRIVER   : NETWORK UPS Driver
UPSMODE  : Net Slave
STARTTIME: 2024-11-08 15:10:21 +0000
STATUS   : COMMLOST
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME  : 0 Seconds
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC  : 2024-11-08 16:51:44 +0000

In case of b)- the imp part of /etc/apcupsd/apcupsd.conf file looks like :

UPSNAME LG27a
UPSCABLE usb
UPSTYPE usb
DEVICE

NETSERVER on
NISIP 0.0.0.0
NISPORT 3551

After saving this file, I stopped apcupsd service and started again.

On systemctl status apcupsd, I receive :

linuxcobra_1-1731337847660.jpeg

In case b) as well, I am getting error (Status:comm lost) when I do apcaccess:

APC      : 001,018,0439
DATE     : 2024-11-08 16:46:41 +0000
HOSTNAME : meitner
VERSION  : 3.14.14 (31 May 2016) debian
UPSNAME  : LG27a
CABLE    : USB Cable
DRIVER   : USB UPS Driver
UPSMODE  : Stand Alone
STARTTIME: 2024-11-08 14:28:27 +0000
STATUS   : COMMLOST
MBATTCHG : 8 Percent
MINTIMEL : 4 Minutes
MAXTIME  : 0 Seconds
NUMXFERS : 0
TONBATT  : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC  : 2024-11-08 16:46:41 +0000

I checked all possible help resources such as : help1, help2 etc. But, still I could not succeed in setting up the communication.

For, b)type connectivity, when I type lsusb, it does not detect the APC unfortunately. Contrarily, in the /var/log/messages of the clustwer, USB device is detected: 

linuxcobra_0-1731510272586.png

 

I am unable to decipher the error. Kindly help me in rectifying the issue.

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 0
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