February 26, 201214 yr 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
February 26, 201214 yr 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.
February 26, 201214 yr 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
February 26, 201214 yr 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
February 26, 201214 yr 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.