[sisyphus] nut - Can't chdir to /var/lib/nut

Serge =?iso-8859-1?q?skompan_=CE=C1_kspu=2Ekr=2Eua?=
Вт Июл 4 11:33:33 MSD 2006


В сообщении от Вторник 04 Июль 2006 09:36 Epiphanov Sergei написал(a):
> В сообщении от Monday 03 July 2006 20:01 Serge написал(a):
> > Делал уже chmod 777 -R /var/lib/nut (что бы потом выяснить где именно
> > проблемма), тогда выдается сообщение на, service upsd start Starting UPS
> > information service: Can't chdir to /var/lib/nut: No such fileor
> > directoryNetwork UPS Tools upsd 1.4.0
>
> Попробуйте создать каталог /var/lib/nut/var/lib/nut
сделал - немного полегчало

теперь
при попытке service upsd start получаю в логах 
(предварительно сделал chmod 777 -R /var/lib/nut)

Jul  4 10:30:26 sh upsd[18986]: Can't connect to UPS [myups] (apcsmart-ttyS0): 
No such file or directory
Jul  4 10:30:26 sh upsd: /etc/nut/upsd.conf is world readable
Jul  4 10:30:26 sh upsd[18986]: /etc/nut/upsd.conf is world readable
Jul  4 10:30:26 sh upsd: upsd.conf: invalid directive ACCEPT localhost
Jul  4 10:30:26 sh upsd[18986]: upsd.conf: invalid directive ACCEPT localhost
Jul  4 10:30:26 sh upsd: upsd.conf: invalid directive ACCEPT all
Jul  4 10:30:26 sh upsd[18986]: upsd.conf: invalid directive ACCEPT all
Jul  4 10:30:26 sh upsd: /etc/nut/upsd.users is world readable
Jul  4 10:30:26 sh upsd[18986]: /etc/nut/upsd.users is world readable
Jul  4 10:30:26 sh upsd: /usr/share/cmdvartab not found - disabling 
descriptions
Jul  4 10:30:26 sh upsd[18986]: /usr/share/cmdvartab not found - disabling 
descriptions
Jul  4 10:30:26 sh upsd: Network UPS Tools upsd 1.4.0
Jul  4 10:30:26 sh upsd: Synchronizing...
Jul  4 10:30:27 sh upsd: .
Jul  4 10:30:31 sh last message repeated 4 times
Jul  4 10:30:31 sh upsd:  giving up
Jul  4 10:30:31 sh upsd[18991]: open /dev/null: No such file or directory
Jul  4 10:30:31 sh upsd: upsd startup succeeded



Подробная информация о списке рассылки Sisyphus