Unable to Create Users

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
tvoll
Posts: 39
Joined: Fri Aug 16, 2019 9:06 am

Unable to Create Users

Post by tvoll »

After the initial install of Nagios Log Server, I Imported users from AD and got a good 15 users added.
Since them, neither I nor any of the other designated admins are able to create users. When we import them from AD, it acts as if it is successful, but then they do not appear on the user list. If we try creating a local user, it will just respond "Could not create user", with no other explanation.

Running Version 2.0.8
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Unable to Create Users

Post by mbellerue »

Check out this link,
https://support.nagios.com/kb/article/a ... n-600.html

Enable the debug logging for LDAP/AD, try to run your user import again, and then check the Apache error logs (usually located at /var/log/httpd/). If you find some errors there, they may give us some more information to go on.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
tvoll
Posts: 39
Joined: Fri Aug 16, 2019 9:06 am

Re: Unable to Create Users

Post by tvoll »

After enabling debugging, I tried adding the user again over AD Import and this is all I can see of note in the error.log:

Code: Select all

** ld 0x5566b4ad3f80 Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x5566b4ad3f80 request count 1 (abandoned 0)
** ld 0x5566b4ad3f80 Response Queue:
   Empty
  ld 0x5566b4ad3f80 response count 0
ldap_chkResponseList ld 0x5566b4ad3f80 msgid 1 all 1
ldap_chkResponseList returns ld 0x5566b4ad3f80 NULL
ldap_int_select
read1msg: ld 0x5566b4ad3f80 msgid 1 all 1
read1msg: ld 0x5566b4ad3f80 msgid 1 message type bind
read1msg: ld 0x5566b4ad3f80 0 new referrals
read1msg:  mark request completed, ld 0x5566b4ad3f80 msgid 1
request done: ld 0x5566b4ad3f80 msgid 1
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_parse_result
ldap_msgfree
ldap_search
put_filter: "(&(objectCategory=person)(samaccountname=bricescw))"
put_filter: AND
put_filter_list "(objectCategory=person)(samaccountname=bricescw)"
put_filter: "(objectCategory=person)"
put_filter: simple
put_simple_filter: "objectCategory=person"
put_filter: "(samaccountname=bricescw)"
put_filter: simple
put_simple_filter: "samaccountname=bricescw"
ldap_build_search_req ATTRS: samaccountname mail memberof department displayname telephonenumber primarygroupid objectsid
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x5566b4ad3f80 msgid 2
wait4msg ld 0x5566b4ad3f80 msgid 2 (infinite timeout)
wait4msg continue ld 0x5566b4ad3f80 msgid 2 all 1
** ld 0x5566b4ad3f80 Connections:
* host: activedirectory.local  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Aug 27 12:54:47 2019
There were a lot of other logs in there with the same time stamp, but I did not see any specific information detailing the user in which I was trying to add.

Does this help out any?
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Unable to Create Users

Post by mbellerue »

Not a whole lot. Let's get the whole profile. Go over to Admin -> System Status -> Download System Profile, and PM that over to me. I will take a look and see if I can find a clue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
tvoll
Posts: 39
Joined: Fri Aug 16, 2019 9:06 am

Re: Unable to Create Users

Post by tvoll »

Sent System Profile to you in a PM
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Unable to Create Users

Post by mbellerue »

Excellent, thank you! We found a thread to pull on, but we'll need a little more information. Could you go to Admin -> Command Subsystem, and click the Run icon for the Backups job. That will create a .tar.gz file in /store/backups/nagioslogserver/. If you can PM me the file that gets created, we will be able to sort this out.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
tvoll
Posts: 39
Joined: Fri Aug 16, 2019 9:06 am

Re: Unable to Create Users

Post by tvoll »

Unfortunately, I have no System Jobs underneath the Command Subsystem Menu.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Unable to Create Users

Post by mbellerue »

In the Command Subsystem page, do you see a Reset All Jobs button? Hitting that should bring back the jobs.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
tvoll
Posts: 39
Joined: Fri Aug 16, 2019 9:06 am

Re: Unable to Create Users

Post by tvoll »

I selected the Reset Jobs option and the Jobs repopulated! Although, after selecting Run for the backups job, I do not see a new backup inside of /store/backups/nagioslogserver/ even though the job displays as SUCCESS on the Last Run Status.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Unable to Create Users

Post by mbellerue »

Hit that Run button again on the backup job, and see if anything populates in the /usr/local/nagioslogserver/var/jobs.log file.

Also, now that the system jobs are back, try creating a user and see if the issue is still present.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked