Error message "Error in executing netstat command" seen while executing command "show netstat all yes"

Error message "Error in executing netstat command" seen while executing command "show netstat all yes"

10550
Created On 01/11/23 08:35 AM - Last Modified 06/15/23 04:44 AM


Symptom


Error message "Error in executing netstat command"seen while executing command "show netstat all yes"

Environment


Any PANOS Platform

Cause


  • The error "Error in executing netstat command" while executing "show netstat all yes" is attributed to the timeout for DNS lookups after 30s.
  • Note that since the root cause of the issue is latency in DNS lookup, the issue is possibly due to network latency or an external issue.


Resolution


  • Resolving the error would require eliminating the root cause to ensure that the DNS lookups have completed within 30s.
  • An alternative command which can be used to retrieve the information is "show netstat numeric..."
 
> show netstat numeric?

+ numeric         don't resolve names
+ numeric-hosts   don't resolve host names
+ numeric-ports   don't resolve port names
+ numeric-users   don't resolve user names


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000kGDECA2&lang=en_US%E2%80%A9&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language