Re: Problem running web interface

Wes Hardaker <[email protected]> Thu, 28 Apr 2005 07:41:46 -0700
Newsgroups gmane.network.net-policy.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Wed, 27 Apr 2005 20:12:31 -0700 (PDT), Le Dang Khoa <kenji_le-/[email protected]> said:

Le> I am installing net-policy on Red Hat Linux 9. In
Le> order to master net-policy thoroughly, I decided to
Le> install it from source (*.tar.gz files).

Installing it from source is fine, but if you read the installation
instructions it would have told you to run "perl ./np-install" which
would have helped you through the installation process.  It looks like
you installed everything from source rather than using RPMs, which
should be fine but you obviously hit a problem.

Unfortunately, RH9 isn't as well supported by np-install as it used to
be and some of the RPM specifications contained within np-install are
out of date for RH9.  For instance, I'm pretty sure the Gtk2 GUI mode
won't work although the Tk one should be just fine.

Le> Here are the packages I have installed:
Le> -httpd-2.0.53.tar.gz (with mod_ssl)
Le> -postgresql-8.0.1.tar.gz
Le> -libodbc++-0.2.3.tar.gz
Le> -unixODBC-2.2.10.tar.gz
Le> -perl-5.8.6.tar.gz (stable version)
Le> -DBD-Pg-1.40_04.tar.gz
Le> -DBI-1.48.tar.gz
Le> -Apache-DBI-09.4.tar.gz
Le> -DBD-File-0.33.tar.gz
Le> -CGI-Ex-1.14.tar.gz
Le> -CGI.pm-3.08.tar.gz
Le> -libsmi-0.4.2.tar.gz
Le> -opensnmp-0.4.0.tar.gz
Le> -netsnmp-5.2.1.tar.gz
Le> -iptables-1.3.1.tar.gz
Le> -net-policy-2.1.tar.gz

Le> And here are what I found in the error_log file after
Le> I ran https://172.16.197.197/net-policy:

Le> Can't load Perl file:
Le> /usr/local/apache2/conf/startup.pl for server
Le> localhost.localdomain:0, exiting...
Le> [Wed Apr 27 10:56:21 2005] [error] Can't locate
Le> Apache/Server.pm in @INC (@INC contains:
Le> /usr/local/apache2/perl
...
When you installed mod_perl did it install a Server.pm file?  It
should have, and if so can you find it?  You can probably run "locate
Server.pm" to find where it was installed.

Le> I have not installed np-cerberus and np-plutoplus yet
Le> because I think net-policy still works without these
Le> packages.

Correct, those are for IPsec specific functionality, which isn't
required if you just want the SNMP management support.


-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix