<div dir="ltr"><div>Looks pretty clean to me, but I'm not sure what I'm looking for here:</div><div><br></div><div><a href="http://pastebin.com/FN6f34HK">http://pastebin.com/FN6f34HK</a><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><br></div>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373</div></div></div>
<br><div class="gmail_quote">On Fri, Mar 13, 2015 at 9:31 PM, J.C. Cleaver <span dir="ltr"><<a href="mailto:cleaver@terabithia.org" target="_blank">cleaver@terabithia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
Well, at this point we're simply not running in the environment.<br>
<br>
Try:<br>
/home/shire/bin/xymoncmd --env=/home/shire/etc/xymonclient.cfg<br>
<br>
(This should drop you into a subshell)<br>
<br>
Then:<br>
sh -x bin/xymonclient.sh<br>
<span class=""><font color="#888888"><br>
<br>
<br>
-jc<br>
</font></span><div class=""><div class="h5"><br>
<br>
<br>
On Fri, March 13, 2015 5:29 pm, Josh Luthman wrote:<br>
> $ ll xymonclient.sh<br>
> -rwxr-xr-x 1 shire shire 3333 Mar 13 16:45 xymonclient.sh<br>
><br>
> $ ./xymonclient.sh<br>
> touch: cannot touch `/msg..txt.2516': Permission denied<br>
> ./xymonclient.sh: line 45: /bin/clientupdate: No such file or directory<br>
> ./xymonclient.sh: line 47: --version: command not found<br>
> ./xymonclient.sh: line 54: /msg..txt.2516: Permission denied<br>
> ./xymonclient.sh: line 55: /msg..txt.2516: Permission denied<br>
> ./xymonclient.sh: line 62: /msg..txt.2516: Permission denied<br>
> ./xymonclient.sh: line 63: /msg..txt.2516: Permission denied<br>
> ./xymonclient.sh: line 78: /msg..txt.2516: Permission denied<br>
> ./xymonclient.sh: line 79: /msg..txt.2516: Permission denied<br>
> ./xymonclient.sh: line 85: /msg..txt.2516: No such file or directory<br>
> mv: cannot stat `/msg..txt.2516': No such file or directory<br>
><br>
> Line 45 is: CLIENTVERSION="`$XYMONHOME/bin/clientupdate --level`"<br>
><br>
> I'm not seeing any breaks but that does look like the case, no?  Not sure<br>
> what it is supposed to do, it just returns a blank line.<br>
><br>
><br>
> Josh Luthman<br>
> Office: 937-552-2340<br>
> Direct: 937-552-2343<br>
> 1100 Wayne St<br>
> Suite 1337<br>
> Troy, OH 45373<br>
><br>
> On Fri, Mar 13, 2015 at 8:21 PM, J.C. Cleaver <<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>><br>
> wrote:<br>
><br>
>><br>
>> Can you validate that you can execute the xymonclient.sh script<br>
>> manually?<br>
>> Any permissions problems going on?<br>
>><br>
>> It seems like we're not even getting to a point where we're executing.<br>
>><br>
>> -jc<br>
>><br>
>><br>
>><br>
>> On Fri, March 13, 2015 2:40 pm, Josh Luthman wrote:<br>
>> > It was wrapping, I actually typed it to make sure there wasn't any<br>
>> > copy/paste mess.<br>
>> ><br>
>> > <a href="http://pastebin.com/t9XFhpAU" target="_blank">http://pastebin.com/t9XFhpAU</a><br>
>> ><br>
>> ><br>
>> > Josh Luthman<br>
>> > Office: <a href="tel:937-552-2340" value="+19375522340">937-552-2340</a><br>
>> > Direct: <a href="tel:937-552-2343" value="+19375522343">937-552-2343</a><br>
>> > 1100 Wayne St<br>
>> > Suite 1337<br>
>> > Troy, OH 45373<br>
>> ><br>
>> > On Fri, Mar 13, 2015 at 5:21 PM, J.C. Cleaver <<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>><br>
>> > wrote:<br>
>> ><br>
>> >> Hi,<br>
>> >><br>
>> >> Wrapping might have gotten us, but I think<br>
>> >> ***<br>
>> >> "sh -x /home/shire/./bin/xymonclient.sh"<br>
>> >> ***<br>
>> >> might not have been on a single line.<br>
>> >><br>
>> >> -jc<br>
>> >><br>
>> >><br>
>> >><br>
>> >> On Fri, March 13, 2015 1:47 pm, Josh Luthman wrote:<br>
>> >> > in ~/bin/xymonclient.sh<br>
>> >> > $XYMON --debug $XYMSRV "@" < $MSGTMPFILE >$LOGFETCHCFG.tmp<br>
>> >> ><br>
>> >> > $ /home/shire/./bin/xymoncmd<br>
>> --env=/home/shire/./etc/xymonclient.cfg<br>
>> >> sh<br>
>> >> -x<br>
>> >> > sh-4.1$ /home/shire/./bin/xymonclient.sh<br>
>> >> > + /home/shire/./bin/xymonclient.sh<br>
>> >> > sh-4.1$<br>
>> >> ><br>
>> >> > Neither of the two logs were changed.  No output other than what<br>
>> was<br>
>> >> > copied.  Should I be looking for something elsewhere?<br>
>> >> ><br>
>> >> ><br>
>> >><br>
>> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> After that, can you run the following?<br>
>> >> >><br>
>> >> >> /home/shire/./bin/xymoncmd --env=/home/shire/./etc/xymonclient.cfg<br>
>> sh<br>
>> >> -x<br>
>> >> >> /home/shire/./bin/xymonclient.sh<br>
>> >> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> ><br>
>><br>
>><br>
>><br>
><br>
<br>
<br>
</div></div></blockquote></div><br></div></div>