查询问题
来源:9-5 -Push方式整合之本地环境联调
慕运维7479159
2018-01-02
Disabled
[hadoop@hadoop001 ~]$ netstat -tpln
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN -
tcp 0 0 :::22 :::* LISTEN -
tcp 0 0 ::1:631 :::* LISTEN -
[hadoop@hadoop001 ~]$ iptables -vnL
FATAL: Error inserting ip_tables (/lib/modules/2.6.32-358.el6.x86_64/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.4.7: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
[hadoop@hadoop001 ~]$ sudo iptables -vnL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
[hadoop@hadoop001 ~]$ getenforce
Disabled
[hadoop@hadoop001 ~]$
[hadoop@hadoop001 ~]$ sudo netstat -tpln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1862/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1754/cupsd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 2052/mysqld
tcp 0 0 :::22 :::* LISTEN 1862/sshd
tcp 0 0 ::1:631 :::* LISTEN 1754/cupsd
[hadoop@hadoop001 ~]$
老师,已经查询了很多了,防火墙,等数据修改了很多,就是不知道怎么解决,看看以上数据是否有问题
2回答
-
Michael_PK
2018-01-02
你可以加群
00 -
Michael_PK
2018-01-02
群里问问其他小伙伴看看,这Linux环境问题从这信息上我也不太确定咋解决,只能看你自己找找Linux的视频或者内容看看了
00
相似问题