<div dir="ltr">Hi Aaron<div><br></div><div>Thanks for your swift reply. Is this going to install CGI and Lockfile module for me ? </div><div><br></div><div>FYI, httpd.conf file</div><div><br></div><div><div><IfModule !mpm_prefork_module></div><div>LoadModule cgid_module libexec/apache24/mod_cgid.so</div><div></IfModule></div><div><IfModule mpm_prefork_module></div><div>LoadModule cgi_module libexec/apache24/mod_cgi.so</div></div><div><div>LoadModule perl_module libexec/apache24/mod_perl.so</div></div><div><br></div><div>ScriptAlias /lg /usr/local/htdocs/lg<br></div><div><div><br></div><div><Directory "/usr/local/htdocs/lg/.htaccess"><br></div><div> AllowOverride None</div><div> AddHandler cgi-script .cgi .pl</div><div> Options ExecCGI</div><div> DirectoryIndex lgform.cgi</div><div> Require all granted</div><div></Directory></div></div><div><br></div><div>When I see httpd-error.log, I see below:</div><div><br></div><div><div>[Thu May 25 16:01:48.035497 2017] [cgi:error] [pid 17135] [client <IP address:port>] AH01215: (8)Exec format error: exec of '/usr/local/htdocs/lg/index.html' failed: /usr/local/htdocs/lg/index.html</div><div>[Thu May 25 16:01:48.035557 2017] [cgi:error] [pid 17135] [client <IP address:port>] End of script output before headers: index.html</div></div><div><br></div><div>Best Regards</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 25, 2017 at 10:22 PM, Aaron Dudek <span dir="ltr"><<a href="mailto:adudek16@gmail.com" target="_blank">adudek16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As far as the Perl stuff<br>
try<br>
A) Start CPAN Shell:<br>
# perl -MCPAN -e shell<br>
<br>
B) Install a perl module:<br>
At cpan> shell prompt install module using install module::Name<br>
command. For example install module called MIME::Lite:<br>
# cpan> install MIME::Lite<br>
<br>
Alternatively, try out the following command:<br>
# cpan -i MIME::Lite<br>
<div><div class="gmail-h5"><br>
On Thu, May 25, 2017 at 10:17 AM, heasley <<a href="mailto:heas@shrubbery.net">heas@shrubbery.net</a>> wrote:<br>
> Thu, May 25, 2017 at 01:17:56PM +0800, Tarranum Kamal:<br>
>> 0down votefavorite<br>
>> <<a href="https://serverfault.com/questions/852134/rancid-looking-glass#" rel="noreferrer" target="_blank">https://serverfault.com/<wbr>questions/852134/rancid-<wbr>looking-glass#</a>><br>
>><br>
>> I am beginner to server world and in general scripting and OS. I have<br>
>> managed to run Rancid on my server running Freebsd. Now i am trying to<br>
>> confiugre RANCID Looking glass, i have followed REAMDE.lg that comes with<br>
>> rancid package but to be honest this is too difficult to understand with<br>
>> lots of hidden assumptions . ANyways i followed the instricution in it )<br>
>> (whatever I could understand) , when I try to access it thru browser it<br>
>> displays text instead webpage, now I am clueless. The readme says it<br>
>> required CGI and Lockfile perl modules, how can I check if these modules<br>
>> are present on my servers<br>
>><br>
>> I would appreciate if anyone has installed rancid looking glass who can<br>
>> help me out or if anyone can provide me a better installation guide for<br>
>> freebsd.<br>
><br>
> its been a while since i've setup the lg freshly and the i have yet to<br>
> review the suggestion last week from another user on the cisco-nsp list.<br>
> i'll try to do that next week, otherwise the README.lg file is the only<br>
> instruction I have for you ATM.<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Rancid-discuss mailing list<br>
> <a href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/<wbr>mailman/listinfo/rancid-<wbr>discuss</a><br>
</blockquote></div><br></div></div>