Pete Dubler
2006-Jun-01 15:23 UTC
[Nut-upsuser] Fedora 4 Nut 2.0.3-0.1.fc5 INIT.D not working
I made huge leap from RH 8 to Fedora core 4 and am installing current versions of all applications. yum -y install nut nut-client installs nut-2.0.3-0.1.fc5 and nut-client-2.0.3-0.1.fc5 I can get it started by running upsd but service ups start does nothing. Not a single character returned, just a new command prompt. Nothing appears in /var/log/messages to provide any clues either. service ups stop works fine after upsd is used to start nut. Any guidance would be greatly appreciated.
Peter Selinger
2006-Jun-03 19:27 UTC
[Nut-upsuser] Fedora 4 Nut 2.0.3-0.1.fc5 INIT.D not working
Pete, /sbin/service is just a shell script that calls the appropriate script in /etc/init.d/. You should look at your /etc/init.d/ups to see what, if anything, it does. I have simply put this in my rc.local: start_ups_driver() { /usr/bin/upsdrvctl start > /dev/null } start_ups_daemon() { /usr/sbin/upsd > /dev/null } start_ups_monitor() { /usr/sbin/upsmon > /dev/null } action $"Starting UPS driver" start_ups_driver action $"Starting UPS daemon" start_ups_daemon action $"Starting UPS monitor" start_ups_monitor -- Peter Pete Dubler wrote:> > I made huge leap from RH 8 to Fedora core 4 and am installing current > versions of all applications. > > yum -y install nut nut-client installs nut-2.0.3-0.1.fc5 and > nut-client-2.0.3-0.1.fc5 > > I can get it started by running > > upsd > > but > service ups start > > does nothing. Not a single character returned, just a new command > prompt. Nothing appears in /var/log/messages to provide any clues either. > > service ups stop > > works fine after upsd is used to start nut. > > Any guidance would be greatly appreciated. > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser >