./netapp-worker -poller hostna11 -v [2019-08-21 07:28:45] [NORMAL ] WORKER STARTED [Version: 1.4.2] [Conf: netapp-harvest.conf] [Poller: hostna11] Write to logfile failed: Bad file descriptor [2019-08-21 07:28:45] [WARNING] Started in foreground mode; messages to STDERR are redirected to the logfile and are not visible on the console. Write to logfile failed: Bad file descriptor [2019-08-21 07:28:45] [ERROR ] [main] Failed to read conf file [/opt/netapp-harvest/netapp-harvest.conf]: Permission denied Write to logfile failed: Bad file descriptor
We found out that the conf file /opt/netapp-harvest/netapp-harvest.conf has no rights to access it.
Conf file in the deb packet: -rw-r----- 1 1000 1000 3154 Aug 21 07:04 /opt/netapp-harvest/netapp-harvest.conf
After changing credentials to: -rw-r--r-- 1 1000 1000 3154 Aug 21 07:04 netapp-harvest.conf