[rancid] HELP RACNID LOOKING GLASS

Tarranum Kamal tarranum.kamal at gmail.com
Mon May 29 17:13:50 UTC 2017


HI Again

I managed to fix my cgi issues. Now I need some help in what needs to be
updated in  conf file to make it work with Nokia routers?

Thanks


On Fri, May 26, 2017 at 1:12 PM, Tarranum Kamal <tarranum.kamal at gmail.com>
wrote:

> I use your method. The location of perl i think I am sure (see below)
>
> /usr/local/htdocs/lg % cd /usr/local/bin/perl
> perl*       perl5*      perl5.24.1* perlbug*    perldoc*    perlivp*
>  perlthanks*
>
>
> Perl version in use:
>
>  perl -v
>
> This is perl 5, version 24, subversion 1 (v5.24.1) built for
> amd64-freebsd-thread-multi
> (with 1 registered patch, see perl -V for more detail)
>
> Copyright 1987-2016, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License or
> the
> GNU General Public License, which may be found in the Perl 5 source kit.
>
> Complete documentation for Perl, including FAQ lists, should be found on
> this system using "man perl" or "perldoc perl".  If you have access to the
> Internet, point your browser at http://www.perl.org/, the Perl Home Page.
>
> Thanks for replying
>
> BR
>
> On Fri, May 26, 2017 at 12:52 AM, Aaron Dudek <adudek16 at gmail.com> wrote:
>
>> Did you install the modules using the method I gave?
>> Are you sure about the location of the perl modules?
>>
>> I've never played with the LG and I don't do http.
>>
>> On Thu, May 25, 2017 at 11:57 AM, Tarranum Kamal
>> <tarranum.kamal at gmail.com> wrote:
>> > Hi Aaron
>> >
>> > Thanks for your swift reply. Is this going to install CGI and Lockfile
>> > module for me ?
>> >
>> > FYI, httpd.conf file
>> >
>> > <IfModule !mpm_prefork_module>
>> > LoadModule cgid_module libexec/apache24/mod_cgid.so
>> > </IfModule>
>> > <IfModule mpm_prefork_module>
>> > LoadModule cgi_module libexec/apache24/mod_cgi.so
>> > LoadModule perl_module libexec/apache24/mod_perl.so
>> >
>> > ScriptAlias /lg /usr/local/htdocs/lg
>> >
>> > <Directory "/usr/local/htdocs/lg/.htaccess">
>> >     AllowOverride None
>> >     AddHandler cgi-script .cgi .pl
>> >     Options ExecCGI
>> >     DirectoryIndex lgform.cgi
>> >     Require all granted
>> > </Directory>
>> >
>> > When I see httpd-error.log, I see below:
>> >
>> > [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
>> > [Thu May 25 16:01:48.035557 2017] [cgi:error] [pid 17135] [client <IP
>> > address:port>] End of script output before headers: index.html
>> >
>> > Best Regards
>> >
>> >
>> >
>> > On Thu, May 25, 2017 at 10:22 PM, Aaron Dudek <adudek16 at gmail.com>
>> wrote:
>> >>
>> >> As far as the Perl stuff
>> >> try
>> >> A) Start CPAN Shell:
>> >> # perl -MCPAN -e shell
>> >>
>> >> B) Install a perl module:
>> >> At cpan> shell prompt install module using install module::Name
>> >> command. For example install module called MIME::Lite:
>> >> # cpan> install MIME::Lite
>> >>
>> >> Alternatively, try out the following command:
>> >> # cpan -i MIME::Lite
>> >>
>> >> On Thu, May 25, 2017 at 10:17 AM, heasley <heas at shrubbery.net> wrote:
>> >> > Thu, May 25, 2017 at 01:17:56PM +0800, Tarranum Kamal:
>> >> >> 0down votefavorite
>> >> >> <https://serverfault.com/questions/852134/rancid-looking-glass#>
>> >> >>
>> >> >> I am beginner to server world and in general scripting and OS. I
>> have
>> >> >> managed to run Rancid on my server running Freebsd. Now i am trying
>> to
>> >> >> confiugre RANCID Looking glass, i have followed REAMDE.lg that comes
>> >> >> with
>> >> >> rancid package but to be honest this is too difficult to understand
>> >> >> with
>> >> >> lots of hidden assumptions . ANyways i followed the instricution in
>> it
>> >> >> )
>> >> >> (whatever I could understand) , when I try to access it thru
>> browser it
>> >> >> displays text instead webpage, now I am clueless. The readme says it
>> >> >> required CGI and Lockfile perl modules, how can I check if these
>> >> >> modules
>> >> >> are present on my servers
>> >> >>
>> >> >> I would appreciate if anyone has installed rancid looking glass who
>> can
>> >> >> help me out or if anyone can provide me a better installation guide
>> for
>> >> >> freebsd.
>> >> >
>> >> > its been a while since i've setup the lg freshly and the i have yet
>> to
>> >> > review the suggestion last week from another user on the cisco-nsp
>> list.
>> >> > i'll try to do that next week, otherwise the README.lg file is the
>> only
>> >> > instruction I have for you ATM.
>> >> >
>> >> > _______________________________________________
>> >> > Rancid-discuss mailing list
>> >> > Rancid-discuss at shrubbery.net
>> >> > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20170530/fcdc7396/attachment.html>


More information about the Rancid-discuss mailing list