<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi mdeal.<div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 2 Mar 2021 at 09:51, <a href="mailto:mdeal5@juno.com">mdeal5@juno.com</a> <<a href="mailto:mdeal5@juno.com">mdeal5@juno.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Folks, I'm a newbie to xymon and not the strongest linux user admittedly.</div></blockquote><div><br></div><div>Welcome to Xymon.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>I've gone through the available documentation that I've been able to locate and I am completely stumped and stuck.  No matter what I do, I get an error 403 when I try to access the Xymon server page.<br></div></blockquote><div><br></div><div>A 403 error means forbidden. This could be due to several things, such as the user that Apache runs as, does not have access to the directory where the Xymon web pages are stored. Or it could be a restriction configured within Apache.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div></div>
<div>So.  My first question.  Do I have to access the Xymon web page from the local host or can I access it from a web browser on another host?<br></div></blockquote><div><br></div><div>Typically, you don't need to be on the host that runs Apache.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div></div><div>If I can access it from a browser on a different machine, what steps do I need to take to diagnose why I can't access the webpages?</div></blockquote><div><br></div><div>I'd be taking a look at the web server error logs. Often it will provide a bit more information about why the 403 error was given.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>From what I can determine, the Xymon service is active and running.  I've started, stopped, and restarted them multiple times using sudo service xymon <command>.<br></div>
<div> </div>
<div>ps afx | grep hobbit  yields</div></blockquote><div><br></div><div>Try replacing "hobbit" with "xymon":</div><div><br></div><div>ps afx | grep xymon</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>I've restarted apache2 services in a similar fashion after changing Allow from localhost to Allow from all.  Still nothing.<br></div>
<div> </div>
<div>I've seen a few threads with similar questions, but none of them have been very helpful and I can't figure out anything else to do.</div>
<div> </div>
<div>Where do I start to unravel this particular gordian knot?  And I apologize for being long winded.</div></blockquote><div><br></div><div>This seems to be an Apache problem rather than a Xymon problem. To make sure the Xymon part is working, take a look at the Xymon "www" directory to see if there's a new index.html file there. If there is, then Xymon is working fine, and your only problem is getting that file displayed in your browser.</div><div><br></div><div>The Xymon "www" directory is located somewhere like /usr/lib/xymon/server/www/, or ~xymon/server/www (where ~xymon expands to the xymon user's home directory). So for example:</div><div><br></div><div>ls -l ~xymon/server/www/</div><div><br></div><div>Or you should be able to find the directory name with:<br><br>xymoncmd echo '$XYMONWWWDIR'<br></div><div><br></div><div>and list its contents with:</div><div><br></div><div>xymoncmd ls -l '$XYMONWWWDIR'/<br></div><div><br></div><div>(the trailing slash is required for systems, such as mine, where the directory is actually a symbolic link)</div><div><br></div><div>Cheers</div><div>Jeremy</div></div></div></div></div></div>