Re: Nut,usb and installation (continued)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Still plugging away.got it down to this:

[root@reddwarf ups]# service ups restart
Stopping UPS monitor:                                      [  OK  ]
Stopping upsd:                                             [FAILED]
Shutting down upsdrvctl: Network UPS Tools - UPS driver controller 2.0.2
Stopping UPS: powermate3105
Can't open /var/run/nut/genericups-ttyUSB0.pid: No such file or directory

Starting upsdrvctl: Network UPS Tools - UPS driver controller 2.0.2
Network UPS Tools - Generic UPS driver 1.30 (2.0.2)
Can't chdir to /var/run/nut: Permission denied
Driver failed to start (exit status=1)
                                                           [FAILED]
Starting upsd: Network UPS Tools upsd 2.0.2
Can't chdir to /var/run/nut: Permission denied
                                                           [FAILED]
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 ups]$ ls -l
total 80
-rwxr-x---  1 nut  nut   1121 Oct  1 17:25 hosts.conf
-rwxr-x---  1 nut  nut   3772 Oct  1 17:55 ups.conf
-rwxr-x---  1 nut  nut   1369 Oct  1 18:17 upsd.conf
-rwxr-x---  1 nut  nut   2190 Oct  1 12:53 upsd.users
-rw-------  1 nut  nut  11304 Oct  1 12:37 upsmon.conf
-rwxr-x---  1 nut  nut   3871 Oct  1 12:42 upssched.conf
-rwxr-x---  1 nut  nut   1420 Mar 11  2005 upsset.conf
-rw-rw----  1 root root  1773 Mar 11  2005 upsstats.html
-rw-rw----  1 root root  1867 Mar 11  2005 upsstats-single.html
[david@reddwarf ups]$ service ups start
Starting upsdrvctl: Network UPS Tools - UPS driver controller 2.0.2
Can't open /etc/ups/ups.conf: Can't open /etc/ups/ups.conf: Permission denied
                                                           [FAILED]
Starting upsd: Network UPS Tools upsd 2.0.2
Can't chdir to /var/run/nut: Permission denied
                                                           [FAILED]
Starting UPS monitor (master):

Oct 1 18:28:20 reddwarf upsmon[19155]: UPS reddwarf@localhost is unavailable Oct 1 18:28:20 reddwarf wall[21215]: wall: user nutmon broadcasted 1 lines (39 chars) Oct 1 18:28:25 reddwarf upsmon[19155]: UPS [reddwarf@localhost]: connect failed: Connection failure: Connection refused

[david@reddwarf ups]$ service ups stop
rm: cannot remove `/var/run/upsmon.pid': Permission denied [FAILED]

Stopping upsd:                                             [FAILED]
Shutting down upsdrvctl: Network UPS Tools - UPS driver controller 2.0.2
Can't open /etc/ups/ups.conf: Can't open /etc/ups/ups.conf: Permission denied
rm: cannot remove `/var/run/upsmon.pid': Permission denied [FAILED]

Stopping upsd:                                             [FAILED]
Shutting down upsdrvctl: Network UPS Tools - UPS driver controller 2.0.2
Can't open /etc/ups/ups.conf: Can't open /etc/ups/ups.conf: Permission denied

[david@reddwarf ups]$ ls -l /var/run/upsmon.pid
-rw-r--r--  1 root root 6 Oct  1 18:18 /var/run/upsmon.pid

I'm a bit puzzled over permmision refusals and unavailability of localhost. Could I ask for some help please or I'll never get Nut configured.

   Thanks   david


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux