Inventory by Scanner on Ubuntu
I'm getting the following error message when attempting to scan our Ubuntu VM's. We are doing agent-based discovery where the agent calls home and initiates the scan. I've checked the scan file on the VM's and the .xsf file is being created successfully but not being transmitted back to the probe. Any ideas where to look? There are many instances of the Error: can't open file in the agent log.
02-10-19 00:15:30: Calling Home UD server : '10.168.3.132', port: '80', stamp: 'bbdb6ab2-18b9-30c7-aacb-d593d84f37a3'
02-10-19 00:15:31: UD Call Home request accepted on URL: '/callhome'
02-11-19 19:36:39: Error: can't open file '~/.discagnt/sca_tmp' (error 2: No such file or directory)
02-11-19 19:42:01: Error: can't open file '~/.discagnt/sca_tmp' (error 2: No such file or directory)
Look at my response to your post:
The solution should be the same since it is not able to interpolate the tilde '`' symbol to the home directory of the user that installed the agent. In my case the user root is the one that installs the agent so the home directory should be /root.
I have not looked at the Agent Driven Inventory config files for where that would be configured.