[Xymon] New client problems

Josh Luthman josh at imaginenetworksllc.com
Sat Mar 14 01:29:06 CET 2015


$ 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: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373

On Fri, Mar 13, 2015 at 8:21 PM, J.C. Cleaver <cleaver at terabithia.org>
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: 937-552-2340
> > Direct: 937-552-2343
> > 1100 Wayne St
> > Suite 1337
> > Troy, OH 45373
> >
> > On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <cleaver at terabithia.org>
> > 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
> >> >>
> >>
> >>
> >>
> >>
> >>
> >
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20150313/c0ff09dd/attachment.html>


More information about the Xymon mailing list