Overview
When GFI Archiver is unable to connect to the SQL server, it may be due to server registration issues, incorrect configurations, or insufficient permissions. This guide provides steps to troubleshoot and resolve connectivity issues between GFI Archiver and the SQL server.
Information
To resolve connectivity issues between GFI Archiver and the SQL server, follow these steps:
-
Verify SQL Server Registration:
- Open Microsoft SQL Management Studio.
- Right-click on the SQL Server node and select 'New Query'.
- Enter the command:
SELECT @@servername
and execute it. - If the result is NULL, register the SQL server name:
Exec sp_dropserver 'servername' Exec sp_addserver @servername='GFI-Archiver.pzugroup.pzu.local' @local='LOCAL'
- Replace
'servername'
with your actual server name. - Restart the Microsoft SQL Server service.
-
Check SQL Server Configuration:
- Ensure named pipes and TCP/IP protocols are enabled in SQL Server Configuration Manager.
- Verify the SQL server instance name is correctly configured in GFI Archiver.
-
Verify SQL Server Permissions:
- Ensure the SQL login used by GFI Archiver has elevated permissions, similar to the System Administrator (SA) account.
- Confirm the account can create/modify databases, execute queries, and perform schema updates.
-
Exclude GFI Directories from Antivirus Scanning:
- Configure antivirus software to exclude GFI directories from real-time scanning.
-
Check Network and Disk Health:
- Perform disk and database integrity checks.
- Ensure no network issues affect SQL server connectivity.
-
Update Credentials in Archiver Store Wizard:
- If the above steps do not resolve the issue, update the credentials in the Archiver Store Wizard to ensure successful connection to the SQL server.
Frequently Asked Questions
- What should I do if the SQL server name returns NULL?
- If the SQL server name returns NULL, you need to register the SQL server name using the commands:
Exec sp_dropserver 'servername'
andExec sp_addserver @servername='GFI-Archiver.pzugroup.pzu.local' @local='LOCAL'
, then restart the SQL Server service. - How can I ensure the SQL server configuration is correct?
- Use SQL Server Configuration Manager to ensure that named pipes and TCP/IP protocols are enabled, and verify that the SQL server instance name is correctly configured in GFI Archiver.
- What permissions are required for the SQL login used by GFI Archiver?
- The SQL login should have elevated permissions, preferably equivalent to the System Administrator (SA) account, with permissions to create/modify databases, execute queries, and perform schema updates.
Priyanka Bhotika
Comments