<div dir="ltr">I use your method. The location of perl i think I am sure (see below)<div><br></div><div><div>/usr/local/htdocs/lg % cd /usr/local/bin/perl</div><div>perl*       perl5*      perl5.24.1* perlbug*    perldoc*    perlivp*    perlthanks*</div></div><div><br></div><div><br></div><div>Perl version in use:</div><div><br></div><div><div> perl -v</div><div><br></div><div>This is perl 5, version 24, subversion 1 (v5.24.1) built for amd64-freebsd-thread-multi</div><div>(with 1 registered patch, see perl -V for more detail)</div><div><br></div><div>Copyright 1987-2016, Larry Wall</div><div><br></div><div>Perl may be copied only under the terms of either the Artistic License or the</div><div>GNU General Public License, which may be found in the Perl 5 source kit.</div><div><br></div><div>Complete documentation for Perl, including FAQ lists, should be found on</div><div>this system using "man perl" or "perldoc perl".  If you have access to the</div><div>Internet, point your browser at <a href="http://www.perl.org/">http://www.perl.org/</a>, the Perl Home Page.</div></div><div><br></div><div>Thanks for replying</div><div><br></div><div>BR</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 26, 2017 at 12:52 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Did you install the modules using the method I gave?<br>
Are you sure about the location of the perl modules?<br>
<br>
I've never played with the LG and I don't do http.<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, May 25, 2017 at 11:57 AM, Tarranum Kamal<br>
<<a href="mailto:tarranum.kamal@gmail.com">tarranum.kamal@gmail.com</a>> wrote:<br>
> Hi Aaron<br>
><br>
> Thanks for your swift reply. Is this going to install CGI and Lockfile<br>
> module for me ?<br>
><br>
> FYI, httpd.conf file<br>
><br>
> <IfModule !mpm_prefork_module><br>
> LoadModule cgid_module libexec/apache24/mod_cgid.so<br>
> </IfModule><br>
> <IfModule mpm_prefork_module><br>
> LoadModule cgi_module libexec/apache24/mod_cgi.so<br>
> LoadModule perl_module libexec/apache24/mod_perl.so<br>
><br>
> ScriptAlias /lg /usr/local/htdocs/lg<br>
><br>
> <Directory "/usr/local/htdocs/lg/.<wbr>htaccess"><br>
>     AllowOverride None<br>
>     AddHandler cgi-script .cgi .pl<br>
>     Options ExecCGI<br>
>     DirectoryIndex lgform.cgi<br>
>     Require all granted<br>
> </Directory><br>
><br>
> When I see httpd-error.log, I see below:<br>
><br>
> [Thu May 25 16:01:48.035497 2017] [cgi:error] [pid 17135] [client <IP<br>
> address:port>] AH01215: (8)Exec format error: exec of<br>
> '/usr/local/htdocs/lg/index.<wbr>html' failed: /usr/local/htdocs/lg/index.<wbr>html<br>
> [Thu May 25 16:01:48.035557 2017] [cgi:error] [pid 17135] [client <IP<br>
> address:port>] End of script output before headers: index.html<br>
><br>
> Best Regards<br>
><br>
><br>
><br>
> On Thu, May 25, 2017 at 10:22 PM, Aaron Dudek <<a href="mailto:adudek16@gmail.com">adudek16@gmail.com</a>> wrote:<br>
>><br>
>> 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>
>><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<br>
>> >> with<br>
>> >> rancid package but to be honest this is too difficult to understand<br>
>> >> with<br>
>> >> lots of hidden assumptions . ANyways i followed the instricution in it<br>
>> >> )<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<br>
>> >> 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>
>> > ______________________________<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>
><br>
><br>
</div></div></blockquote></div><br></div>