RHEL で netstat がプロセスの PID/Program Name を表示しないのはなぜですか
Issue
- ポートの予約が衝突するため、特定ポートにバインドされる一部のアプリケーションを突然起動できなくなりました。
- そのポートに対する telnet コマンドは、ソケットが開いている事を示しますが、プロセスは特定されません。
- 以下のように、"PID/Program Name" 列にダッシュ記号 (-) が表示されます。
[user@localhost ~]$ netstat -plnt | head -5
(No info could be read for "-p": geteuid()=500 but you should be root.)
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:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:49234 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
Environment
- Red Hat Enterprise Linux
- ネットワークサービス
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.