The user:group running httpd doesn't have permissions to /var/lib/hobbit/www I expect.<br><br>name -i /var/lib/hobbit/www<br><br>Debian uses nobody for httpd, I think, so "nobody" needs to execute those directories and read to bb.html and such.<br>

<br>Easiest way is to have Xymon run with the apache user, or create a group that the two share, etc.<br><br clear="all">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><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 2:55 PM, Jewel Makda <span dir="ltr"><<a href="mailto:jewel.brueggeman-makda@washburn.edu">jewel.brueggeman-makda@washburn.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    I changed the first two lines in my apache2.conf file to:<div class="im"><br>
    <br>
    Alias /xymon/  "/var/lib/hobbit/www/"<br></div>
    <Directory "/var/lib/hobbit/www/"><br>
    <br>
    and now I can see the home page!  But when I click on anything I
    get:<br>
    <i>Forbidden "You don't have permission to access
      /hobbit-cgi/bb-hostsvc.sh on this server"</i><br>
    <br>
    Here is what my apache2.conf file looks like now:<br>
    <br>
    Alias /xymon/  "/home/xymonuser/server/www/"<br>
    <Directory "/home/xymonuser/server/www"><br>
        Options Indexes FollowSymLinks Includes MultiViews<br>
        Order allow,deny<br>
        Allow from all<br>
    </Directory><br>
    <br>
    ScriptAlias /xymon-cgi/ "/home/xymonuser/cgi-bin/"<br>
    <Directory "/home/xymonuser/cgi-bin"><br>
        AllowOverride None<br>
        Options ExecCGI Includes<br>
        Order allow,deny<br>
        Allow from all<br>
    </Directory><br>
    <br>
    ScriptAlias /xymon-seccgi/ "/home/xymonuser/cgi-secure/"<br>
    <Directory "/home/xymonuser/cgi-secure"><br>
        AllowOverride None<br>
        Options ExecCGI Includes<br>
        Order allow,deny<br>
        Allow from all<br>
    <br>
    Thanks so far so the quick and helpful response!<div class="im"><br>
    <br>
    <br>
    On 9/7/2011 1:44 PM, Josh Luthman wrote:
    <blockquote type="cite">Looks like Xymon is running, so that's all good.<br>
      <br>
      Double check to see, in apache2.conf, this:<br>
      Alias /xymon/  "/var/lib/hobbit/www/"<br>
      <br>
      Next do a<br>
      file index.html #you should see index.html: symbolic link to
      `bb.html'<br>
    </blockquote></div>
    I am not sure what you mean here.<div><div></div><div class="h5"><br>
    <blockquote type="cite">
      <br>
      Now do an ls -lh bb.html and make sure it isn't blank<br>
      <br>
      Now when you go to <a href="http://foobarhost.com/xymon/" target="_blank">foobarhost.com/xymon/</a>
      (note the trailing slash) what page do you see?<br>
      <br clear="all">
      Josh Luthman<br>
      Office: <a href="tel:937-552-2340" value="+19375522340" target="_blank">937-552-2340</a><br>
      Direct: <a href="tel:937-552-2343" value="+19375522343" target="_blank">937-552-2343</a><br>
      1100 Wayne St<br>
      Suite 1337<br>
      Troy, OH 45373<br>
      <br>
      <br>
      <div class="gmail_quote">On Wed, Sep 7, 2011 at 2:35 PM, Jewel
        Makda <span dir="ltr"><<a href="mailto:jewel.brueggeman-makda@washburn.edu" target="_blank">jewel.brueggeman-makda@washburn.edu</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
          <div bgcolor="#FFFFFF" text="#000000"> I appended the
            xymon-apache.conf to the end of the apache2.conf file.<br>
            When I run a netstat -an | grep 1984 I get the following:<br>
            tcp  0  0  <a href="http://0.0.0.0:1984" target="_blank">0.0.0.0:1984</a>         
            0.0.0.0:*              LISTEN<br>
            tcp  0  0  <a href="http://127.0.0.1:51250" target="_blank">127.0.0.1:51250</a>  
            <a href="http://127.0.0.1:1984" target="_blank">127.0.0.1:1984</a>   TIME_WAIT<br>
            tcp  0  0  <a href="http://127.0.0.1:51251" target="_blank">127.0.0.1:51251</a>  
            <a href="http://127.0.0.1:1984" target="_blank">127.0.0.1:1984</a>   TIME_WAIT<br>
            <br>
            When I search for the bb.html file it's located in:<br>
            /var/lib/hobbit/www/bb.html<br>
            /var/lib/hobbit/www/bb2.html
            <div>
              <div><br>
                <br>
                On 9/7/2011 1:26 PM, Josh Luthman wrote:
                <blockquote type="cite">You can use nano or pico as an
                  easier file editor.<br>
                  <br>
                  Did you overwrite apache2.conf with xymon's
                  xymon-apache.conf?  You are supposed to append it.<br>
                  <br>
                  It seems xymond is running.  Do a:<br>
                  <br>
                  netstat -an|grep 1984<br>
                  <br>
                  Then look at your web files and look for bb.html and
                  bb2.html, probably in /var/html/www<br>
                  <br clear="all">
                  Josh Luthman<br>
                  Office: <a href="tel:937-552-2340" value="+19375522340" target="_blank">937-552-2340</a><br>
                  Direct: <a href="tel:937-552-2343" value="+19375522343" target="_blank">937-552-2343</a><br>
                  1100 Wayne St<br>
                  Suite 1337<br>
                  Troy, OH 45373<br>
                  <br>
                  <br>
                  <div class="gmail_quote">On Wed, Sep 7, 2011 at 2:14
                    PM, Jewel Makda <span dir="ltr"><<a href="mailto:jewel.brueggeman-makda@washburn.edu" target="_blank">jewel.brueggeman-makda@washburn.edu</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> I am trying to
                      setup xymon on Ubuntu and for days now have not
                      been able to get it working.  I have followed the
                      installation steps to a "T" and have created a
                      user called "xymonuser" for xymon.  I copied the
                      xymon-apache.conf file to my
                      /etc/apache2/apache2.conf and when I start the
                      xymon.sh service as xymonuser I only see the
                      "index/xymon" directory when I go to <a href="http://localhost/xymom/" target="_blank">http://localhost/xymom/</a><br>
                       Here are some of my one of my log files:<br>
                      <br>
                      tail /var/log/xymon/xymonlaunch.log<br>
                         Cannot access checkpoint file
                      /home/xymonuser/srver/tmp/xymond.chk for restore<br>
                         Setting up network listener on <a href="http://0.0.0.0:1984" target="_blank">0.0.0.0:1984</a><br>
                         Cannot bind to listen socket (Address already
                      in use)<br>
                         Task xymond terminated, status 1<br>
                      <br>
                      There are errors at in my apache logs and when I
                      start the xymon service it starts successfully.<br>
                      <br>
                      I have to say I am a newbie when it comes to linux
                      and am still learning how to use vi.<br>
                      <br>
                      Jewel<br>
                      <font color="#888888"> <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        <br>
                        -- <br>
                        <br>
                        <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><br>
                      </font></blockquote>
                  </div>
                  <br>
                </blockquote>
                <br>
              </div>
            </div>
            <pre cols="72">-- 

</pre>
          </div>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
    </div></div><pre cols="72">-- 

</pre>
  </div>

</blockquote></div><br>