Tarranum Kamal
2017-05-26 05:12:28 UTC
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
/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
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
it
it
can
for
review the suggestion last week from another user on the cisco-nsp
list.
only
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
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>
[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.
htmlThanks 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>
[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.
[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
toaddress:port>] End of script output before headers: index.html
Best Regards
As far as the Perl stuff
try
# perl -MCPAN -e shell
At cpan> shell prompt install module using install module::Name
# cpan> install MIME::Lite
# cpan -i MIME::Lite
try
# perl -MCPAN -e shell
At cpan> shell prompt install module using install module::Name
# cpan> install MIME::Lite
# cpan -i MIME::Lite
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
<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
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
with
rancid package but to be honest this is too difficult to understand
with
lots of hidden assumptions . ANyways i followed the instricution in
)
(whatever I could understand) , when I try to access it thru browser
(whatever I could understand) , when I try to access it thru browser
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
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
help me out or if anyone can provide me a better installation guide
freebsd.
its been a while since i've setup the lg freshly and the i have yet toreview the suggestion last week from another user on the cisco-nsp
i'll try to do that next week, otherwise the README.lg file is the
instruction I have for you ATM.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss