From owner-freebsd-ports@FreeBSD.ORG Thu Apr 1 21:53:52 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F343116A4CE for ; Thu, 1 Apr 2004 21:53:51 -0800 (PST) Received: from hs.hs.ntnu.edu.tw (hs.ntnu.edu.tw [140.122.126.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5716E43D39 for ; Thu, 1 Apr 2004 21:53:49 -0800 (PST) (envelope-from jangting@ice.ntnu.edu.tw) Received: by hs.hs.ntnu.edu.tw (Postfix, from userid 65534) id 55E9A4E7B; Fri, 2 Apr 2004 13:52:56 +0000 (GMT) Received: from hsnu (ccnb.hs.ntnu.edu.tw [140.122.126.45]) by hs.hs.ntnu.edu.tw (Postfix) with SMTP id 49B554F09 for ; Fri, 2 Apr 2004 13:52:26 +0000 (GMT) Message-ID: <000801c41876$cdc7fde0$2d7e7a8c@hsnu> From: "=?big5?B?q9iueFwoamFuZ3RpbmdcKQ==?=" To: Date: Fri, 2 Apr 2004 13:53:20 +0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailman-Approved-At: Sat, 03 Apr 2004 05:21:02 -0800 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: I have a problem running ntop3.0 on FreeBSD 5.2.1-RC2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 05:53:52 -0000 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