LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2014, 12:28 PM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
apcupsd - cannot bind socket


Hello,

I'm on CentOS 6.5 using apcupsd 3.14.10 connecting to an APC SmartUPS with a Network Management Card 2 (AP9630).

I'm trying to set the system up so that apcupsd talks to the Network Management Card over ethernet.

According to the documentation, this should be sufficient:
Code:
UPSCABLE ether
UPSTYPE pcnet
LOCKFILE /var/lock
DEVICE ipaddr:user:passphrase
UPSCLASS standalone
UPSMODE disable
However, when I try this, I get the following error:
Code:
Apr 17 18:27:06 apcupsd[9511]: apcupsd FATAL ERROR in pcnet.c at line 661#012Cannot bind socket (13)
I have double and triple checked that there is no other instances running, and apcupsd is started as root.

Trying to run apcaccess just gives:
Code:
Error contacting apcupsd @ localhost:3551: Connection refused
Could anyone please help?

Thanks much!
 
  


Reply

Tags
apcupsd, centos, network management card


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not bind listening socket chabotrobert Linux - Networking 7 02-25-2024 05:19 PM
bind fails on socket thesource2 Programming 3 01-27-2012 04:54 AM
how to name a socket by bind tkmsr Programming 1 10-20-2010 12:30 PM
Can I bind to a serial port using BIND Socket API?? venkat_p257 Linux - General 2 12-04-2007 06:49 AM
can not bind socket to address terrormaniak Linux - Server 1 09-14-2007 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration