Displaying 20 results from an estimated 400 matches similar to: "problem with a script via upssched-cmd"
2013 Apr 18
0
Nut-upsuser Digest, Vol 94, Issue 18
?Hello Sabine,
this seems as a problem with PATH env. variable; if you issue the command
by hand, you do so in an environment with PATH set so that
the binaries are found.
I guess that the nut user doesn't have so nice PATH, being non-interactive.
Try to add full paths to your binaries in the command and see what happens...
Regards,
vasek
--
Vaclav Krpec
NUT developer
2013 Mar 13
1
EATON 5PX with nut 2.6 on ubuntu 12.04
Hello
I almost managed to make everything work
my server isn't in prodution because i had some problem on others system
but last week i come back and i run an update on ubuntu 12.04.1 to 12.04.2
I don't known if its' the reaseon or if someone has change something but
scripts no longer work
I have a message "returned 2"
Can you help me because I don't find how to solve
2010 Dec 07
1
nut 2.4 et MGE CometEXtrem 6
Hello
My server with another UPS (MGE Pulsar Evolution2200 USB) is OK.
All scripts work
Is it possible to work with a UPS MGE CometExtrem 6 on serial port
Which driver can I use ?
I tried with mge-shut ou mge-utalk without any success
when I start driver with upsdrvctl with mge-utalk
I have (after a long time)
Can't connect to UPS [MGE_cometEX] (mge-utalk-MGE_cometEX): No such
2010 Dec 03
2
nut 2.4 et MGE 2200 (suite)
Hello
I'm back with another problem
I made a lot of tests with my ups MGE
I worked on my script upssched-cmd
and i stopped several times my ups
etc etc ....
Suddenly my UPS wasn't be detected by my server
I tried restore my system
I tried modify files
without success
my UPS isn't detected by my serveur
When I enter this command
lsusb
I have had no more this
bus001 device 002 : ID
2010 Nov 29
3
nut 2.4 et MGE 2200
hello,
I installed with NUT UPS MGE Pulsar Evolution 2200
all orders of arrest, interrogation etc etc ... UPS
work well
However, I have a problem with the order in NOTIFYCMD upsmon.conf that
not run ...
I created a script that generates a simply log
I indicated in upsmon.conf NOTIFYCMD / home / nut / alert_ups.sh
below my upsmon.conf
RUN_AS_USER nut
MONITOR pulsar at localhost 1 admin1
2010 Dec 17
3
Comet EXtreme 6 and mge-utalk
Hi Sabine and Christoph,
I've just committed a few changes to mge-utalk (r2749).
can you please try a snapshot and report back the results:
http://new.networkupstools.org/download.html#Snapshots
cheers,
Arnaud
--
Linux / Unix Expert R&D - Eaton - http://powerquality.eaton.com
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer -
2007 Nov 15
0
somme trouble with ups mge pulsar M2200 and mandriva 2007 with nu t 2.2
hello,
I tested all config with my ups and psp
all seems to be OK
now, I had change ups name and user name in ups.conf, upsd.users,
upsmon.conf etc etc ...
but I have quickly these events in my syslog without doing anyting
what can I do ?
Nov 15 11:09:22 mezenc upsmon[3865]: Poll UPS [pm2200 at localhost] failed -
Data stale
thanks a lot for your help
Sabine GOUDARD
Ecole Nationale
2007 Oct 16
1
trouble with ups mge evolution2200 and mandriva 2007 - nut 2.01
hello,
at first I'm sorry my english isn't perfect but I tried to be clear
I work with mandriva 2007 and with nut 2.0.1 installed with urpmi
my UPS is a MGE Evolution 2200 connected with RS232
in my ups.conf
I try to use mge-utalk driver and also mge-shut
both seem to work
I don't really known which I add to use
It's the first point.
As I saw on web site, I add maxage 25 in
2009 Feb 03
2
Model (Y) from left-censored independant variable (s)
Hi all;
I'm trying to model a response variable (Y) from one (and eventually more...) independant left-censored variable (X*)
In other words, X* is a random variable with values 0 -> inf.
Thus, let c=0
X*= x if x>= c
X*= c if x< c
Does anyone knows a function or package in [R] enabling to model Y from a censored predictor X*?
Thanks for your help!
?tienne
?tienne Boucher
2007 Nov 13
1
trouble with ups mge evolution2200 and mandriva 2007 - nut 2. 2 + PSP
I'll be back one more time
perhaps I found the reason of these errors
Nov 13 11:09:22 mezenc upsmon[3865]: Poll UPS [mgeups at localhost] failed -
Data stale
it happens when daemon upsd et upsmon are started after the boot
obviously, there isn't any errors when upsd and upsmon are started at boot
following later ...
-----Message d'origine-----
De : goudard sabine
Envoy? : mardi
2011 May 24
2
Problem with visualization of power of t test
Dear R-User,
I'm trying to visualize the results of the power calculation with the function power.t.test(). Therefore I want to plot the related t-distributions and shade the surfaces indicatingt the type I error, the type II error and the power. For sample sizes greater 30 I got results which are very satisfying. For small sample sizes I got stuck and did'nt find a mistake.
To show you
2011 May 24
1
power.t.test visualization problem
Dear R-User,
I'm trying to visualize the results of the power calculation with the
function power.t.test(). Therefore I want to plot the related
t-distributions and shade the surfaces indicatingt the type I error,
the type II error and the power. For sample sizes greater 30 I got
results which are very satisfying. For small sample sizes I got stuck
and did'nt find a mistake.
To
2012 Oct 26
1
NUT 2.6.3, openSUSE 12.2 : UPS unit not switched off
Dear List, I'm trying to perform an automatic server shutdown and restart
with NUT 2.6.3, openSUSE 12.2 and an Eaton Eco 1600. The server shutdown
works but there is no automatic restart when wall power returns. Unlike
successful tests with earlier versions of openSUSE, the UPS unit is never
switched off. It goes on beeping for as long as I let it.
When I pulled the plug from the wall
2009 Nov 17
3
Perform operations on dataframes called with paste in loops
In a loop, I compose the name of a csv file using paste, then read it (e.g.,
dataset1.csv, dataset2.csv, etc). The name of the dataframe assigned to the
imported csv is also composed with paste (e.g., dataset1, dataset2, etc.).
Now I want to perform operations on the dataframes dataset1, dataset2, etc.
However, the paste function only renders a string on which I can not, for
example, do operations
2007 Nov 13
0
trouble with ups mge evolution2200 and mandriva 2007 - nut 2.2 + PSP
Hello,
I'll be back with my MGE Evolution 2200 connected with RS232
I upgrade nut 2.0.1 in nut 2.2 + psp
as you ask me
PSP autodetect my UPS and autoconfigure NUT.
not really diffcult !
So I didn't change anything but I always have in my syslog these event
Nov 13 11:09:22 mezenc upsmon[3865]: Poll UPS [mgeups at localhost] failed -
Data stale
Nov 13 11:09:27 mezenc upsmon[3865]: Poll
2006 May 17
2
error handling in upssched.c
While looking into Laurent Lesage's problem with upssched, I noticed
something in exec_cmd():
http://boxster.ghz.cc/projects/nut/browser/trunk/clients/upssched.c#L79
In the man pages for system(3) on both OS X and Linux (Debian sarge),
I do not see any mention of errno being set. The error code is
returned by system, and I am wondering if the "file not found" error
that Laurent saw
2015 Apr 27
0
upssched setup
Hi,
The exec is returning 126 - "Command invoked cannot execute. A
permission or command not executable problem.".
Are you sure that the script is executable by the user running NUT? Do
you have SELinux enabled?
Regards,
Neil.
On 27/04/15 20:55, James Hammond wrote:
> Hi Roger,
>
> I get:
>
> Apr 27 20:50:05 unifi upsmon[1022]: UPS ups on battery
> Apr 27
2020 Mar 19
0
exec_cmd(/path/upssched-cmd event) returned 78
Hello,
not sure if it is a scripting problem or an owner/group problem but when
I try to send an email following en event using upssched-cmd, the script
exits on the line where I send the email with this message in syslog :
Mar 19 20:49:51 chaudron-nautique upssched[1377]:
exec_cmd(/path/upssched-cmd onbatt1) returned 78
The log messages prior to the email (logger -t upssched-cmd message)
2001 Nov 05
1
Problem to transfer Splus functions
Hello
I would like to transfer some Splus functions in R.
But I have a problem first about this assignation in Splus :
xnom <- deparse(substitute(x))
I am a bad programmer : I don't understand the R help
How to modify these functions ?
Thank you very much for your help
Here are the four functions and a data test
2012 Dec 12
1
EATON 5PX with nut 2.6 on ubuntu 12.04
Hello,
I have a EATON 5PX with a Network Management Card
on ubuntu 12.04
I established a shutdown procedure like described in rogerprice.org
It works
I have an event mail on "onbatt" then another on "onbattdelay1" then the
"upsmon -c fsd" order on "onbattedelay2"
When "onbattdelay2" is finished, my server execute "auto logout and
shutdown