|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Sergey Zaikov 2:5022/5.66 07 Feb 2004 13:07:54 To : Alexander Sheiko Subject : переписка с............... -------------------------------------------------------------------------------- Суббота Февраль 07 2004 01:21, Alexander Sheiko писал к Sergey Zaikov: AS> А какую проблему в нём удалось, таки, пофиксить? Вкраце - не отрабатывались как положено Communication Tests. Как выяснилось, apcaccess status не желал завершаться. А подробней вот: Kern Sibbald wrote: > You might want to try applying the OpenBSD threads patch that was > posted to this list yesterday. Most likely the FreeBSD threads suffer > from the same problem. If it works, please let us know. Indeed. Just change the HAVE_OPENBSD_OS lines to HAVE_FREEBSD_OS and give it a run. Your problem smacks of the pthreads issue. --Adam > > On Tue, 2004-02-03 at 11:14, James Bond wrote: >> Hello! >> >> I see the strange behavior of apcaccess status. Its happen when I >> unplug the UPS, or >> disconect or connect the serial port. >> The strangeness is that "apcaccess status" can't be completed. :( >> >> I have enough time to type "ps axw | grep apc" and see "apcaccess >> status" in the process list: >> ps axw | grep apc >> 176 ?? Is 0:01,65 /usr/local/sbin/apcupsd --kill-on-powerfail >> 468 ?? I 0:00,00 /bin/sh /usr/local/etc/apcupsd/apccontrol >> mainsback Back_APC_Pro_420 1 0 469 ?? I 0:00,00 /bin/sh >> /usr/local/etc/apcupsd/mainsback Back_APC_Pro_420 1 0 471 ?? I >> 0:00,00 /bin/sh /usr/local/etc/apcupsd/mainsback Back_APC_Pro_420 >> 1 0 473 ?? I 0:00,01 /usr/local/sbin/apcaccess status >> >> The "apcaccess status" process state is: >> I Marks a process that is idle (sleeping for longer than about >> 20 seconds). >> >> What may be wrong? >> >> #>apcupsd -V >> apcupsd 3.10.9 (31 December 2003) freebsd >> #>uname -a >> FreeBSD acc.acc.tula.ru 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #15: >> Wed Jan 28 16 >>> 13:21 MSK 2004 acc107_3@acc.acc.tula.ru:/usr/obj/usr/src/sys/Z >>> i386 Sergey. ... Знание - столь дpагоценная вещь, что его не зазоpно добывать из любого --- источника (Абу-ль-Фаpадж, аpабский поэт) * Origin: Унивеpсальный заигpыватель v.2.5 (2:5022/5.66) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/147284024d5bf.html, оценка из 5, голосов 10
|