[NFDB-users] Apache problem trying to load NFD in OBSD 4.5
Jason Dixon
jason at dixongroup.net
Tue May 5 15:20:57 EDT 2009
On Tue, May 05, 2009 at 08:09:54PM +0200, Fernando Alvarez wrote:
> El mar, 05-05-2009 a las 13:02 -0400, Jason Dixon escribi??:
> > On Tue, May 05, 2009 at 06:48:46PM +0200, Fernando Alvarez wrote:
> > > Hi there!
> > >
> > > I've installed Netflow Dashboard in OpenBSD 4.5, but when I start
> > > Apache, I get:
> > >
> > > Use of uninitialized value in subroutine entry
> > > at /usr/libdata/perl5/i386-openbsd/5.10.0/DynaLoader.pm line 226.
> > > /usr/sbin/apachectl start: httpd started
> > >
> > > I've already followed all the steps in the installation notes, and
> > > started successfully both postgresql database and netflowdb.pl, getting
> > > no errors. I've also added the example configuration in httpd.conf
> > >
> > > Any ideas? Should I send more information? I can't figure it out how to
> > > solve this :-S
> >
> > I haven't tried NFDB with 4.5 yet, but I developed it against current.
> > I can't imagine that anything in the Apache config should have changed.
> > Can you paste the block you added for NFDB?
> >
> That's the block I added. It's cut & pasted from the install notes...
> The rest of the file is unchanged from the original that comes with
> OpenBSD 4.5
>
> <VirtualHost *:80>
> ServerName nfdb.fw1
> DocumentRoot /var/www/netflowdashboard/cgi
> PerlModule Apache::PerlRun
> <Location />
> SetHandler perl-script
> PerlHandler Apache::PerlRun
> PerlRequire /var/www/netflowdashboard/cgi/startup.pl
> Options ExecCGI
> PerlSendHeader On
> DirectoryIndex index.cgi
> Order deny,allow
> Allow from all
> </Location>
> <Location /images/>
> SetHandler default-handler
> </Location>
> <Location /css/>
> SetHandler default-handler
> </Location>
> <Location /js/>
> SetHandler default-handler
> </Location>
> </VirtualHost>
>
> The file permissions are the same as the rest of files inside /var/www
> and the apache server starts showing the famous "it works!" page.
>
> Trying to access http://fw1/netflowdashboard returns a "404 not found"
> error. Apache's log doesn't say anything interesting but the error I've
> described early.
I'll try to take a look tonight and let you know what I find.
--
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/
More information about the nfdb-users
mailing list