松岡と申します。 apcupsdにて停電検知後の再起動でbootが出来ません。 対応方法のヒント等を教えていただけませんでしょうか?
環境: HD: Dell PowerEdge 2950(RAID-1 X 2) OS: FreeBSD6.2Release UPS: APC-Smartups1500(シリアルケーブル型番 940-0024D) 行なった事: (1)apcupsd-3.14.tar.gzをソースから導入 tar zxvf apcupsd-3.14.0.tar.gz pushd apcupsd-3.14.0 ./configure --enable-cgi --with-cgi-bin=/etc/apcupsd/cgi-bin \ --enable-usb gmake gmake install apcupsd.confの修正個所(シリアルデバイスとタイムアウト値の変更) o DEVICE /dev/cuad0 o TIMEOUT 30 自動起動設定 echo "/etc/rc.apcupsd start" >> /etc/rc.local (2)プログラムの起動 ->/etc/rc.apcupsd start <-Starting apcupsd power management Done. (3)擬似瞬停(UPSの電源コードを抜き直ちに戻す) ->Power failure. ->Running on UPS batteries ->Mains returned. No longer on UPS batteries. ->Power is back. UPS running on mains. (4)停電(UPSの電源コードを抜く) ->Power failure. ->Running on UPS batteries ->Reached run time limit on batteries. ->Initiating system shutdown! ->User logins prohibited ->Attempting to kill the UPS power! ->UPS will power off after 90 seconds ... ->Please power off your UPS before rebooting your computer ... : apcupsd exiting, signal 15 apcupsd shutdown succeeded apcupsd FATAL ERROR in smart.c at line 205 Select error on UPS FD. Bad file descriptor : The operating system has halted. Please press any key to rebbot. この後、UPS自身が正常にシャットダウンします。 (5)再起動(UPSの電源を挿す) 以下のメッセージで停止してしまいます。 FreeBSD/i386 boot Default:0:ad(0,a)/boot/loader boot: ここでEnterキーを押せば正常に起動します。 起動後の「df -k」 Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mfid0s1a xxxxxxxx xxxxx xxxxxxxx x% / devfs 1 1 0 100% /dev /dev/mfid1s1d xxxxxxxxx xxx xxxxxxxxx x% /home /dev/mfid0s1f xxxxxxxx xxxxxx xxxxxxxx x% /tmp /dev/mfid0s1e xxxxxxxx xxxxxxx xxxxxxxx x% /usr /dev/mfid0s1d xxxxxxxx xxxxxxx xxxxxxxx xx% /var ※/dev/ad0s1aはありません。 ※/boot/loader.confには以下の1行のみ ※ accf_http_load="YES" よろしく御願いします。 --- m a i l t o : pine <at> rtri . or . jp