I tried to extract last two backups (16th and 15th) to see the htpasswd.users file, but I am still seeing the same output
[root@XXXX etc]# pwd
/store/backups/bak_april16/nagiosxi.1523822341/usr/local/nagiosxi/etc
[root@XXXX etc]#
[root@XXXX etc]# cat htpasswd.users
...
PROCESSED 0 COMMANDS
[root@XXXX etc]#
Is there any way to get this file ?
Not able to place servers into maintenance mode
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to place servers into maintenance mode
The file is supposed to be dynamically created when you create user and they update their passwords
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to place servers into maintenance mode
I guess all I can suggest is going back further.
Re: Not able to place servers into maintenance mode
I tried to create new user from Admin --> manage users, but the htpasswd.users file not updating.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to place servers into maintenance mode
My guess is because it isn't in a valid formatbsivavani wrote:I tried to create new user from Admin --> manage users, but the htpasswd.users file not updating.
you can try blanking it out first by running
Code: Select all
cat /dev/null > /usr/local/nagiosxi/etc/htpasswd.usersRe: Not able to place servers into maintenance mode
Thanks for your help. We were able to fix the issue by replacing the backup htpasswd.users file.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Not able to place servers into maintenance mode
Glad you were able to get it resolved!