Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

APC SMART serial port issue

Featured Replies

hi!

I am trying to connect my server with my APC SMART SMT1000 but there is no established connection via serial port. I checked syslog and serial port seems to be ok. I am getting the message:

 

Feb 26 10:16:49 Server apcupsd[1809]: apcupsd FATAL ERROR in smartsetup.c at line 171 PANIC! Cannot communicate with UPS via serial port. Please make sure the port specified on the DEVICE directive is correct, and that your cable specification on the UPSCABLE directive is correct.

Feb 26 10:16:49 Server apcupsd[1809]: apcupsd error shutdown completed

 

Also have in mind that the ups works fine through usb but I need this port for another device.

syslog-2012-02-26.txt

hi!

I am trying to connect my server with my APC SMART 1000i but there is no established connection via serial port. I checked syslog and serial port seems to be ok. I am getting the message:

 

Feb 26 10:16:49 Server apcupsd[1809]: apcupsd FATAL ERROR in smartsetup.c at line 171 PANIC! Cannot communicate with UPS via serial port. Please make sure the port specified on the DEVICE directive is correct, and that your cable specification on the UPSCABLE directive is correct.

Feb 26 10:16:49 Server apcupsd[1809]: apcupsd error shutdown completed

 

Also have in mind that the ups works fine through usb but I need this port for another device.

do you think it might help if you told us how you configured apcupsd?  (share a copy of your apcupsd.conf file)

Or, which port is showing in /dev for the serial port?  Or, which cable you are using?

hint, APC never used a standard  serial cable.  They forced most people to use one of theirs (translation, purchase an overpriced cable from them)  Second hint... you can create one for a fraction of the cost... pinout is available from google search.

 

What kind of cable are you using?  How is is specified in apcupsd.conf?  The serial port appears in the syslog as /dev/ttyS0.

 

Joe L.

  • Author

I have installed it via unmenu (package apcupsd-3.14.3-i486-1kjz.tgz). Syslog shows up:

Feb 26 10:16:37 Server kernel: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled

Feb 26 10:16:37 Server kernel: 00:06: ttyS0 at I/O 0x2f8 (irq = 3) is a 16550A

I am using the standard serial cable that APC provides and I have got this ups:

http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=SMT1000I&total_watts=50

 

  • Author

conf file states:

PACKAGE_INSTALLATION [ "${vDEVICE-NO}" = "NO" ] && sed -i -e "s/^DEVICE \/dev\/ttyS0/#DEVICE \/dev\/ttyS0/" /etc/apcupsd/apcupsd.conf

PACKAGE_INSTALLATION [ "${vDEVICE-NO}" != "NO" -a "${vDEVICE-NO}" != "YES" ] && sed -i -e "s~^DEVICE \/dev\/ttyS0~DEVICE ${vDEVICE}~" /etc/apcupsd/apcupsd.conf

PACKAGE_INSTALLATION [ "${vDEVICE-NO}" != "NO" -a "${vCABLETYPE-smart}" != "ether" ] && sed -i -e "s/^UPSTYPE usb/UPSTYPE apcsmart/" /etc/apcupsd/apcupsd.conf

PACKAGE_INSTALLATION [ "${vCABLETYPE-smart}" = "ether" ] && sed -i -e "s/^UPSTYPE usb/UPSTYPE net/" /etc/apcupsd/apcupsd.conf

PACKAGE_INSTALLATION [ "${vCABLETYPE-smart}" = "ether" ] && sed -i -e "s/^#NETTIME 60/NETTIME 60/" /etc/apcupsd/apcupsd.conf

PACKAGE_INSTALLATION [ "${vCABLETYPE-smart}" = "ether" ] && sed -i -e "s/^UPSMODE standalone/UPSMODE shareslave/" /etc/apcupsd/apcupsd.conf

PACKAGE_INSTALLATION [ "${vCABLETYPE-smart}" != "smart" ] && sed -i -e "s/^UPSCABLE smart/UPSCABLE ${vCABLETYPE-smart}/" /etc/apcupsd/apcupsd.conf

  • Author

that was for apcupsd-unmenu-package.conf

Please check the attachment for the whole apcupsd.conf file:

cable type is se to smart...

apc_cp.conf

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.