Displaying 20 results from an estimated 24 matches for "upsd_options".
2015 Mar 02
2
Fwd: SSL only working in DEBUG mode
...rkupstools/nut/blob/master/common/common.c#L114
> I thought start-stop-daemon was involved because it closes stdin/stdout file
> descriptors after exec()'ing the daemon. I tried "--no-close" option to no
> avail. After that, I validated the init script working fine with
> UPSD_OPTIONS="-D" in /etc/nut/nut.conf.
Not strictly the same as closing the file descriptors, but I tried the
following:
/sbin/upsd -D >/dev/null 2>&1 < /dev/null
And it still worked. So I need to recompile with debugging symbols -
the Ubuntu packages did not have them.
--
- Charl...
2006 Jul 15
2
Shutdown Problem
...utdowns very rudely. That it is just turns off. No scrolling down
of processes shutting down It does not seem shutdown cleanly. Any ideas as to
why this may be so?
Config files follow below.
Thanks
Eli
/etc/sysconfig contains
SERVER=yes
MODEL=fentonups
DEVICE=/dev/ttyS0
OPTIONS=""
UPSD_OPTIONS=
/etc/up/ups.conf contains
[Gamatronic_SmartCompact]
driver = fentonups
port = /dev/ttyS0
desc = "Gamatronic SmartCompact
/etc/ups/upsd.users contains
[username]
password = password
allowfrom = localhost
upsmon master
/etc/ups/upsmon.conf
# RUN_AS_USER nutmon
M...
2015 Mar 13
2
SSL only working in DEBUG mode
...t gmail.com> wrote:
>
> > I thought start-stop-daemon was involved because it closes stdin/stdout file
> > descriptors after exec()'ing the daemon. I tried "--no-close" option to no
> > avail. After that, I validated the init script working fine with
> > UPSD_OPTIONS="-D" in /etc/nut/nut.conf.
>
> Not strictly the same as closing the file descriptors, but I tried the
> following:
>
> /sbin/upsd -D >/dev/null 2>&1 < /dev/null
>
> And it still worked. So I need to recompile with debugging symbols -
> the Ubuntu...
2014 Jun 19
0
upsd.conf - run as user option
...id when the configuration file is processed.
I hadn't noticed this until now, since most distributions tend to have a way to pass in options to their daemons (such as /etc/nut/nut.conf on Debian/Ubuntu). What we may want to do is add some comments to nut.conf for passing "-u user" in UPSD_OPTIONS. (It's in the man page for nut.conf, though.)
--
Charles Lepple
clepple at gmail
2014 Jun 19
1
upsd.conf - run as user option
...en the configuration file is processed.
|
|I hadn't noticed this until now, since most distributions tend to
have a
|way to pass in options to their daemons (such as /etc/nut/nut.conf
on
|Debian/Ubuntu). What we may want to do is add some comments to
nut.conf
|for passing "-u user" in UPSD_OPTIONS. (It's in the man page for
nut.conf,
|though.)
=============
Thanks for the quick reply.
I'll give the nut.conf approach a try. It does look as if it will be
the solution I need.
2015 Mar 13
0
Fwd: SSL only working in DEBUG mode
...t gmail.com> wrote:
> I thought start-stop-daemon was involved because it closes stdin/stdout
> file
> > descriptors after exec()'ing the daemon. I tried "--no-close" option to
> no
> > avail. After that, I validated the init script working fine with
> > UPSD_OPTIONS="-D" in /etc/nut/nut.conf.
>
> Not strictly the same as closing the file descriptors, but I tried the
> following:
>
> /sbin/upsd -D >/dev/null 2>&1 < /dev/null
>
> And it still worked. So I need to recompile with debugging symbols -
> the Ubuntu pac...
2014 Jun 18
2
upsd.conf - run as user option
The upsmon.conf has the option of setting RUN_AS_USER username
Might it be possible to add a similar option to the upsd.conf file?
I see the -u command-line option for both upsmon and upsd, however,
upsd doesn't seem to carry that to the configuration file, as upsmon
does.
Thanks.
2015 Mar 20
0
SSL only working in DEBUG mode
...gt; > > I thought start-stop-daemon was involved because it closes
> stdin/stdout file
> > > descriptors after exec()'ing the daemon. I tried "--no-close" option
> to no
> > > avail. After that, I validated the init script working fine with
> > > UPSD_OPTIONS="-D" in /etc/nut/nut.conf.
> >
> > Not strictly the same as closing the file descriptors, but I tried the
> > following:
> >
> > /sbin/upsd -D >/dev/null 2>&1 < /dev/null
> >
> > And it still worked. So I need to recompile with debu...
2015 Mar 01
4
SSL only working in DEBUG mode
...e in a
test environment with OpenSSL support instead of LibNSS and it worked right
away without trouble, provided I supplied the PEM "crt + key" combo file.
Back to the regular distro packages, I really tried hard to understand what
was wrong until I managed to get it working!
Putting - UPSD_OPTIONS="-D" - in /etc/nut/nut.conf and "service nut-server
restart" (which does not detach from the shell of course) made the whole
system work! "upsmon" was happy as well as "upsc TEST" too!
Shell# upsc TEST
Init SSL without certificate database
Connecting in SSL...
2015 Mar 02
0
Fwd: SSL only working in DEBUG mode
...ail to handle SSL stuff while working flawlessly without detaching?
I thought start-stop-daemon was involved because it closes stdin/stdout
file descriptors after exec()'ing the daemon. I tried "--no-close" option
to no avail. After that, I validated the init script working fine with
UPSD_OPTIONS="-D" in /etc/nut/nut.conf.
To my understanding, the problem lies only within "upsd". When working (or
not), "upsc" and "upsmon" are affected the same way with the same result
which makes sense.
Now you have the whole story with the gory details. If you need...
2015 Mar 26
3
SSL only working in DEBUG mode
2015-03-26 9:03 GMT+01:00 Arnaud Quette <arnaud.quette at gmail.com>:
> Hey mister M'
>
> A first huge thanks for taking care of this, and so late in the night. I
> know that it's not easy...
>
> (sent from my S3... please excuse my brevity)
> Le 25 mars 2015 18:49, "Emilien Kia" <kiae.dev at gmail.com> a ?crit :
>
> >
> >
>
2010 Aug 20
2
APC Smart-UPS X 1500 Restart Issue.
...0003
ups.serial: AS0946124031
ups.status: OL CHRG
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.vendorid: 051d
[root at DVXSAJ02 etc]#
[root at DVXSAJ02 etc]# cat /etc/sysconfig/ups
# If the UPS is locally attached set it to "yes"
SERVER=yes
# Any options to pass to upsd
UPSD_OPTIONS=
# Added MODEL=upsdrvctl so that /etc/init.d/halt will issue
"/sbin/upsdrvctl shutdown"
MODEL=upsdrvctl
# This *must* be the same as in /etc/ups/upsmon.conf
POWERDOWNFLAG=/etc/killpower
#
# [End]
[root at DVXSAJ02 etc]# cat /etc/ups/ups.conf
..
[scups]
driver = usbhid...
2010 Aug 20
2
APC Smart-UPS X 1500 Restart Issue.
...0003
ups.serial: AS0946124031
ups.status: OL CHRG
ups.timer.reboot: -1
ups.timer.shutdown: -1
ups.vendorid: 051d
[root at DVXSAJ02 etc]#
[root at DVXSAJ02 etc]# cat /etc/sysconfig/ups
# If the UPS is locally attached set it to "yes"
SERVER=yes
# Any options to pass to upsd
UPSD_OPTIONS=
# Added MODEL=upsdrvctl so that /etc/init.d/halt will issue
"/sbin/upsdrvctl shutdown"
MODEL=upsdrvctl
# This *must* be the same as in /etc/ups/upsmon.conf
POWERDOWNFLAG=/etc/killpower
#
# [End]
[root at DVXSAJ02 etc]# cat /etc/ups/ups.conf
..
[scups]
driver = usbhid...
2015 Mar 29
0
SSL only working in DEBUG mode
...bit out of my competencies (I am not a bash and
> linux-init-process expert).
>
I'm running Ubuntu Server 14.04 in all the servers I maintain and also use
NUT. The process is started with the following command in
/etc/init.d/nut-server:
start-stop-daemon -S -p $upsd_pid -x $upsd \
-- $UPSD_OPTIONS >/dev/null 2>&1 &&
log_progress_msg "upsd" || log_progress_msg "(upsd failed)"
and obviously, a backslash is missing on the second line! (line 83 on the
real script) So even if it fails, the next command (log_process_msg) will
always start as if the previous...
2006 Sep 12
1
Help with snmp ups
..., or set SERVER to "no"
# To support multiple drivers, set MODEL=upsdrvctl
MODEL=NONE
# UPS device - needed if UPS is locally attached
DEVICE=/dev/ttyS0
# Any options to pass to $MODEL
# ex. for my TrippLite UPS, use
# OPTIONS="-t 5"
OPTIONS=
# Any options to pass to upsd
UPSD_OPTIONS=
#
# [End]
my APC ups is at address 172.31.254.7 and has SNMP enabled. When I run the
upsd command here is what I see:
Can't connect to UPS [upsnetwork] (snmp-ups-172.31.254.7): No such file or
directory
Synchronizing........ giving up
So....any ideas what's going on? Thanks
2016 Feb 15
1
nutdrv_qx - Device not supported
Hi
Thank you very much for the feedback. I will download and try to get it
working on the Raspberry Pi.
Regards
Tom
On Sun, Feb 14, 2016 at 1:49 AM, hyouko at gmail.com <hyouko at gmail.com> wrote:
> > I have the RCT 3KVA Axpert solar hybrid inverter. It is also known as
> the
> > MPP Solar PIP-MS series, the IPS-4000WM and the Voltronic Axpert MKS. I
> am
>
>
2006 Jun 14
3
Trouble Configuring NUT with Gamatronic USB
...is, or set SERVER to "no"
# To support multiple drivers, set MODEL=upsdrvctl
MODEL=newhidups
# UPS device - needed if UPS is locally attached
DEVICE=auto
# Any options to pass to $MODEL
# ex. for my TrippLite UPS, use
# OPTIONS="-t 5"
OPTIONS=
# Any options to pass to upsd
UPSD_OPTIONS=
#
# [End]
/etc/ups/ups.conf contains
[Gamatronic]
driver= newhidups
port = auto
desc = "Gamatronic D-Compact"
I tried to modifying /etc/udev/rules.d/nut-usbups.rules to inlcude the
following lines before LABEL="nut-usbups_rules_end" to include
# Gamatronic...
2009 Nov 30
1
troubleshooting UPS ups@localhost is unavailable
...1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0592:0002 Powerware Corp. UPS (X-Slot)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
the contents of configuration files are:
$ grep '^[^#]' /etc/default/nut
START_UPSD=yes
UPSD_OPTIONS=""
START_UPSMON=yes
UPSMON_OPTIONS=""
$ grep '^[^#]' /etc/nut/ups.conf
[ups]
driver = bcmxcp_usb
port = auto
desc = Eaton Powerware 3105
$ grep '^[^#]' /etc/nut/upsd.conf
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJE...
2016 May 08
2
cyberpower ups need to manully turn on the switch
Hi
I am using centos 6.3, and nut-2.6.5-2.el6.x86_64.
could you explain why not sending "a delayed command to the UPS to turn it
off" may cause that issue?
I saw:
ups.delay.shutdown: 20
ups.delay.start: 30
is it something related?
thanks
min
On Sat, May 7, 2016 at 3:44 PM, Roger Price <roger at rogerprice.org> wrote:
> On Sat, 7 May 2016, Min Wang wrote:
>
> Hi
2015 Mar 20
2
SSL only working in DEBUG mode
...ght start-stop-daemon was involved because it closes
>> stdin/stdout file
>> > > descriptors after exec()'ing the daemon. I tried "--no-close" option
>> to no
>> > > avail. After that, I validated the init script working fine with
>> > > UPSD_OPTIONS="-D" in /etc/nut/nut.conf.
>> >
>> > Not strictly the same as closing the file descriptors, but I tried the
>> > following:
>> >
>> > /sbin/upsd -D >/dev/null 2>&1 < /dev/null
>> >
>> > And it still worked. So I...