<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (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:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Bookman Old Style";
        panose-1:2 5 6 4 5 5 5 2 2 4;}
@font-face
        {font-family:"Baskerville Old Face";
        panose-1:2 2 6 2 8 5 5 2 3 3;}
@font-face
        {font-family:Biondi;
        panose-1:2 0 5 5 3 0 0 2 0 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Bookman Old Style","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Bookman Old Style","serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Bookman Old Style","serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="color:#1F497D">I think I figured this out. There is a SELinux setting in /etc/selinux/config.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If you set the “selinux=permissive” the page loads with no problems.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><i><span style="font-size:11.0pt;font-family:"Baskerville Old Face","serif";
color:#1F497D">Eric Chatham<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:11.0pt;font-family:"Baskerville Old Face","serif";
color:#1F497D">Broadvox MIS Department<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:8.0pt;font-family:Biondi;
color:#1F497D">(216) 373-4683<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:11.0pt;font-family:"Baskerville Old Face","serif";
color:#1F497D">echatham@broadvox.net<o:p></o:p></span></i></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-family:"Tahoma","sans-serif""> smokeping-users-bounces@lists.oetiker.ch [mailto:smokeping-users-bounces@lists.oetiker.ch]
<b>On Behalf Of </b>Eric Chatham<br>
<b>Sent:</b> Monday, February 09, 2009 13:33<br>
<b>To:</b> smokeping-users@lists.oetiker.ch<br>
<b>Subject:</b> [smokeping-users] Can't find lib.pm in @INC<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<pre>Hi Ged,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I got back to trying to make this work. The last item we were discussing was to output the listing for Smokeping.cgi. I’m still stuck on this error:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>[Mon Feb 09 11:59:01 2009] [error] [client <IP removed>] Premature end of script headers: smokeping.cgi<o:p></o:p></pre>
<pre>[Mon Feb 09 11:59:11 2009] [error] [client <IP removed>] (13)Permission denied: exec of '/opt/smokeping/htdocs/smokeping.cgi' failed<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Here is my output for ls -l. This is the directory in which Smokeping is supposed to execute.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-rwxrwxrwx 1 root root 2719 Feb 9 11:45 /opt/smokeping/htdocs/smokeping.cgi<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I’m not sure who is authorized to run httpd process on the server, but here is the process index for users using httpd at the moment.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>[~ smokeping]# ps -aux | grep httpd<o:p></o:p></pre>
<pre>Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ<o:p></o:p></pre>
<pre>root 22551 0.0 0.1 17832 5616 ? Ss 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22553 0.0 0.1 21092 4832 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22554 0.0 0.1 21092 4832 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22555 0.0 0.1 21092 4828 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22556 0.0 0.1 21092 4828 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22557 0.0 0.1 21092 4832 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22558 0.0 0.1 21092 4828 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22559 0.0 0.1 21092 4828 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>apache 22560 0.0 0.1 21092 4828 ? S 11:56 0:00 /usr/sbin/httpd<o:p></o:p></pre>
<pre>root 22670 0.0 0.0 3908 668 pts/0 S+ 12:28 0:00 grep httpd<o:p></o:p></pre>
<div style="border:none;border-bottom:solid windowtext 1.5pt;padding:0in 0in 1.0pt 0in">
<pre><o:p> </o:p></pre>
</div>
<pre><o:p> </o:p></pre>
<pre>Hi Eric,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>On Tue, 25 Nov 2008, Eric Chatham wrote:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> Sorry about that. I didn't realize I was just replying to you only. :)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I thought not. :) I think people will be able to follow the thread.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> > I don't follow this. There must be more to a config file than that.<o:p></o:p></pre>
<pre>> > What is it called? Where is it?<o:p></o:p></pre>
<pre>><o:p> </o:p></pre>
<pre>> I was referring to the ./etc/config file in the Smokeping package.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Please always give the full path to things. That way I'll know you<o:p></o:p></pre>
<pre>know whereabouts it is in your filesystem. :)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> This is what I have setup for it. [Just a note, but I have tried<o:p></o:p></pre>
<pre>> changing the cgiurl =<o:p></o:p></pre>
<pre>> htpp://hppav.proxima.local/cgi-bin/smokeping.cgi with no improvement<o:p></o:p></pre>
<pre>> if at all any].<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Try to work a bit more like a detective when you're finding why things<o:p></o:p></pre>
<pre>don't do what you expect in a computer. Look for some explanation -<o:p></o:p></pre>
<pre>it's almost always there with a Linux box as it will log all kinds of<o:p></o:p></pre>
<pre>things, you just have to know where to look.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> *** General ***<o:p></o:p></pre>
<pre>> [snip]<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> cgiurl = <a href="http://hppav.proxima.local/smokeping/smokeping.cgi">http://hppav.proxima.local/smokeping/smokeping.cgi</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I use the form<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>cgiurl = <a href="http://hostname/cgi-bin/smokeping.cgi">http://hostname/cgi-bin/smokeping.cgi</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>and browse to that location for the Smokeping top-level page. It<o:p></o:p></pre>
<pre>doesn't necessarily mean that waht you have there is wrong, but I'd<o:p></o:p></pre>
<pre>need to look at the directory tree and Apache config to know. The<o:p></o:p></pre>
<pre>main thing is that Apache has to be able to (1) find and (2) execute<o:p></o:p></pre>
<pre>smokeping.cgi, which we'll come back to.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> smokemail = /opt/smokeping/etc/smokemail tmail = /opt/smokeping/etc/tmail # <o:p></o:p></pre>
<pre>> specify this to get syslog logging syslogfacility = local0 # each probe is <o:p></o:p></pre>
<pre>> now run in its own process # disable this to revert to the old behaviour # <o:p></o:p></pre>
<pre>> concurrentprobes = no<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>This should not all be on one line - cut'n'paste error?<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> *** Alerts ***<o:p></o:p></pre>
<pre>> [snip]<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>We don't need to worry about this for the moment.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> *** Database ***<o:p></o:p></pre>
<pre>> [snip]<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Fine.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> *** Presentation ***<o:p></o:p></pre>
<pre>> [snip]<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>We don't need to worry about this for the moment.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> *** Probes ***<o:p></o:p></pre>
<pre>> [snip]<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>We don't need to worry about this for the moment.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>It surprises me is that you seem to have a rather old configuration -<o:p></o:p></pre>
<pre>more recent Smokepings have a very short 'config' file and it includes<o:p></o:p></pre>
<pre>several other files from a directory called 'config.d' (which is<o:p></o:p></pre>
<pre>usually in the same place as 'config'). I'm guessing that you<o:p></o:p></pre>
<pre>installed Smokeping by using a package manager, and not by grabbing<o:p></o:p></pre>
<pre>the tarball from the Smokeping site. That's OK, but it can get a bit<o:p></o:p></pre>
<pre>confusing because packages tend to be a bit out of date, and very<o:p></o:p></pre>
<pre>often the packager shuffles things all around to suit his filesystem<o:p></o:p></pre>
<pre>layout preferences. We'll muddle through somehow. :)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> > Now we need to see what's in the Apache error log for that request.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> At 14:00, with Mozilla, I tried accessing<o:p></o:p></pre>
<pre>> <a href="http://hppav.proxima.local/cgi-bin/smokeping.cgi">http://hppav.proxima.local/cgi-bin/smokeping.cgi</a> and I received the<o:p></o:p></pre>
<pre>> Error 500 Internal Server Error (all in text not HTML).<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The error codes (like error 500 'Internal server error') are crucial<o:p></o:p></pre>
<pre>to figuring outwhat's going on. If you're going to use a Webserver<o:p></o:p></pre>
<pre>for very much at all (and if you're going to use Smokeping, you are)<o:p></o:p></pre>
<pre>then you should learn what at least some of them by heart. The first<o:p></o:p></pre>
<pre>ones to start with are 200, 304, 403, 404 and 500. You should also<o:p></o:p></pre>
<pre>learn the structure of the error codes, for example 2xx means things<o:p></o:p></pre>
<pre>are OK, 5xx means things are not good. Google for "HTTP error codes"<o:p></o:p></pre>
<pre>and spend some quality time with them.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>In this acse we see a 500 which tells us we need to look in the server<o:p></o:p></pre>
<pre>error log, because in there you'll find something similar to what you<o:p></o:p></pre>
<pre>would see if you were running the script at the command line, assuming<o:p></o:p></pre>
<pre>the script might be capable of running properly at the command line,<o:p></o:p></pre>
<pre>which it most likely isn't.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> When I tried to access<o:p></o:p></pre>
<pre>> <a href="http://hppav.proxima.local/cgi-bin/smokeping.cgi">http://hppav.proxima.local/cgi-bin/smokeping.cgi</a> at 14:02 (with IE)<o:p></o:p></pre>
<pre>> at 14:02, I get page cannot be displayed.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Same error, but the browser chose a different way to describe it.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> Here are my access/error logs:<o:p></o:p></pre>
<pre>> [snip]<o:p></o:p></pre>
<pre>> [Tue Nov 25 14:00:38 2008] [error] [client 192.168.1.101] (13)Permission <o:p></o:p></pre>
<pre>> denied: exec of '/var/www/cgi-bin/smokeping.cgi' failed<o:p></o:p></pre>
<pre>> [Tue Nov 25 14:00:38 2008] [error] [client 192.168.1.101] Premature end of <o:p></o:p></pre>
<pre>> script headers: smokeping.cgi<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>That tells us something we need to know. It says that the OS refused<o:p></o:p></pre>
<pre>permission for Apache to execute smokeping.cgi, which means that (1)<o:p></o:p></pre>
<pre>you didn't see what you were hoping for in the browser and (2) there's<o:p></o:p></pre>
<pre>that message in the error log. :)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> [Tue Nov 25 14:02:26 2008] [error] [client 192.168.1.110] (13)Permission <o:p></o:p></pre>
<pre>> denied: exec of '/var/www/cgi-bin/smokeping.cgi' failed<o:p></o:p></pre>
<pre>> [Tue Nov 25 14:02:26 2008] [error] [client 192.168.1.110] Premature end of <o:p></o:p></pre>
<pre>> script headers: smokeping.cgi<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Exactly the same with IE. No surprise there, it's an internal server<o:p></o:p></pre>
<pre>error (an error internal to the Apache Web server setup) it's nothing<o:p></o:p></pre>
<pre>to do with the browser and all browsers will have to tell you something<o:p></o:p></pre>
<pre>along the lines of "sorry, it says it can't do it".<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> [EMAIL PROTECTED] cgi-bin]# tail /var/log/httpd/smokeping-access.log<o:p></o:p></pre>
<pre>> [snip]<o:p></o:p></pre>
<pre>> 192.168.1.101 - - [25/Nov/2008:14:00:38 -0500] "GET /cgi-bin/smokeping.cgi <o:p></o:p></pre>
<pre>> HTTP/1.1" 500 626<o:p></o:p></pre>
<pre>> 192.168.1.110 - - [25/Nov/2008:14:02:26 -0500] "GET /cgi-bin/smokeping.cgi <o:p></o:p></pre>
<pre>> HTTP/1.1" 500 626<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The same two requests, but you don't get much information about the<o:p></o:p></pre>
<pre>error in the access log - just the code.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> I don't understand this step (from <o:p></o:p></pre>
<pre>> <a href="http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html">http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html</a>):<o:p></o:p></pre>
<pre>><o:p> </o:p></pre>
<pre>> "htdocs/cropper/*<o:p></o:p></pre>
<pre>> To make the interactive graph-zoomer work, you have to place the content of <o:p></o:p></pre>
<pre>> the cropper directory somewhere on your webserver and adapt the links in <o:p></o:p></pre>
<pre>> basepage.html (see below)."<o:p></o:p></pre>
<pre>><o:p> </o:p></pre>
<pre>> It says "see below" but nothing is listed.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I think it's an unfortunate consequence of using a utility called<o:p></o:p></pre>
<pre>'perldoc' to produce documentation. We don't need to look at that now<o:p></o:p></pre>
<pre>but very briefly you can put the documentation for a Perl script inside<o:p></o:p></pre>
<pre>the script itself, and sort-of 'comment it out' so the Perl interpreter<o:p></o:p></pre>
<pre>will ignore it. So you can type 'perl scriptname' and the thing runs,<o:p></o:p></pre>
<pre>but when you say 'perldoc scriptname' you get something like a manual.<o:p></o:p></pre>
<pre>But sometimes you need to be a bit clairvoyant, and look in the script<o:p></o:p></pre>
<pre>with a pager (like 'less') or an editor (in read-only mode!) because<o:p></o:p></pre>
<pre>the part to 'see below' might be the actual code and 'perldoc' might<o:p></o:p></pre>
<pre>not show it to you. That was another guess, we can come back to it.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> "If you are using a version of Perl older than 5.8.1, you should consider..."<o:p></o:p></pre>
<pre>><o:p> </o:p></pre>
<pre>> The link is broken, and I don't know if I need this based upon what<o:p></o:p></pre>
<pre>> I've been corresponding with.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Don't worry about that, your Perl seems to be 5.8.8 which is fine.<o:p></o:p></pre>
<pre>(Did we ever find out where all that stuff about 5.005_03 came from?:)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> Well I wont get much into this. The important thing is, to have a<o:p></o:p></pre>
<pre>> webserver which allows you to run CGI scripts. If you are using<o:p></o:p></pre>
<pre>> Apache I strongly recommend using the suexec system...<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Tobi says he won't get into it because there's plenty of documentation<o:p></o:p></pre>
<pre>about Apache and it's far too big a job for him to support people with<o:p></o:p></pre>
<pre>Apache-type problems (which is what you have here). You need to become<o:p></o:p></pre>
<pre>familiar with running a Webserver. It will take time.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> I added a Virtual Host to the httpd.conf, the user/group that it<o:p></o:p></pre>
<pre>> uses is "apache." All the defaults were listed. Do you want to see<o:p></o:p></pre>
<pre>> that file? I'm not sure how to use suexec. Maybe that's what I<o:p></o:p></pre>
<pre>> need to do to make this work.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>You might just be right. But let's see what happens when you give<o:p></o:p></pre>
<pre>permission for Apache to execute the .cgi script.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Please show the output of<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>ls -l /var/www/cgi-bin/smokeping.cgi<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>and tell me what users run the httpd processes on your system.<o:p></o:p></pre>
<pre>There will probably be more than one user and several processes<o:p></o:p></pre>
<pre>under normal circumstances.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>> Thank you again for your enduring patience with me....:)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Hehe, many people have helped me in the past. I'm just paying my dues.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Sorry, got to run now.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>--<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>73,<o:p></o:p></pre>
<pre>Ged.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>smokeping-users mailing list<o:p></o:p></pre>
<pre>smokeping-users@lists.oetiker.ch<o:p></o:p></pre>
<p class="MsoNormal"><a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i><span style="font-size:11.0pt;font-family:"Baskerville Old Face","serif"">Eric Chatham<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";
color:gray">CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient.<br>
</font>
</body>
</html>