Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2004 13:53:20 +0800
From:      "=?big5?B?q9iueFwoamFuZ3RpbmdcKQ==?=" <jangting@ice.ntnu.edu.tw>
To:        <freebsd-ports@freebsd.org>
Subject:   I have a problem running ntop3.0 on FreeBSD 5.2.1-RC2
Message-ID:  <000801c41876$cdc7fde0$2d7e7a8c@hsnu>

next in thread | raw e-mail | index | archive | help
This is my installing steps.

1. /usr/port/net/ntop make install clean

2. chown -R nobody /usr/local/share/ntop
   chgrp -R nobody /usr/local/share/ntop

3. ntop -A (input passwd)

4. /usr/local/bin/ntop -d -L -4 --set-pcap-nonblocking
-i de0 -w 3000 -W 3001 -a /var/log/ntop.access.log -u
nobody

5. netstat -a|grep ntop
tcp4   0   0   *.ntop    *.*    LISTEN

6. use browser(I.E.) to access http://$hostname:3000/
    can't get any message back


7. I use xinetd to start ntop
   I edit /usr/local/etc/xinetd.d/ntop=20

#/usr/local/etc/xinetd.d/ntop=20
service ntop
{
   disable      =3D no
   socket_type  =3D stream
   wait         =3D no
   user         =3D nobody
   server       =3D /usr/local/bin/ntop
   server_args  =3D -d -L -4 --set-pcap-nonblocking -i=20
de0 -w 3000 -a /var/log/ntop.access.log
   log_on_success +=3D DURATION HOST USERID
}

8. use browser(I.E.) to access http://$hostname:3000/
   get message like following:=20
   Please enter the root password:


I have run ntop2.2 successfully on FreeBSD=20
=20
Can anyone help me , this problem bother me.

Thank you very much. =20

                                   Jang     



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000801c41876$cdc7fde0$2d7e7a8c>