8456, "Login failed for user ' nagios'.DB-Lib error message

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
dbasupport
Posts: 12
Joined: Tue Oct 08, 2019 11:48 am

8456, "Login failed for user ' nagios'.DB-Lib error message

Post by dbasupport »

Hi ,

Any idea on the error

Unknown
(18456, "Login failed for user ' nagios'.DB-Lib error message 20018, severity 14:\
General SQL Server error: Check messages from the SQL Server\\
DB-Lib error message 20002, severity 9:\\
Adaptive Server connection failed (MAMSSQLSNDBOX01.client.ma:1433)\\
")

Regards
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: 8456, "Login failed for user ' nagios'.DB-Lib error mess

Post by benjaminsmith »

Hi @dbasupport,

Welcome to the Nagios Community Forum! Is that the output from a check command, if so can you post the full command to the thread?

Also, certainly looks like authentication or network issue, are you using the correct credentials. Is there anything blocking access?

Benjamin
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!
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: 8456, "Login failed for user ' nagios'.DB-Lib error mess

Post by jbrunkow »

Are there any special characters in your password? If so, they may be escaping the command... Try making a complex password with just letters and numbers.

What are the nagios user's permissions to the SQL server like?

Code: Select all

SHOW GRANTS FOR [i]user[/i]@[i]localhost[/i];
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