Networker

Re: [Networker] How to debug 'savepnpc' problems

2006-03-21 11:32:56
Subject: Re: [Networker] How to debug 'savepnpc' problems
From: "ingo AT visionet DOT de" <ingo AT VISIONET DOT DE>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 21 Mar 2006 11:27:32 -0500
Hello,

be sure you have a newline at the end of your <groupname>.res-file.
A missing newline may result in strange effects.
By the way: Your pre-backup commands are working properly and your 
prebackup.log is being written?

Ingo


On Tue, 21 Mar 2006 16:25:36 +0100, Manel Rodero <manel AT FIB.UPC DOT EDU> 
wrote:

>Hello,
>
>No. The postbackup.log isn't created.
>
>Any idea?
>
>> -----Original Message-----
>> From: Legato NetWorker discussion
>> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of ingo AT visionet 
>> DOT de
>> Sent: Tuesday, March 21, 2006 1:21 PM
>> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
>> Subject: Re: [Networker] How to debug 'savepnpc' problems
>>
>>
>> Hello,
>>
>> what does your postbackup.log say? Is it being written at all?
>>
>> Ingo
>>
>>
>> On Tue, 21 Mar 2006 11:08:08 +0100, Manel Rodero
>> <manel AT FIB.UPC DOT EDU> wrote:
>>
>> >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
>> >=============================================================
>> ============
>>
>> 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
>>
>
>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
>=========================================================================

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>