From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Serge To: ALT Linux Sisyphus discussion list Date: Tue, 4 Jul 2006 10:33:33 +0300 User-Agent: KMail/1.7.2 References: <200607031901.40424.skompan@kspu.kr.ua> <200607041036.59430.serpiph@nikiet.ru> In-Reply-To: <200607041036.59430.serpiph@nikiet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200607041033.33806.skompan@kspu.kr.ua> X-Spam-Status: No, score=-2.8 required=8.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on piper.kspu.kr.ua Subject: Re: [sisyphus] nut - Can't chdir to /var/lib/nut X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jul 2006 07:34:55 -0000 Archived-At: List-Archive: List-Post: В сообщении от Вторник 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