search for: start_stop_client

Displaying 5 results from an estimated 5 matches for "start_stop_client".

2009 May 27
3
This guy must be an idiot
OK, can someone tell me what utterly moronic thing I am doing wrong? I have two roughly identical Linux system running NUT, and one works properly. The other almost does. The second system works well once everything is up, but after booting, the system does not have connectivity to the UPS. I have to manually run `upsdrvctl start backup`, `/etc/init.d/nut start`, and `upsd` to get NUT
2007 Feb 06
9
Shutdown problem with Geek Squad GS1285U
...stop) start-stop-daemon -K -o -q -p $upsd_pid -n upsd >/dev/null 2>&1 ! $upsdrvctl stop >/dev/null 2>&1 && \ echo -n " (upsdrvctl failed)" ;; esac ;; n|N|no|NO|No|*) return 1 ;; esac } start_stop_client () { case "$START_UPSMON" in y|Y|yes|YES|Yes) case "$1" in start) start-stop-daemon -S -q -p $upsmon_pid -x $upsmon >/dev/null 2>&1 ;; stop) start-stop-daemon -K -o -q -p $upsmon_pid -n upsmon >/dev/null 2&g...
2015 Jan 31
0
Start up script fails
On Jan 31, 2015, at 9:17 AM, Melvin Call <melvincall979 at gmail.com> wrote: > There is no other information provided, and there is nothing in the log to help > either. Can anyone tell me what I need to do to make this output some useful > information that I can use to further trouble-shoot the problem? In general, if a startup script isn't doing what I think it should, I run
2015 Jan 31
2
Start up script fails
...u can also add that option to the script, at the end of the #! line (I forget what you call that line). Anyhow, that helped, and you nailed it with your other question. The trace showed everything working fine, but that the problem was there was no match for the MODE in the switch statement of the start_stop_client function. I "knew" that I had set that correctly (to standalone), so I modified things a bit to show just what it was trying to match rather than look at nut.conf. It was indeed incorrect in the conf file: amdbox:/etc/nut# grep MODE /etc/nut/nut.conf # The MODE determines which part of th...
2015 Jan 31
2
Start up script fails
Good morning all. I am on a different system with a different UPS, and I am fighting a similar problem to the one I posted about yesterday, and again making little headway. This system is running Debian Wheezy and connected to an APC BackUPS ES550. Starting things manually seems to go well, but my startup script fails, and nothing is logged anywhere. This may not be a NUT question per se, but I