cancel
Showing results for 
Search instead for 
Did you mean: 

Redirection de la Restauration SQL

fouzia
Level 4

Bonjour,

 

lord de redirection de larestauration, un message d'erreur apparu 

 

Restore started Wed Apr 22 10:57:05 2015

ERR - Error in GetCommand: 0x80770004.
    CONTINUATION: - An abort request is preventing anything except termination actions.
INF - OPERATION #1 of batch E:\RestorIMOS\IMOS.bch FAILED with STATUS 1 (0 is normal). Elapsed time = 108(108) seconds.
INF - Results of executing <E:\RestorIMOS\IMOS.bch>:
<0> operations succeeded. <1> operations failed.

 

Merci de m'orienter

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

Seems you have a problem with MS-SQL license on destination client:

13:45:13.086 [1620.3260] <16> CODBCaccess::LogODBCerr: DBMS MSG - ODBC return code 
<-1>, SQL State <37000>, SQL Message <1827><[Microsoft][ODBC SQL Server Driver]
[SQL Server]Échec de CREATE DATABASE ou ALTER DATABASE parce que la taille cumulée de 
 la base de données résultante dépassera les limites de la licence, soit 10240 Mo par
 base de données.>. 

 

Google Translate says:

Failed to CREATE DATABASE or ALTER DATABASE because the cumulative size of the resulting database will exceed the limits of the License, or 10240 MB per database.

 

View solution in original post

15 REPLIES 15

Marianne
Level 6
Partner    VIP    Accredited Certified

Please post dbclient log.

Copy log file to dbclient.txt and upload as File attachment.

If dbclient log folder does not exist, please create folder on destination client, increase logging level to 3 and retry the restore. 

Before another restore attempt - change Client Read Timeout on media server to 7200.

If restore fails again, please upload dbclient log.

fouzia
Level 4

Hi

I changed read timeout client on the media server to 7200.
  dbclient the log folder or is, and how to increase the level of logging to 3 and run the restore.

Marianne
Level 6
Partner    VIP    Accredited Certified

To change logging level:

Master server: Host Properties -> Clients -> <Destination Client name> -> Logging
Or 
Open Backup, Archive, Restore GUI on destination client.
File -> NetBackup Client Properties -> Troubleshooting.
Change Verbose and Database levels to 3.

Create dbclient folder/directory under <install-path>\netbackup\logs.

fouzia
Level 4

Hi

 

I change the level of logging to 3


for the file already exists in dbclient master server and not in customer

Marianne
Level 6
Partner    VIP    Accredited Certified

We need dbclient log on the destination client. Create the folder if it does not exist.

 

fouzia
Level 4

Hi

I created the client file in the client
I restarted the restoration work

below the error message

///////////////////////////////////////////////////////////////////

4/22/2015 1:45:15 PM - Error bpbrm(pid=9948) socket read failed, An existing connection was forcibly closed by the remote host.  (10054)
4/22/2015 1:45:15 PM - Info bpbrm(pid=6764) child done, status 13         
4/22/2015 1:45:15 PM - Info bpbrm(pid=6764) sending message to media manager: STOP RESTORE dzorrpw24_1429329619     
4/22/2015 1:45:15 PM - end reading; read time: 0:00:05
4/22/2015 1:45:16 PM - Info bpbrm(pid=6764) media manager for backup id dzorrpw24_1429329619 exited with status 0: the requested operation was successfully completed
4/22/2015 1:45:16 PM - restored image dzorrpw24_1429329619 - (file read failed(13)); restore time 0:01:37
4/22/2015 1:45:22 PM - end Restore; elapsed time: 0:01:46
Restore error(2850)

///////////////////////////////////////////////////////////////

NBU35
Level 6

dbclient log  is required as per Marianne's recomendation, it is still missing.

Hope you have followed following technote for redirected restoration of SQL database.

https://support.symantec.com/en_US/article.TECH35995.html

Also check is restore from client is allowed from your destination client.

run following on your master server

install_path/bpclient -client client_name -L
Client Name: client_name
 Current Host:
        Hostname: client_name
 Dynamic Address:       no
 Free Browse:   Allow
 List Restore:  Allow Both
 

 

check for value of "List Restore" if it is not ALLOW both, then change it 
 

install_path/bpclient -client client_name -add -list_restore 1

or 

install_path/bpclient -client client_name -update -list_restore 1

Marianne
Level 6
Partner    VIP    Accredited Certified

We need client dbclient log.

Please copy the log to dbclient.txt and upload as File attachment.

If you have bpbrm log on the media server, please upload that as well. The errors above looks like there may be a timeout. 
dbclient and bpbrm logs will confirm.

Please also post all of the text in Job Details.

fouzia
Level 4

Hi

attached file dbclient
below the error message

4/22/2015 1:43:36 PM - begin Restore
4/22/2015 1:43:38 PM - 1 images required
4/22/2015 1:43:38 PM - media 0032L4 required
4/22/2015 1:43:39 PM - restoring image dzorrpw24_1429329619
4/22/2015 1:43:40 PM - Info bpbrm(pid=6764) dzorvpw71 is the host to restore to      
4/22/2015 1:43:40 PM - Info bpbrm(pid=6764) telling media manager to start restore on client     
4/22/2015 1:43:43 PM - Info bpbrm(pid=9948) dzorvpw71 is the host to restore to      
4/22/2015 1:43:43 PM - Info bpbrm(pid=9948) listening for client connection         
4/22/2015 1:43:45 PM - Info bptm(pid=9788) Waiting for mount of media id 0032L4 (copy 1) on server dzorrpw28.intranet.hyproc.
4/22/2015 1:43:45 PM - started process bptm (9788)
4/22/2015 1:43:45 PM - mounting 0032L4
4/22/2015 1:43:45 PM - requesting resource 0032L4
4/22/2015 1:43:45 PM - granted resource 0032L4
4/22/2015 1:43:45 PM - granted resource IBM.ULT3580-TD4.000
4/22/2015 1:43:47 PM - Info bptm(pid=9788) INF - Waiting for mount of media id 0032L4 on server dzorrpw28.intranet.hyproc for reading.
4/22/2015 1:43:50 PM - Info bpbrm(pid=9948) accepted connection from client         
4/22/2015 1:43:50 PM - Info tar32(pid=1620) Restore started.           
4/22/2015 1:43:50 PM - connected
4/22/2015 1:44:31 PM - mounted; mount time: 0:00:46
4/22/2015 1:44:31 PM - Info bptm(pid=9788) 0032L4            
4/22/2015 1:44:33 PM - Info bptm(pid=9788) INF - Waiting for positioning of media id 0032L4 on server dzorrpw28.intranet.hyproc for reading.
4/22/2015 1:44:33 PM - positioning 0032L4 to file 355
4/22/2015 1:45:10 PM - positioned 0032L4; position time: 0:00:37
4/22/2015 1:45:10 PM - begin reading
4/22/2015 1:45:15 PM - Error bpbrm(pid=9948) socket read failed, An existing connection was forcibly closed by the remote host.  (10054)
4/22/2015 1:45:15 PM - Info bpbrm(pid=6764) child done, status 13         
4/22/2015 1:45:15 PM - Info bpbrm(pid=6764) sending message to media manager: STOP RESTORE dzorrpw24_1429329619     
4/22/2015 1:45:15 PM - end reading; read time: 0:00:05
4/22/2015 1:45:16 PM - Info bpbrm(pid=6764) media manager for backup id dzorrpw24_1429329619 exited with status 0: the requested operation was successfully completed
4/22/2015 1:45:16 PM - restored image dzorrpw24_1429329619 - (file read failed(13)); restore time 0:01:37
4/22/2015 1:45:22 PM - end Restore; elapsed time: 0:01:46
Restore error(2850)

Marianne
Level 6
Partner    VIP    Accredited Certified

Seems you have a problem with MS-SQL license on destination client:

13:45:13.086 [1620.3260] <16> CODBCaccess::LogODBCerr: DBMS MSG - ODBC return code 
<-1>, SQL State <37000>, SQL Message <1827><[Microsoft][ODBC SQL Server Driver]
[SQL Server]Échec de CREATE DATABASE ou ALTER DATABASE parce que la taille cumulée de 
 la base de données résultante dépassera les limites de la licence, soit 10240 Mo par
 base de données.>. 

 

Google Translate says:

Failed to CREATE DATABASE or ALTER DATABASE because the cumulative size of the resulting database will exceed the limits of the License, or 10240 MB per database.

 

fouzia
Level 4

Hi

I install sql and licensed for creating 10GB and I run the job
below error message

4/23/2015 9:24:19 AM - begin Restore
4/23/2015 9:24:21 AM - 1 images required
4/23/2015 9:24:21 AM - media 0032L4 required
4/23/2015 9:24:22 AM - restoring image dzorrpw24_1429329619
4/23/2015 9:24:23 AM - Info bpbrm(pid=7256) dzorvpw71 is the host to restore to      
4/23/2015 9:24:23 AM - Info bpbrm(pid=7256) telling media manager to start restore on client     
4/23/2015 9:24:26 AM - Info bpbrm(pid=8424) dzorvpw71 is the host to restore to      
4/23/2015 9:24:26 AM - Info bpbrm(pid=8424) listening for client connection         
4/23/2015 9:24:28 AM - Info bptm(pid=6608) Waiting for mount of media id 0032L4 (copy 1) on server dzorrpw28.intranet.hyproc.
4/23/2015 9:24:28 AM - started process bptm (6608)
4/23/2015 9:24:28 AM - mounting 0032L4
4/23/2015 9:24:28 AM - requesting resource 0032L4
4/23/2015 9:24:28 AM - granted resource 0032L4
4/23/2015 9:24:28 AM - granted resource IBM.ULT3580-TD4.000
4/23/2015 9:24:30 AM - Info bptm(pid=6608) INF - Waiting for mount of media id 0032L4 on server dzorrpw28.intranet.hyproc for reading.
4/23/2015 9:24:33 AM - Info bpbrm(pid=8424) accepted connection from client         
4/23/2015 9:24:33 AM - Info tar32(pid=2212) Restore started.           
4/23/2015 9:24:33 AM - connected
4/23/2015 9:25:23 AM - mounted; mount time: 0:00:55
4/23/2015 9:25:23 AM - Info bptm(pid=6608) 0032L4            
4/23/2015 9:25:25 AM - Info bptm(pid=6608) INF - Waiting for positioning of media id 0032L4 on server dzorrpw28.intranet.hyproc for reading.
4/23/2015 9:25:25 AM - positioning 0032L4 to file 355
4/23/2015 9:26:01 AM - positioned 0032L4; position time: 0:00:36
4/23/2015 9:26:01 AM - begin reading
4/23/2015 9:26:07 AM - Error bpbrm(pid=8424) socket read failed, An existing connection was forcibly closed by the remote host.  (10054)
4/23/2015 9:26:07 AM - Info bpbrm(pid=7256) child done, status 13         
4/23/2015 9:26:07 AM - Info bpbrm(pid=7256) sending message to media manager: STOP RESTORE dzorrpw24_1429329619     
4/23/2015 9:26:08 AM - end reading; read time: 0:00:07
4/23/2015 9:26:08 AM - Info bpbrm(pid=7256) media manager for backup id dzorrpw24_1429329619 exited with status 0: the requested operation was successfully completed
4/23/2015 9:26:08 AM - restored image dzorrpw24_1429329619 - (file read failed(13)); restore time 0:01:46
4/23/2015 9:26:14 AM - end Restore; elapsed time: 0:01:55
Restore error(2850)

Marianne
Level 6
Partner    VIP    Accredited Certified

NBU error looks the same as yesterday...
Please post latest dbclient log on destination client and bpbrm log on media server.

fouzia
Level 4

attached client dbclient on the client destination

Marianne
Level 6
Partner    VIP    Accredited Certified

Are you sure that logging level on the destination client is set to 3?

I had a similar error at a customer a couple of months ago.
With logging at level 0, all that was logged in dbclient was:

<16> WriteToVirtualDevice: ERR - Error in GetCommand: 0x80770004.

Similar to the error you are seeing.

With logging at level 3, additional info was logged:

15:55:30.769 [19536.24300] <16> CODBCaccess::LogODBCerr: DBMS MSG - ODBC return code <-1>, SQL State <37000>, SQL Message <3101><[Microsoft][SQL Native Client][SQL Server]Exclusive access could not be obtained because the database is in use.>.

The bottom part of this TN: helped to find the issue: http://www.symantec.com/docs/TECH44445 

The DBA issued 'sp_who2 ' in SQL Management studio query window and found a user connection to the database.

After killing the connection the restore was successful.

In your case - perhaps SQL Management studio was left open after fixing the license issue?

 

fouzia
Level 4

Hi,

Actually restoring the base has exceeded 10 GB, so I always lisence SQL summary that problem, because I have been able to restore a basic 1GB

So Marianne I thank you for your guidance and your time