- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 01:13 AM
Hi All,
Missing port information like listening on, connecting to on Linux Servers and getting Error: "sudo: lsof: command not found - Exit status: 1"
We have checked the sudo file contains the lsof permission.
Any help would be much appreciated.
Best Regards,
RajeSh
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 05:43 AM
Hi Rajesh,
We had hundreds of these errors when we did our first discoveries. We found that lsof was actually not installed. The application teams that configured the servers had stripped all non-required programs including lsof. Check to see if it is actually installed or re-install it with: ssh <host> -n 'sudo yum -y install lsof'
Not having lsof installed will stop a discovery process cold.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 02:37 AM
Hi,
Can you check if there is must_sudo=true in probe parameter.
https://hi.service-now.com/kb_view.do?sysparm_article=KB0623250
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 03:55 AM
Hi Ashutosh,
Thanks for your reply,
I have checked that must_sudo=true.
Best Regards,
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2020 05:43 AM
Hi Rajesh,
We had hundreds of these errors when we did our first discoveries. We found that lsof was actually not installed. The application teams that configured the servers had stripped all non-required programs including lsof. Check to see if it is actually installed or re-install it with: ssh <host> -n 'sudo yum -y install lsof'
Not having lsof installed will stop a discovery process cold.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2020 06:17 AM
Hi Rajesh
Im also facing same, is it solved now ?
If Yes ,please let me know the solution ?
Thank you.
Surya Poll