The following is observed within the FileLogMonitorAgent log file:
com.dell.foglight.infrastructure.actions.logmonitor.AbstractLogScanReceiver - An error was detected while scanning remote file(s):
fopen call for /var/log/log-12345 failed: 13, Permission denied [Host:Host1]
When browsing to this directory, the permissions are as follows:
-sh-4.1$ ls -l -rw-r--r--. 1 root root 13083 Jul 1 00:01 logs -rw-------. 1 root root 11691 Jun 1 00:02 log-1234 -rw-------. 1 root root 14722 Jun 1 00:05 log-12345 -rw-------. 1 root root 10973 Jun 1 00:10 log-123456 -rw-r--r--. 1 root root 15352 Jul 1 00:01 log-1234567
The log file does not have the correct read permissions.
Execute the following command as root:
chmod 0644 /var/log/log*
This will set read permissions for all of log files in the /var/log directory. Once this is done, the agent should now collect the data is requires without any permission issues.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center