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