
umpajosh at yahoo
Jan 27, 2010, 9:04 AM
Post #4 of 13
(1288 views)
Permalink
|
on CentOS 5.4, after installing ntop 3.3.8-2.el5.rf using yum, without setting any special flags or changing the default settings whatsoever, the built in http server of ntop functioned fine but the page would not display- i got a generic page with "400" (not 404) errors saying that it couldnt find the html documents. the error was like this: "Please enable make sure that the ntop html/ directory is properly installed" so i used yum to erase the installation and tried downloading the latest from ntop's site directly. i compiled and installed ntop-3.4-pre2, and the same thing happened again.. so i figured that perhaps my permissions were wrong, so i tinkered with that for awhile but still the problem remained. so i tried this just for kicks, and it worked: for some reason, when i specify the address of the server itself in the command (not only the port, but the address also), the webserver no longer reports "400" errors- everything functions fine. this is the command i use to start ntop now (of course, replacing the xx.xx.xx.xx with the appropriate ip) /usr/local/bin/ntop -i "eth1" -w xx.xx.xx.xx:3000 -d -L -u ntop -P /usr/local/var/ntop --skip-version-check --use-syslog=daemon --access-log-file /var/log/nt.log hope this helps someone, floppyraid --- On Tue, 1/26/10, umpajosh [at] yahoo <umpajosh [at] yahoo> wrote: > From: umpajosh [at] yahoo <umpajosh [at] yahoo> > Subject: [Ntop] ntop problem > To: ntop [at] listgateway > Date: Tuesday, January 26, 2010, 2:34 PM > on a relatively clean installation of > CentOS 5.4, with all related dependencies, i have installed > ntop-3.3.8 via 'yum'. > > the install goes through fine with no problems reported. > its running and listening on port 3000, but browsing to the > site only displays an error page with a couple of broken > links. it says: > > > > Please enable make sure that the ntop html/ directory is > properly installed > Error 400 > The specified request is invalid. > Received request: > "GET / HTTP/1.1" > > > ive tried starting ntop under both --user ntop and --user > root, ive tried it both with and without --daemon, but > regardless, it always displays that error. > > the db path is /var/ntop > > and the html path is > > /usr/share/ntop/html > > all of these paths are default, ive set no options during > any stage of the installation manually. > > ive seen a few posts online with this same problem, and ive > tried various suggestions there but to no avail. any ideas > would be very appreciated > > -josh > > > > _______________________________________________ > Ntop mailing list > Ntop [at] listgateway > http://listgateway.unipi.it/mailman/listinfo/ntop > _______________________________________________ Ntop mailing list Ntop [at] listgateway http://listgateway.unipi.it/mailman/listinfo/ntop
|