When i run a debug;
[root@ ocsinventory]# ocsinventory-agent --debug --server http://xx.xx.xx
Can't open display
The program/log file seems locked at the screen command;
[Tue Jul 30 09:13:27 2019][debug] - Sys::Hostname loaded
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Controllers
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Modems
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Sounds
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lspci::Videos
[Tue Jul 30 09:13:27 2019][debug] - xrandr found
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lsusb
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Lsusb::Usb
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::ByHand
[Tue Jul 30 09:13:27 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Packaging::RPM
[Tue Jul 30 09:13:28 2019][debug] Running Ocsinventory::Agent::Backend::OS::Generic::Screen
so it just sits there. the system is oracle linux 6.x , I was running the agent from a crontab but was getting this error each morning from my cron daemon:
error: Failed to reconnect to the hypervisor
error: no valid connection
error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
Anyone know how to resolve this? this is a Linux server on a Proliant DL 380; I uninstalled and tried the 2.4 agent via rpm, same problem so i just tried the 2.3, same prob