Moderator Edit: This thread has been split from another - https://support.nagios.com/forum/viewto ... 38&t=39929
In the future, please create a new thread and link to the old one instead of adding on.
I am having the same issue. when running curator in debug mode I get http://localhost:9200/_snapshot/<reposi ... e>/_verify {status: 500} Failed to verify all nodes have repository access
Permissions are fine as I can write to the cifs share from Servers using nagios account.
Log Server does not create backups (Split topic)
Re: Log Server does not create backups (Split topic)
This error message can almost exclusively be traced back to issues with the mount point (permissions or otherwise).
Can you share the output of an ls -al of the repository?
Can you share the output of an ls -al of the repository?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Log Server does not create backups (Split topic)
ls -la
drwxrwxrwx 3 nagios users 0 Aug 25 08:38 .
drwxr-xr-x. 5 root root 4096 Aug 25 12:45 ..
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:52 tests-alB6FxxwT3KU50a7zpidQw-master
-rw-r--r-- 1 nagios nagios 0 Aug 25 08:38 tests-Pwo3MbxET8q9X5EJY9-Fpw-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:56 tests-q8sMfcq-QBeG8lbf9vLdtA-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:52 tests-rjcg7HxORNy9KrpNRw5sCg-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:55 tests--rYjQl4xRY-FXqSRM56WRA-master
drwxrwxrwx 3 nagios users 0 Aug 25 08:38 .
drwxr-xr-x. 5 root root 4096 Aug 25 12:45 ..
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:52 tests-alB6FxxwT3KU50a7zpidQw-master
-rw-r--r-- 1 nagios nagios 0 Aug 25 08:38 tests-Pwo3MbxET8q9X5EJY9-Fpw-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:56 tests-q8sMfcq-QBeG8lbf9vLdtA-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:52 tests-rjcg7HxORNy9KrpNRw5sCg-master
-rw-r--r-- 1 nagios nagios 0 Aug 24 11:55 tests--rYjQl4xRY-FXqSRM56WRA-master
Re: Log Server does not create backups (Split topic)
Can I also see an ls -al of the next path up? Specifically I would like to make sure the users group also has write permissions on this path.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Log Server does not create backups (Split topic)
[root@cfslx01 Archive]# ls -la
total 514689
drwxrwxrwx 3 root root 1024 Aug 12 11:08 .
drwxr-xr-x. 9 root root 4096 Aug 12 15:49 ..
drwxrwxrwx 3 nagios nagios 0 Aug 26 08:41 NagiosLSBackups
total 514689
drwxrwxrwx 3 root root 1024 Aug 12 11:08 .
drwxr-xr-x. 9 root root 4096 Aug 12 15:49 ..
drwxrwxrwx 3 nagios nagios 0 Aug 26 08:41 NagiosLSBackups
Re: Log Server does not create backups (Split topic)
See if adding the users group changes things. Run the same curator command afterwards and share the output.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Log Server does not create backups (Split topic)
Failed to verify all nodes have repository access
Re: Log Server does not create backups (Split topic)
Here's the fstab entry for a CIFS mount i've been using for a bit now:
See if replicating that, specifically the uid=nagios,gid=nagios,rw,suid,file_mode=0770,dir_mode=0770 directives, and remounting solves the issue.
Code: Select all
\\192.168.1.1\NLSBackup /mnt/bkk cifs user,uid=nagios,gid=nagios,rw,suid,file_mode=0770,dir_mode=0770,credentials=/root/cifspass.txt 0 0Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Log Server does not create backups (Split topic)
The CIFS share is not mounted via fstab. It is a Caringo Swarm Cluster using Caringo Content File Server. I'll have to check with them to see if I can change the mount process/settings
Re: Log Server does not create backups (Split topic)
I have tested your mount settings by creating a new separate cifs mount point and it still gives the same failed to verify all nodes have repository access.