<p dir="ltr">The installation would have written $xymonhome/server/etc/xymon-apache.conf.  Did you copy that to the Apache config file directory, then restart Apache?  It contains the ExecCGI option for the CGI directory, and without that, Apache doesn't know to execute the scripts, so it just pushes them out as plain text.</p>

<p dir="ltr">Ralph Mitchell</p>
<div class="gmail_quote">On Aug 7, 2014 2:35 AM, "Kris Springer" <<a href="mailto:kspringer@innovateteam.com">kspringer@innovateteam.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>I've looked in apache logs and xymon
      logs and I don't see anything wrong.  The permissions all look the
      same on both the working and nonworking servers.  I'm just missing
      something simple I'm sure but I don't know where to look.<br>
      <div>
        
        
        
        <br>
        <p><span>Thank you.</span></p>
        <p><span>------------------------------------------------</span></p>
        <p><span>Kris Springer</span></p>
        <br>
        <br>
      </div>
      On 8/6/2014 6:45 PM, Josh Luthman wrote:<br>
    </div>
    <blockquote type="cite">
      <p dir="ltr">Apache isn't executing it, I'd guess the config
        wasn't included.  Might also check the httpd logs.</p>
      <p dir="ltr">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</p>
      <div class="gmail_quote">On Aug 6, 2014 8:36 PM, "Phil Crooker"
        <<a href="mailto:Phil.Crooker@orix.com.au" target="_blank">Phil.Crooker@orix.com.au</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">
            <div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:#000000;margin:0">Check
              the ownership of the files - I had a similar issue and the
              web server couldn't execute the cgi.
              <div><br>
              </div>
              <div>cheers, Phil<br>
                <div><br>
                </div>
                <div style="color:rgb(40,40,40)">
                  <hr style="display:inline-block;width:98%">
                  <div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b>
                      Xymon on behalf of Kris Springer<br>
                      <b>Sent:</b> Thursday, 7 August 2014 8:35 AM<br>
                      <b>To:</b> Xymon MailingList<br>
                      <b>Subject:</b> [Xymon] new install issue</font>
                    <div> </div>
                  </div>
                  <div>I've got a stable server hosted on AWS and I'm
                    trying to build a new server on my ESXi VM server
                    hosted elsewhere.  Both are using Xymon 4.3.17 and
                    both are build on Ubuntu 14.04.  I've got Xymon2 up
                    and supposedly configured the same as Xymon1.  It's
                    displaying the basic colored webpage with alerts
                    functioning.  My problem is that when I click any
                    colored icon to view the drilldown info I get this
                    message.<br>
                    <br>
                    #!/bin/sh <br>
                    # This is a wrapper for the Xymon svcstatus.cgi
                    script <br>
                    . /usr/lib/xymon/server/etc/cgioptions.cfg exec
                    /usr/lib/xymon/server/bin/svcstatus.cgi
                    $CGI_SVC_OPTS<br>
                    <div><br>
                      I tend to think this is an apache2 issue but I
                      can't figure out what it is.  I'm comparing Xymon1
                      and Xymon2 config files and I'm not seeing
                      anything wrong.  Anybody have a clue for me?<br>
                      <br>
                      <p><span>Thank you.</span></p>
                      <p><span>------------------------------------------------</span></p>
                      <p><span>Kris Springer</span></p>
                      <br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <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>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </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>