一からシステムを入れ直して、configureオプション
を次のようにしたら正常に再起動および切断できるようになりました。
./configure --enable-cgi --with-cgi-bin=/usr/local/www/asp --enable-powerflu
te
いったい、このpowerfluteというのは何でしょうか?
当然の事ながら、powerfluteオプションを入れずにmake installしたら再起動及び切
断は
できなくなります。
で、haltうんたらというのはどうもhaltの中身にupsの制御?を書き加えた
という事かな??
一応、以下に記載
make[1]: Entering directory `/root/apcupsd-3.8.5/distributions/redhat'
# remove old 3.6.2 stuff
# save old halt script
# insert apcupsd script into halt
# link new halt script for startup and shutdown
=================================================
apcupsd script installation for RedHat 7.2 complete.
You should now edit /etc/apcupsd/apcupsd.conf to correspond
to your setup then start the apcupsd daemon with:
/etc/rc.d/init.d/apcupsd start
thereafter when you reboot, it will be stopped and started
automatically.
Please check that your halt script in:
/etc/rc.d/init.d/halt
was properly updated (see installation section of manual)
=================================================
ちょっと、気になったことはconfigureの終了時点でエラーをはき出してるみたいな
のですが
どうすればうまく行くのでしょうか?
内容は、
creating cgi/gd1.2/Makefile
creating config.h
linking ./intl/libgettext.h to intl/libintl.h
You can ignore any makedepend error messages
(cd lib; make depend)
make[1]: Entering directory `/root/apcupsd-3.8.5/lib'
make[1]: Leaving directory `/root/apcupsd-3.8.5/lib'
でも、正常に動作してるってことはエラーではないのかな〜?