Hi,
I've been running an old monitoring db that stores certain results from some check done with powershell on an old server 2003 and old SQL Express and decided it was way over due an update so I have a new Server 2019 with SQL 2019 Express but I'm having issues connecting to the new DB through NagiosXi.
Everything is as the old server would have been setup but I get the following error:
CRITICAL: Could not connect to dblib:host=172.22.40.46:1433;dbname=Monitor as sqluser (Exception: SQLSTATE[01002] Adaptive Server connection failed (severity 9)).
I have run :
nmap 172.22.40.46 -p 1433
and this returns:
Host is up
Port Status Service
1433 open ms-sql-s
My sql user is a sql user (not windows domain) and does have connection and read access to the db.
I'm now a little stuck as seem to have hit a brick wall with anything else I try.. Any advice?
Adaptive Server connection failed (severity 9) - check_mssql
Re: Adaptive Server connection failed (severity 9) - check_m
No worries, after hours on this I find the issue... really simple one too.
Just didn't have the Server authentication set to allow SQL Server and Windows Authentication mode so it was only allowing connections through Windows Authentication!
Just didn't have the Server authentication set to allow SQL Server and Windows Authentication mode so it was only allowing connections through Windows Authentication!
Re: Adaptive Server connection failed (severity 9) - check_m
I'm glad you were able to find out what it was! Thankyou for posting the solution here.
Is it okay if we mark this topic as resolved and lock it for editing?
Is it okay if we mark this topic as resolved and lock it for editing?
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Adaptive Server connection failed (severity 9) - check_m
Hi,
Yes please mark it as resolved, I was trying to find a way of doing that myself but couldn't find the option.
Many Thanks,
Ben
Yes please mark it as resolved, I was trying to find a way of doing that myself but couldn't find the option.
Many Thanks,
Ben
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Adaptive Server connection failed (severity 9) - check_m
Great!benzen78 wrote:Hi,
Yes please mark it as resolved, I was trying to find a way of doing that myself but couldn't find the option.
Many Thanks,
Ben
Locking thread