Networker

[Networker] How to debug 'savepnpc' problems

2006-03-21 05:11:24
Subject: [Networker] How to debug 'savepnpc' problems
From: Manel Rodero <manel AT FIB.UPC DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 21 Mar 2006 11:08:08 +0100
Hello,

I would like to know how to debug 'savepnpc' problems because, randomly, one
of our Windows clients doesn't execute the post backup command.

We have the following configuration:

In c:\legato\nsr\res we have a "LCFIB-Normal.res" file with the following
content:

type: savepnpc;
precmd: "C:\\lcfib\\prebackup.cmd > C:\\lcfib\\prebackup.log 2>&1";
pstcmd: "C:\\lcfib\\postbackup.cmd > C:\\lcfib\\postbackup.log 2>&1";
timeout: "07:45:00";
#end

In c:\lcfib we have the files "prebackup.cmd" and "postbackup.cmd" with the
following content:

[prebackup.cmd]
c:\windows\system32\net.exe stop "SQL Server (MSSQLSERVER)"
c:\windows\system32\net.exe stop "SQL Server Analysis Services
(MSSQLSERVER)"
c:\windows\system32\net.exe stop "SQL Server FullText Search (MSSQLSERVER)"
c:\windows\system32\net.exe stop "SQL Server Integration Services"
c:\windows\system32\net.exe stop "SQL Server Reporting Services
(MSSQLSERVER)"

[postbackup.cmd]
c:\windows\system32\net.exe start "SQL Server (MSSQLSERVER)"
c:\windows\system32\net.exe start "SQL Server Analysis Services
(MSSQLSERVER)"
c:\windows\system32\net.exe start "SQL Server FullText Search (MSSQLSERVER)"
c:\windows\system32\net.exe start "SQL Server Integration Services"
c:\windows\system32\net.exe start "SQL Server Reporting Services
(MSSQLSERVER)"

The log file "savepnpc.log" in c:\legato\nsr\logs indicates that there are
errors when executing the postbackup commands:

3/21/2006 12:36:30 AM preclntsave: All command(s) ran successfully.
3/21/2006 12:47:36 AM pstclntsave: All savesets on the worklist are done.
3/21/2006 12:47:37 AM pstclntsave: Not all command(s) ran successfully.
3/21/2006 12:47:37 AM pstclntsave: Exited.

If we execute "postbackup.cmd" by hand there aren't any problems. Any idea
about how to debug a little more these kind of problems?

Thank you very much!

--

o o o  Manel Rodero                   | LCFIB - UPC
o o o  Helpdesk Manager               | Campus Nord - Modul B6
o o o  Laboratori de Calcul           | Jordi Girona, 1-3
U P C  Facultat Informatica Barcelona | 08034 Barcelona (Spain)
                                      |
       manel AT fib.upc DOT edu              | Tel: +00 34 93 401 6940
       http://www.fib.upc.edu/~manel  | Fax: +00 34 93 401 7040

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>