03-19-2016 11:39 AM
Hello!
I get the following error when trying to apply SP4 to BackupExec 2012 installation on Windows Server 2008 R2. SQL database is on separate SQL server.
I manually stoped all BackupExec services before installation and checked on SQL server that there are no logins on BackupExec database.
Solved! Go to Solution.
03-22-2016 05:54 AM
After digging into the process of installing SP I found out where the problem is and also solution to the problem.
I looked into SQL upgrade script C:\Program Files\Symantec\Backup Exec\dbupgradebuildtobuild.sql. It shows that for the sake of SP install linked server BESERVER_DB is created which points to the SQL server with BEDB database. In this case it is the server itself. If linked server BESERVER_DB already exists (from previous installations), it is first deleted and then new one created. Linked server is created with default login (login using current security context). Previous liked server is deleted with command sp_dropserver 'BESERVER_DB'. This command deletes linked server and default login, but not any extra defined logins.
In our case existing linked server 'BESERVER_DB' had additional login tied to specific user. When upgrade procedure deleted linked server, extra login was not deleted and this then caused error. Correct command for linked server delete in the upgrade script would be sp_dropserver 'BESERVER_DB', 'droplogins'.
I simply deleted linked server BESERVER_DB and then SP4 install went OK.
03-19-2016 12:37 PM
Hi,
You might have this error relating to trying to patch to SP3...
https://www.veritas.com/support/en_US/article.TECH211171
Run LiveUpdate and install all the relevant updates excluding SP4, and once done, try upgrading to SP4.
Otherwise see if this helps:
https://www.veritas.com/support/en_US/article.000020033
Thanks!
03-20-2016 12:41 PM
I went on the conservative side and first installed SP1a. It went OK.
Then I installed SP2. It went OK.
Then I tried SP3. It failed with the same error as with SP4:
Then I also looked at the seccond suggestion, but there were no server name changes done at our SQL server. What I find intriguing is that error message refers to BESERVER_DB and our db name is BEDB.
Regards.
03-22-2016 05:54 AM
After digging into the process of installing SP I found out where the problem is and also solution to the problem.
I looked into SQL upgrade script C:\Program Files\Symantec\Backup Exec\dbupgradebuildtobuild.sql. It shows that for the sake of SP install linked server BESERVER_DB is created which points to the SQL server with BEDB database. In this case it is the server itself. If linked server BESERVER_DB already exists (from previous installations), it is first deleted and then new one created. Linked server is created with default login (login using current security context). Previous liked server is deleted with command sp_dropserver 'BESERVER_DB'. This command deletes linked server and default login, but not any extra defined logins.
In our case existing linked server 'BESERVER_DB' had additional login tied to specific user. When upgrade procedure deleted linked server, extra login was not deleted and this then caused error. Correct command for linked server delete in the upgrade script would be sp_dropserver 'BESERVER_DB', 'droplogins'.
I simply deleted linked server BESERVER_DB and then SP4 install went OK.