[rancid] HELP RACNID LOOKING GLASS
Tarranum Kamal
tarranum.kamal at gmail.com
Thu May 25 15:57:22 UTC 2017
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/20170525/6faef741/attachment.html>
More information about the Rancid-discuss
mailing list