<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=DA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Usually you’ll need to
append a slash to the URL – ie. <a href="http://server/xymon/">http://server/xymon/</a>
- otherwise you try to hit a file named xymon, which doesn’t exist.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>/melgaard<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>Fra:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
xymon-bounces@xymon.com [mailto:xymon-bounces@xymon.com] <b><span
style='font-weight:bold'>På vegne af </span></b>Yanni<br>
<b><span style='font-weight:bold'>Sendt:</span></b> 6. oktober 2011 13:13<br>
<b><span style='font-weight:bold'>Til:</span></b> Alex Levin; Yanni<br>
<b><span style='font-weight:bold'>Cc:</span></b> xymon@xymon.com<br>
<b><span style='font-weight:bold'>Emne:</span></b> Re: [Xymon] Xymon Digest,
Vol 8, Issue 20</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Hi<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>  I re-installed Xymon but I still can't get
anything on the web browser.<br>
<br>
I get "Not Found. The requested URL /xymon was not found on this
server"<br>
<br>
Run 'Make & make install' again with no errors.<br>
<br>
1) Added the content of file 'xymon-apache.conf' in 'httpd.conf'.<br>
2) Created 'xymonpasswd' using '.htaccess' and placed it in /etc/httpd
directory.<br>
3) Edited 'xymon-apache.conf' file and modify location of xymonpasswd.<br>
4) Commented out '#AuthGroupFile /opt/xymon/server/etc/xymongroups' in
httpd.conf because I am not going to use it.<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>   In fact I haven't figured out how to use
it at the moment, so I will leave for another time.<br>
<br>
When I checked the apache syntax (apachectl -t), I got the following warnings:<br>
 <br>
*)[Thu Oct 06 11:27:58 2011] [warn] The Alias directive in
/etc/httpd/conf/httpd.conf at line 1010 will probably never match because it
overlaps an earlier Alias.<br>
<br>
*)[Thu Oct 06 11:27:58 2011] [warn] The ScriptAlias directive in
/etc/httpd/conf/httpd.conf at line 1017 will probably never match because it overlaps
an earlier ScriptAlias.<br>
<br>
*)[Thu Oct 06 11:27:58 2011] [warn] The ScriptAlias directive in
/etc/httpd/conf/httpd.conf at line 1025 will probably never match because it
overlaps an earlier ScriptAlias.<br>
<br>
*)Syntax OK<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
My 'xymonlaunch.log' looks like this:<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2011-10-06 11:09:38 xymonlaunch starting<br>
2011-10-06 11:09:38 Loading tasklist configuration from
/opt/xymon/server/etc/tasks.cfg<br>
2011-10-06 11:09:38 Cannot open directory<br>
2011-10-06 11:09:38 Loading hostnames<br>
2011-10-06 11:09:38 Loading saved state<br>
2011-10-06 11:09:38 Setting up network listener on 0.0.0.0:1984<br>
2011-10-06 11:09:38 Setting up signal handlers<br>
2011-10-06 11:09:38 Setting up xymond channels<br>
2011-10-06 11:09:38 Setting up logfiles<br>
<br>
I can not see why it can't open 'tasks.cfg'.<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>The file is there and its owner is 'xymon' (created
when asked during installation)<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>My 'alert.log' looks like this:<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:11:46 Cannot open configuration file /opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:12:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:12:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:13:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:13:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:14:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:14:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:15:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:15:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:16:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:16:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:17:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:17:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:18:46 Cannot open configuration file /opt/xymon/server/etc/alerts.cfg:
No such file or directory<br>
2011-10-05 12:18:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:19:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:19:46 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:20:46 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:20:46 Cannot open configuration file /opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:20:56 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:20:56 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:21:56 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:21:56 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
2011-10-05 12:22:56 Cannot open configuration file
/opt/xymon/server/etc/alerts.cfg: No such file or directory<br>
2011-10-05 12:22:56 Cannot open configuration file
/opt/xymon/server/etc/holidays.cfg<br>
<br>
I can confirm that all the above files are located in /opt/xymon/server/etc
directory.<br>
The owner is 'apache' and they belong to the group 'xymon', except 'critical.cfg'
which also owned by 'apache'.<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
My 'xymond.log' looks like this:<br>
<br>
2011-09-26 11:25:31 Setup complete<br>
2011-09-26 15:15:23 Setup complete<br>
2011-09-29 12:13:41 Setup complete<br>
2011-10-05 12:15:56 Config file hosts.cfg not found<br>
2011-10-05 12:21:02 Cannot open checkpoint file
/opt/xymon/server/tmp/xymond.chk.1317813662 : No such file or directory<br>
2011-10-05 12:21:04 Cannot load host data<br>
2011-10-05 12:23:34 Setup complete<br>
2011-10-05 12:24:26 Setup complete<br>
2011-10-06 10:52:43 Setup complete<br>
2011-10-06 11:09:38 Setup complete<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
My 'xymongen.log' looks like this:<br>
<br>
2011-09-26 11:25:36 xymond status-board not available, code 0<br>
2011-09-26 11:25:36 Failed to load current Xymon status, aborting page-update<o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<p style='margin:0cm;margin-bottom:.0001pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>Sorry for the long message but if you have any more suggestions,
please let me know.<br>
<br>
Many thanks<br>
Yanni<o:p></o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>

<div style='margin-top:3.75pt;margin-bottom:3.75pt'>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>On September 28, 2011 at 4:50 AM Alex Levin
<alevin@gmail.com> wrote:<br>
<br>
> Yanni,<br>
><br>
> All directives for xymon related apache directories ( including cgi-*<br>
> ) are already included in xymon-apache.conf, so you need just to make<br>
> sure that the file itself is included into main apache config (<br>
> httpd.conf )<br>
><br>
> if you placed xymonpasswd into /etc/httpd/ folder - you need to edit<br>
> xymon-apache.conf file and modify location of the file.<br>
> Also - if not using groups for apache authentication - remove or<br>
> comment corresponding lines from xymon-apache.conf.<br>
><br>
> When done - check  syntax of the config ( apachectl -t ) and restart<br>
> apache ( apachectl restart )  using root account.<br>
> Under user xymon - start server ( in your case<br>
> "/opt/xymon/server/xymon.sh start"  )<br>
><br>
> if everything is OK - you should be able to see something at<br>
> http://YOURWEBHOST/xymon/<br>
><br>
><br>
> If something is not working - check log files ( apache or xymon )<br>
><br>
> ---<br>
> Alex<br>
><br>
> On Tue, Sep 27, 2011 at 9:13 AM, Yanni<br>
> <y.goudetsidis@mail.cryst.bbk.ac.uk> wrote:<br>
> > Hi Alex<br>
> ><br>
> ><br>
> ><br>
> > Please allow me to mention what I have done so far.<br>
> ><br>
> ><br>
> ><br>
> > All xymon related directores (cgi-bin, cgi-secure, client, data,
server,<br>
> > webpages, xymon-cgi, xymon-seccgi) are inside<br>
> ><br>
> > /opt/xymon.<br>
> ><br>
> ><br>
> ><br>
> > After searching about configuring apache online, I found out that in
order<br>
> > for Apache to execute CGI scripts<br>
> ><br>
> > I need to edit the "access.conf" file by adding a section
like this:<br>
> ><br>
> ><br>
> ><br>
> > <Directory /opt/xymon/cgi-bin><br>
> > Options ExecCGI<br>
> > AddHandler cgi-script   .cgi   .pl<br>
> > </Directory><br>
> ><br>
> ><br>
> ><br>
> > I did that. Next I read that I should create a special location called
alias<br>
> > to the actual CGI directory and then edit my "httpd.conf"
file and add the<br>
> > line below:<br>
> ><br>
> > 'ScriptAlias /cgi-bin/  /opt/xymon/cgi-bin/'<br>
> ><br>
> ><br>
> ><br>
> > I've done that as well.<br>
> ><br>
> ><br>
> ><br>
> > Next I followed your instructions on the link you send me.<br>
> ><br>
> > I run:<br>
> ><br>
> > 'htpasswd -c /etc/httpd/xymonpasswd  admin' and entered
password.<br>
> ><br>
> ><br>
> ><br>
> > I finally found "xymon-apache.conf" and copied it to
/etc/httpd/conf.d/<br>
> ><br>
> ><br>
> ><br>
> > but I am a bit confused about the 'sed' command.<br>
> ><br>
> ><br>
> ><br>
> > Is the directory at the end stops at 'httpd'?<br>
> ><br>
> ><br>
> ><br>
> > Many thanks<br>
> ><br>
> > Yanni<br>
> ><br>
> ><br>
> ><br>
> > On September 27, 2011 at 12:17 AM Alex Levin <alevin@gmail.com>
wrote:<br>
> ><br>
> >> Yanni,<br>
> >><br>
> >> You need to include xymon-apache.conf file in your httpd.conf,
it's<br>
> >> location depends on the system you are using and  on how the
Apache<br>
> >> server was installed ( from repository or compiled )<br>
> >>   but before  - make sure that 
xymonpasswd  ( and probably<br>
> >> xymongroups ) files are created. ( read the config file :) )<br>
> >><br>
> >> Actually -  it is a good idea to understand syntax of Apache
config<br>
> >> files (  at least check directives used in xymon config on<br>
> >> http://httpd.apache.org/docs/2.2/ ) ...<br>
> >><br>
> >> Also, I have some notes on installing xymon in AWS ( amazon )
cloud<br>
> >> that could be useful for you -<br>
> >>
http://www.abristech.net/2011/09/xymon-monitoring-from-cloud.html  as<br>
> >> well<br>
> >><br>
> >><br>
> >> --<br>
> >> Alex<br>
> >><br>
> >><br>
> >><br>
> >> On Mon, Sep 26, 2011 at 4:02 AM, Yanni<br>
> >> <y.goudetsidis@mail.cryst.bbk.ac.uk> wrote:<br>
> >> > Hi everyone<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > I am junior sysadmin at a college and after a few failed
attempts I<br>
> >> > successfully installed Xymon. No errors appeared after
running 'make'<br>
> >> > and<br>
> >> > 'make install'.<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > At the moment I am trying to configure my web
server(Apache/2.2.3 )<br>
> >> > (which<br>
> >> > is located on the same machine as xymon) and I am following
the<br>
> >> > instructions<br>
> >> > on the "installing Xymon" link<br>
> >> > (http://www.xymon.com/xymon/help/install.html) but I can not
really<br>
> >> > understand what changes I have to make. It says on the link
that I have<br>
> >> > to<br>
> >> > make the necessary additions to the apache configuration in<br>
> >> > ~/server/etc/xymon-apache.conf. What lines do I have to
add/change and<br>
> >> > where<br>
> >> > can I find this file?<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > As you can understand my apache knowledge is limited, I only
installed<br>
> >> > it so<br>
> >> > I can run Xymon. Could someone please help me?<br>
> >> ><br>
> >> ><br>
> >> ><br>
> >> > Many thanks<br>
> >> ><br>
> >> > Yanni<br>
> >> ><br>
> >> ><br>
> >> > <o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>