Xymon Mailing List Archive search

New client problems

list Josh Luthman
Fri, 13 Mar 2015 20:29:06 -0400
Message-Id: <CAN9qwJ8FCddbD1kRwc0wCeJSE=user-db66f513c5fd@xymon.invalid>

$ ll xymonclient.sh
-rwxr-xr-x 1 shire shire 3333 Mar 13 16:45 xymonclient.sh

$ ./xymonclient.sh
touch: cannot touch `/msg..txt.2516': Permission denied
./xymonclient.sh: line 45: /bin/clientupdate: No such file or directory
./xymonclient.sh: line 47: --version: command not found
./xymonclient.sh: line 54: /msg..txt.2516: Permission denied
./xymonclient.sh: line 55: /msg..txt.2516: Permission denied
./xymonclient.sh: line 62: /msg..txt.2516: Permission denied
./xymonclient.sh: line 63: /msg..txt.2516: Permission denied
./xymonclient.sh: line 78: /msg..txt.2516: Permission denied
./xymonclient.sh: line 79: /msg..txt.2516: Permission denied
./xymonclient.sh: line 85: /msg..txt.2516: No such file or directory
mv: cannot stat `/msg..txt.2516': No such file or directory

Line 45 is: CLIENTVERSION="`$XYMONHOME/bin/clientupdate --level`"

I'm not seeing any breaks but that does look like the case, no?  Not sure
what it is supposed to do, it just returns a blank line.


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 8:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
Can you validate that you can execute the xymonclient.sh script manually?
Any permissions problems going on?

It seems like we're not even getting to a point where we're executing.

-jc


On Fri, March 13, 2015 2:40 pm, Josh Luthman wrote:
It was wrapping, I actually typed it to make sure there wasn't any
copy/paste mess.

http://pastebin.com/t9XFhpAU


Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <user-87556346d4af@xymon.invalid>
wrote:
Hi,

Wrapping might have gotten us, but I think
***
"sh -x /home/shire/./bin/xymonclient.sh"
***
might not have been on a single line.

-jc


On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:
in ~/bin/xymonclient.sh
$XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp

$ /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg
sh
-x
sh-4.1$ /home/shire/./bin/xymonclient.sh
+ /home/shire/./bin/xymonclient.sh
sh-4.1$

Neither of the two logs were changed.  No output other than what was
copied.  Should I be looking for something elsewhere?

After that, can you run the following?

/home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg sh
-x
/home/shire/./bin/xymonclient.sh