Error Message
Trying to start the Backup Exec Device and Media service fails with "The Backup Exec Device and Media Service could not start because the database recovery has failed. Refer to the database recovery log for details.", and the remote Backup Exec Database (BEDB) is detached on the SQL server.
Below entry is seen in the media servers Application Event log:
Type: Error
Event: 58068
Source: Backup Exec
Category: None
User: N/A
Computer: SCBACKUP
Description:
The Backup Exec Device and Media Service could not start because the database recovery has failed. Refer to the database recovery log for details.
Review of the Backup Exec Database Recovery log (default C:\Program Files\Symantec\Backup Exec\Logs\dbrecover.log) reports the following error:
File Exist Check: \\\E$\data\BEDB_dat.mdf
File Exist: FALSE
File Exist Check: \\\E$\logs\BEDB_log.ldf
File Exist: FALSE
Create database BEDB
Execute command: create database BEDB on(name=BEDB_dat, filename='E:\data\BEDB_dat.mdf') log on (name=BEDB_log, filename='E:\logs\BEDB_log.ldf')
OpenFromInitializationString Connection String = Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=master;Data Source=SCSQL;Locale Identifier=1033;Application Name=BEWS DBUTIL hr=0x0
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
Directory lookup for the file "E:\logs\BEDB_log.ldf" failed with the operating system error 2(The system cannot find the file specified.).
Execute command failed: 0x80040e14
OS ERROR: 0x80040e14 (-2147217900)
Deinitialize...
-----------------------------
Process completed
Status: DBU_ERROR_DATABASE_CREATE_FAILED
-----------------------------