<div dir="ltr">We spent quite a while getting apache configured properly because documentation had changed over the years.  Here were my steps (Ubuntu 14.04)<div><br></div><div><ol><li>   Install latest from source using makdeb instructions and dpkg</li><li>   Enable CGI<br>   $ sudo a2enmod cgid</li><li>   $ sudo nano /etc/apache2/mods-enabled/alias.conf</li><li>   Fix Apache Startup error<br>   $ sudo nano /etc/apache2/apache2.conf<br>   Place this somewhere in the file:<br>   ServerName x <--- Where "x" is the hostname of your server</li><li>   Setup apache Alias<br>   $ sudo nano /etc/apache2/mods-enabled/alias.conf<br>   Paste the text below between </Directory> and </IfModules></li></ol></div><div><div><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"><font face="courier new, monospace"><br>        Alias /xymon/ "/usr/lib/xymon/server/www/"<br>        <Directory "/usr/lib/xymon/server/www/"><br>                Options Indexes FollowSymLinks Includes MultiViews<br>                Require all granted   <br>        </Directory><br>        ScriptAlias /xymon-cgi/ "/usr/lib/xymon/cgi-bin/"<br>        <Directory "/usr/lib/xymon/cgi-bin"><br>                AllowOverride None<br>                Options ExecCGI Includes<br>                Require all granted<br>        </Directory><br>        ScriptAlias /xymon-seccgi/ "/usr/lib/xymon/cgi-secure/"<br>        <Directory "/usr/lib/xymon/cgi-secure"><br>                AllowOverride None<br>                Options ExecCGI Includes<br>                Require all granted<br>                # Password file where users with access to these scripts are kept.<br>                # Create it with "htpasswd -c /usr/lib/xymon/server/etc/xymonpasswd USERNAME"<br>                # Add more users / change passwords with "htpasswd /usr/lib/xymon/server/etc/xymonpasswd USERNAME"<br>                AuthUserFile /usr/lib/xymon/server/etc/xymonpasswd<br>                AuthType Basic<br>                AuthName "Xymon Administration"<br>                Require valid-user<br>        </Directory></font></blockquote><div><br></div></div></div><div><ol><li>Fix a memory leak wih Apache/Ubuntu 14.04<br>   $ sudo apt-get install libpam-smbpass</li><li>Restart the Apache Server<br>   $ sudo /etc/init.d/apache2 restart</li><li>Finally, configure hosts, mail settings, alerts, etc </li></ol><div>I can provide more detailed instructions for any of these steps if you think they apply. </div></div><div><br></div><div>-Tres</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">- <a href="mailto:Tres.Finocchiaro@gmail.com" target="_blank">Tres.Finocchiaro@gmail.com</a></div></div>
<br><div class="gmail_quote">On Fri, Sep 19, 2014 at 3:16 PM, Steve Coile <span dir="ltr"><<a href="mailto:scoile@mcclatchyinteractive.com" target="_blank">scoile@mcclatchyinteractive.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'd guess an Apache configuration issue, yes.  Of course, you should also check the permission on the <i>xymon.html</i> file to ensure it's readable by whatever user your Apache <i>httpd</i> process is running as.</div><div class="gmail_extra"><span class=""><br clear="all"><div><div><br></div>-- <div><b>Steve Coile<br></b>Senior Network and Systems Engineer, <a href="http://www.mcclatchyinteractive.com/" target="_blank">McClatchy Interactive</a><div><font size="1">Office: <a href="tel:919-861-1247" value="+19198611247" target="_blank">919-861-1247</a> | Mobile: <a href="tel:919-622-5369" value="+19196225369" target="_blank">919-622-5369</a> | Fax: <a href="tel:919-861-1300" value="+19198611300" target="_blank">919-861-1300</a></font></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Fri, Sep 19, 2014 at 2:56 PM, Andre Beyleveldt <span dir="ltr"><<a href="mailto:Andreb@paym8.co.za" target="_blank">Andreb@paym8.co.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-ZA" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Guys<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m down to having this error.  I know it’s due to a permission either on a folder or config file.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:red">You don't have permission to access /xymon/xymon.html on this server.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:red"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f4e79">Am I correct in saying that Apache wants to hit the xymon
 web page but it has not access hence the error.?</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:red"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">Regards<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366"><u></u> <u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">Andre Beyleveldt</span></b><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366"><u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">System Engineer<u></u><u></u></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">Phone:</span></b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366"> <a href="tel:%2B27%2011%20564%202480" value="+27115642480" target="_blank">+27 11 564 2480</a><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">Mobile</span></b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">: <a href="tel:%2B27%2082%C2%A0686%205828" value="+27826865828" target="_blank">+27 82 686 5828</a>
<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">Email:</span></b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">
</span><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="mailto:andreb@paym8.co.za" target="_blank"><span style="color:#0563c1">andreb@paym8.co.za</span></a><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">Website</span></b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">:
</span><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><a href="http://www.paym8.co.za/" target="_blank"><span style="color:#0563c1">www.paym8.co.za</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366">Postal:</span></b><span style="font-size:9.0pt;font-family:"Calibri","sans-serif";color:#003366"> Private Bag X83, Halfway House 1685</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Steve Coile [mailto:<a href="mailto:scoile@mcclatchyinteractive.com" target="_blank">scoile@mcclatchyinteractive.com</a>]
<br>
<b>Sent:</b> 19 September 2014 02:54 AM<br>
<b>To:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Cc:</b> Andre Beyleveldt<br>
<b>Subject:</b> Re: [Xymon] Xymon Setup<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Looks to me like (the <i>xymonserver.cfg</i> variable) <i>$XYMON</i> isn't defined with an absolute path, and (the environment variable) <i>$PATH</i> does not include
<i>~xymon/server/bin</i>.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal"><b>Steve Coile<br>
</b>Senior Network and Systems Engineer, <a href="http://www.mcclatchyinteractive.com/" target="_blank">McClatchy Interactive</a><u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:7.5pt">Office: <a href="tel:919-861-1247" value="+19198611247" target="_blank">919-861-1247</a> | Mobile: <a href="tel:919-622-5369" value="+19196225369" target="_blank">919-622-5369</a> | Fax: <a href="tel:919-861-1300" value="+19198611300" target="_blank">919-861-1300</a></span><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Sep 18, 2014 at 8:21 PM, Jeremy Laidman <<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal">That's weird.  The error message says that it's trying to load the task defined in tasks.cfg section [xymon].  My tasks.cfg has no [xymon].  The nearest match is [xymond].  Similarly, the command 'xymon' would have been defined in a "CMD"
 line, and my tasks.cfg has no such line.<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">You should check your tasks.cfg (and tasks.d directory contents) for invalid entries.  A useful diagnostic is to dump the tasks like so:<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">xymoncmd sh -c '$XYMONHOME/bin/xymonlaunch --config=$XYMONHOME/etc/tasks.cfg --dump'<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">This will show you the tasks configuration after being parsed by xymonlaunch, which includes slurping in include files, stripping comments, de-duplicating entries, and dropping unrecognised keywords.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">J<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 19 September 2014 04:12, Andre Beyleveldt <<a href="mailto:Andreb@paym8.co.za" target="_blank">Andreb@paym8.co.za</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal">Hi Guys<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I need some assistance with regards to setting up Xymon, I have seen it once or twice but the actual config itself I have never done.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I used the man pages etc. but I can’t get my Xymon url to show the page, checked the log and I am getting the following.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><img border="0" width="830" height="39" src="cid:image003.png@01CFD44B.F8CA31B0"><u></u><u></u></p>
<p class="MsoNormal"><img border="0" width="824" height="39" src="cid:image004.png@01CFD44B.F8CA31B0"><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Then the error just repeats over and over.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Does anyone perhaps have an example of what needs to be setup that I can use to reference to mine to see what I did wrong.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d">Kind regards,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<table border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr>
<td width="148" valign="top" style="width:110.9pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><a href="http://www.paym8.co.za/" target="_blank"><span style="font-size:9.0pt;color:#1f497d;text-decoration:none"><img border="0" width="109" height="146" src="cid:image005.png@01CFD44B.F8CA31B0" alt="Description: singature picture 1"></span></a><u></u><u></u></p>
</td>
<td width="254" valign="top" style="width:190.6pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal" style="text-autospace:none">
<b><span style="font-size:9.0pt;color:#003366">Andre Beyleveldt</span></b><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<b><span style="font-size:9.0pt;color:#003366">System Engineer</span></b><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<b><span style="font-size:9.0pt;color:#003366">Phone:</span></b><span style="font-size:9.0pt;color:#003366">
<a href="tel:%2B27%2011%20564%202480" target="_blank">+27 11 564 2480</a></span><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<b><span style="font-size:9.0pt;color:#003366">Mobile</span></b><span style="font-size:9.0pt;color:#003366">:
<a href="tel:%2B27%2082%C2%A0686%205828" target="_blank">+27 82 686 5828</a> </span>
<u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<b><span style="font-size:9.0pt;color:#003366">Email:</span></b><span style="font-size:9.0pt;color:#003366">
</span><span style="font-size:9.0pt;color:#1f497d"><a href="mailto:andreb@paym8.co.za" target="_blank"><span style="color:#0563c1">andreb@paym8.co.za</span></a></span><u></u><u></u></p>
<p class="MsoNormal" style="text-autospace:none">
<b><span style="font-size:9.0pt;color:#003366">Website</span></b><span style="font-size:9.0pt;color:#003366">:
</span><span style="font-size:9.0pt;color:#1f497d"><a href="http://www.paym8.co.za/" target="_blank"><span style="color:#0563c1">www.paym8.co.za</span></a></span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;color:#003366">Postal:</span></b><span style="font-size:9.0pt;color:#003366"> Private Bag X83, Halfway House 1685</span><u></u><u></u></p>
</td>
<td width="550" valign="top" style="width:412.4pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><a href="https://sealserver.trustwave.com/cert.php?customerId=w6oj3BfC7hnnGnD5amTROytnX2IWgo&size=105x54&style=normal" target="_blank"><span style="font-size:9.0pt;color:#1f497d;text-decoration:none"><img border="0" width="107" height="46" src="cid:image006.jpg@01CFD44B.F8CA31B0" alt="Description: image003"></span></a><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:9.0pt;color:#1f497d">     
</span><u></u><u></u></p>
</td>
</tr>
<tr style="height:113.85pt">
<td width="952" colspan="3" valign="top" style="width:713.9pt;padding:0cm 5.4pt 0cm 5.4pt;height:113.85pt">
<p class="MsoNormal"><b><span style="font-size:9.0pt;color:#ff9900"> </span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:9.0pt;color:#002060">ATTENTION:</span></b><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:8.0pt;color:#31849b">PAYM8 continues its commitment to data security and is now in its fourth straight year of successful re-certification for PCI DSS
 (Payment Card Industry Data Security Standard) compliance.</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#999999">PAYM8 operates in the Payment Card Industry environment. In order to align with the Payment Card Industry Data Security Standard best
 practices, we do not send or accept any unencrypted or unmasked PANs (Primary Account Numbers as displayed on credit and debit cards) via end user messaging technologies (such as email, instant messaging and chat). If there is a business need to send unencrypted
 or unmasked PANs to PAYM8 please contact the recipient to facilitate an appropriate mechanism.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#999999"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#999999">The information transmitted in this e-mail is intended only for the person or entity to which it is addressed and may contain confidential
 and/or privileged material. Should you have received this e-mail in error please notify the sender and delete all copies of the e-mail. Unauthorized use, disclosure or copying of any part of this e-mail, or any similar action, is prohibited. No opinion expressed
 or implied by the sender necessarily constitutes the opinion of PAYM8. This e-mail does not constitute a guarantee or proof of the facts mentioned herein. No employee or intermediary is authorized to conclude a binding agreement on behalf of PAYM8 by e-mail
 without the express written confirmation by a duly authorized representative of PAYM8.</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>