[求救]ntop 啟動?
ntop-3.0_1
FreeBSD 5.2.1-RELEASE
/usr/local/etc/rc.d/ntop.sh 內容
#!/bin/sh
#----------------------------------------------------------------------
# The following variables may be changed
#
# Network interface(s) to be monitored;
# may be blank, or comma-separated list
interfaces='vr0'
# User to run ntop as; leave blank for root
userid='nobody'
# [IP:]port for serving HTTP; set to '0' to disable
http_port='3000'
# [IP:]port for serving HTTPS; set to '0' to disable
# The certificate is /usr/local/etc/ntop/ntop-cert.pem
https_port='3001'
# Directory for ntop.access.log
logdir='/var/log'
root@netflow[/usr/local/etc/rc.d]# ps -ax | grep ntop
31571 ?? Ss 2:19.68 /usr/local/bin/ntop -d -L
--set-pcap-nonblocking -i vr0 -w 3000 -W 3001 -a /var/log/ntop.access.log
但我
root@netflow[/usr/local/etc/rc.d]# telnet 127.0.0.1 3000
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
還是沒有辦法進去
但很奇怪我用
root@netflow[/usr/local/etc/rc.d]# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 netflow.49170 jake.unipi.it.http CLOSE_WAIT
tcp6 0 0 *.3001 *.* LISTEN
^^^^
tcp6 0 0 *.3000 *.* LISTEN
^^^^^
tcp4 0 0 netflow.ssh 10.1.100.156.1189 ESTABLISHED
tcp4 0 0 *.3306 *.* LISTEN
tcp46 0 0 *.http *.* LISTEN
tcp4 0 0 localhost.smtp *.* LISTEN
tcp4 0 0 *.ssh *.* LISTEN
tcp6 0 0 *.ssh *.* LISTEN
udp4 0 0 netflow.1019 10.1.100.71.nfsd
udp4 0 0 *.syslog *.*
udp6 0 0 *.syslog *.*
有起來但他在tcp6 我沒有辦法進去,請問要如何解決
--
夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子
之器不得已BBS telnet://bbs.wretch.cc 開個人板 超快 不用連署不可得志於天下
矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以
喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫
之令而自均始制有名名亦既有夫亦將知止知止可以不殆 freebsd.iem.cyut.edu.tw海
討論串 (同標題文章)
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章