Re: Nut,usb and installation (continued)

From: david walcroft (david_walcroft_at_yahoo.com.au)
Date: 10/02/05

  • Next message: Jeff Vian: "Re: Suspend/hibernation/sleep of laptop on FC4?"
    Date: Sun, 02 Oct 2005 14:37:47 +1000
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Tom Diehl wrote:
    <------------------------------- SNIP
    --------------------------------------->
    >
    > My suggestions above will fix some of the permissions problems but most likely
    > will not fix all of your problems. I would suggest that you fix as much as you
    > can and see what problems are left.
    >
    > Are you using the nut rpm? If so it should have created the proper directories
    > and permissions.
    >
    > Mine looks like this:
    >
    > (foghorn pts7) # ll -d /var/run/nut
    > drwxr-x--- 2 nut nut 4096 Sep 17 22:46 /var/run/nut
    > (foghorn pts7) # ll /var/run/nut
    > total 24
    > srw-rw---- 1 nut nut 0 Sep 17 22:45 apcsmart-ttyQ01e1
    > -rw-r--r-- 1 nut nut 5 Sep 17 22:45 apcsmart-ttyQ01e1.pid
    > srw-rw---- 1 nut nut 0 Sep 17 22:45 apcsmart-ttyQ01e2
    > -rw-r--r-- 1 nut nut 5 Sep 17 22:45 apcsmart-ttyQ01e2.pid
    > srw-rw---- 1 nut nut 0 Sep 17 22:45 apcsmart-ttyQ01e3
    > -rw-r--r-- 1 nut nut 5 Sep 17 22:45 apcsmart-ttyQ01e3.pid
    > srw-rw---- 1 nut nut 0 Sep 17 22:46 apcsmart-ttyQ01e4
    > -rw-r--r-- 1 nut nut 5 Sep 17 22:46 apcsmart-ttyQ01e4.pid
    > -rw-r--r-- 1 nut nut 5 Sep 17 22:46 upsd.pid
    > -rw-r--r-- 1 root root 5 Sep 17 22:46 upsmon.pid
    > (foghorn pts7) #
    >
    > Notice that with the exception of upsmon.pid everything is owned by nut.
    > You will get different file names then above unless you happen to be monitoring
    > 4 apc ups's connected via Equinox Ethernet Serial ports. :-)
    >
    > Hope this helps,
    >
    > Tom Diehl tdiehl@rogueind.com Spamtrap address mtd123@rogueind.com
    >
    Thanks for helping Tom,
      This as far as got this morning,seems that usb comms is the last
    stumbling [fumbling :-)] block. Error messages :

    [root@reddwarf sysconfig]# service ups start
    Starting genericups -x upstype=11 -x CP = usb: Network UPS Tools -
    Generic UPS driver 1.30 (2.0.2)
    UPS type: Powerware 3115

    Unable to open =: No such file or directory

    Things to try:

      - Check 'port=' in ups.conf

      - Check owner/permissions of all parts of path

    Fatal error: unusable configuration
                                                                [FAILED]
    Starting upsd: Network UPS Tools upsd 2.0.2
    Can't connect to UPS [powermate3105] (genericups -x upstype = 11 -x CP =
    usb-ttyUSB0): No such file or directory
    Synchronizing........ giving up
                                                                [ OK ]
    Starting UPS monitor (master): Network UPS Tools upsmon 2.0.1
    UPS: reddwarf@localhost (slave) (power value 1)
    Using power down flag file /etc/killpower

                                                                [ OK ]
    [root@reddwarf sysconfig]# su - david
    [david@reddwarf ~]$ sudo service ups restart
    Stopping UPS monitor: [ OK ]
    Stopping upsd: [ OK ]
    Shutting down genericups -x upstype=11 -x CP = usb: [FAILED]
    Starting genericups -x upstype=11 -x CP = usb: Network UPS Tools -
    Generic UPS driver 1.30 (2.0.2)
    UPS type: Powerware 3115

    Unable to open =: No such file or directory

    Things to try:
           ---- || -----
      - Check 'port=' in ups.conf

      - Check owner/permissions of all parts of path

    Fatal error: ***unusable configuration***
                                                                [FAILED]
    Starting upsd: Network UPS Tools upsd 2.0.2
    Can't connect to UPS [powermate3105] (genericups -x upstype = 11 -x CP =
    usb-ttyUSB0): No such file or directory
    Synchronizing........ giving up
                                                                [ OK ]
    Starting UPS monitor (master): Network UPS Tools upsmon 2.0.1
    UPS: reddwarf@localhost (slave) (power value 1)
    Using power down flag file /etc/killpower
                                                                [ OK ]
    [david@reddwarf ~]$ sudo service ups stop
    Stopping UPS monitor: [ OK ]
    Stopping upsd: [ OK ]
    Shutting down genericups -x upstype=11 -x CP = usb: [FAILED]
    [david@reddwarf ~]$

    Broadcast message from nutmon (Sun Oct 2 14:21:04 2005):

    UPS reddwarf@localhost is unavailable
    
    Broadcast message from nutmon (Sun Oct 2 14:22:20 2005):
    Broadcast UPS reddwarf@localhost is unavailable

    [david@reddwarf ~]$ ls -l /etc/sysconfig/ups
    -rwxr-x--- 1 nut nut 648 Oct 2 14:19 /etc/sysconfig/ups

       david

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Jeff Vian: "Re: Suspend/hibernation/sleep of laptop on FC4?"

    Relevant Pages

    • Re: After Power Failure - Modem receives Port in Use message
      ... I couldn't agree more about getting a UPS. ... Also, I didn't get a chance to power the PC down, ... When I do a Query modem, I get a message back saying the modem couldn't ... > would fix a intermittent connection. ...
      (microsoft.public.windowsxp.general)
    • Re: Power outage effects
      ... The "solution" to the problem has been stated - buy a UPS. ... you merely fix a symptom of the problem? ... You do not want to be trying to fix the symptoms of the problem you ... the consequences of loosing power to a computer ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Advice needed on problem with UPS
      ... Mark Hooks wrote: ... Good ole UPS apparently dropped it off a truck as when I ... why in the heck did they not just fix it ... large amount of the insurance claim they are hesitant in paying it off. ...
      (rec.games.pinball)
    • Re: [9fans] fossil caching venti errors
      ... or a power failure beyond the endurance of the UPS. ... i also found there is a persistent problem that `check fix' won't fix. ...
      (comp.os.plan9)
    • Re: [9fans] fossil caching venti errors
      ... or a power failure beyond the endurance of the UPS. ... i also found there is a persistent problem that `check fix' won't fix. ...
      (comp.os.plan9)