-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/27/2014 08:02 AM, Lawrence E Graves wrote: > > On 02/26/2014 04:39 PM, Lawrence E Graves wrote: >> Is anyone aware of the fact that the apcupsd* packages have been in >> update-testing for about 4 weeks and the fact that is does not work. I >> have done a lot of searching to find out if there is a fix and there is >> none or should I say I didn't find any fix. Am I missing something. >> Please advise. I have tried to install several times and have sent the >> compile file in to help find the problem. Error message says LCK can not >> be established according to selinux. I have sent that to bugzilla and >> still have not heard anything. Will someone help? >> > This a copy of my config file after installing apcupsd 3.14.11-1 ## > apcupsd.conf v1.1 ## # # for apcupsd release 3.14.11 (31 January 2014) - > redhat # # "apcupsd" POSIX config file > > # # ========= General configuration parameters ============ # > > # UPSNAME xxx # Use this to give your UPS a name in log files and such. > This # is particulary useful if you have multiple UPSes. This does not # > set the EEPROM. It should be 8 characters or less. #UPSNAME > > # UPSCABLE <cable> # Defines the type of cable connecting the UPS to your > computer. # # Possible generic choices for <cable> are: # simple, > smart, ether, usb # # Or a specific cable model number may be used: # > 940-0119A, 940-0127A, 940-0128A, 940-0020B, # 940-0020C, 940-0023A, > 940-0024B, 940-0024C, # 940-1524C, 940-0024G, 940-0095A, 940-0095B, # > 940-0095C, 940-0625A, M-04-02-2000 # UPSCABLE usb > > # To get apcupsd to work, in addition to defining the cable # above, you > must also define a UPSTYPE, which corresponds to # the type of UPS you have > (see the Description for more details). # You must also specify a DEVICE, > sometimes referred to as a port. # For USB UPSes, please leave the DEVICE > directive blank. For # other UPS types, you must specify an appropriate > port or address. # # UPSTYPE DEVICE Description # apcsmart > /dev/tty** Newer serial character device, appropriate for # > SmartUPS models using a serial cable (not USB). # # usb <BLANK> > Most new UPSes are USB. A blank DEVICE # setting > enables autodetection, which is # the best > choice for most installations. # # net hostname:port Network link > to a master apcupsd through apcupsd's # Network > Information Server. This is used if the # UPS > powering your computer is connected to a # > different computer for monitoring. # # snmp > hostname:port:vendor:community # SNMP network > link to an SNMP-enabled UPS device. # Hostname > is the ip address or hostname of the UPS # on > the network. Vendor can be can be "APC" or # > "APC_NOTRAP". "APC_NOTRAP" will disable SNMP trap # > catching; you usually want "APC". Port is usually # > 161. Community is usually "private". # # netsnmp > hostname:port:vendor:community # OBSOLETE # > Same as SNMP above but requires use of the # > net-snmp library. Unless you have a specific need # > for this old driver, you should use 'snmp' instead. # # dumb > /dev/tty** Old serial character device for use with # > simple-signaling UPSes. # # pcnet ipaddr:username:passphrase:port # > PowerChute Network Shutdown protocol which can be # > used as an alternative to SNMP with the AP9617 # > family of smart slot cards. ipaddr is the IP # > address of the UPS management card. username and # > passphrase are the credentials for which the card # > has been configured. port is the port number on # > which to listen for messages from the UPS, normally # > 3052. If this parameter is empty or missing, the # > default of 3052 will be used. # # modbus /dev/tty** Serial device > for use with newest SmartUPS models # supporting > the MODBUS protocol. # UPSTYPE usb DEVICE > > # POLLTIME <int> # Interval (in seconds) at which apcupsd polls the UPS > for status. This # setting applies both to directly-attached UPSes > (UPSTYPE apcsmart, usb, # dumb) and networked UPSes (UPSTYPE net, snmp). > Lowering this setting # will improve apcupsd's responsiveness to certain > events at the cost of # higher CPU utilization. The default of 60 is > appropriate for most # situations. #POLLTIME 60 > > # LOCKFILE <path to lockfile> # Path for device lock file. Not used on > Win32. LOCKFILE /etc/apcupsd CHange this to /var/lock or /run/lock -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlMPcEIACgkQrlYvE4MpobOvBQCfXa8dQ0nZARzdwTNVQmOqIxOy M1UAoKkGWkWlAct0ntQFsicsEIYo/NvN =D49l -----END PGP SIGNATURE----- -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test