microsoft / OMS-Agent-for-Linux

http://www.microsoft.com/oms
Other
410 stars 310 forks source link

Error after installation on CentOS Linux release 7.8.2003 omsadmin.conf: No such file or directory #1231

Closed SirTerrific closed 4 years ago

SirTerrific commented 4 years ago

Hi,

I tried to configure Linux Log file monitoring on a CentOS 7.8. with SCOM 2019 I followed the procedure from Microsoft .

When I tried to restart the service with /opt/microsoft/omsagent/bin/service_control restart

I have this error /opt/microsoft/omsagent/bin/service_control: line 160: /etc/opt/microsoft/omsagent/scom/conf/omsadmin.conf: No such file or directory ERROR: restart_omsagent failed with result '1' on workspace scom.

I don't know what to do. I already reinstalled it .

Thanks.

SirTerrific commented 4 years ago

Resolved after a purged uninstall and an install through the GUI. Thanks.