ADSM-L

AW: Returncode 1 from PRESCHEDULECMD

1998-08-18 07:45:01
Subject: AW: Returncode 1 from PRESCHEDULECMD
From: "Rupp Thomas (Illwerke)" <thomas.rupp AT ILLWERKE.CO DOT AT>
Date: Tue, 18 Aug 1998 12:45:01 +0100
Thanks to all who responded - the problem has been solved.
I very much appreciate your support. Now it's clear to me what's 
going on behind the curtain (from my point of view).
Now I know that ADSM and Windows NT are doing what I want 
them to do.
Thank you very much for taking the time!

Greetings from Austria
Thomas Rupp
Vorarlberger Illwerke AG
MAIL:   thomas.rupp AT illwerke.co DOT at
TEL:    ++43/5574/4991-251
FAX:    ++43/5574/4991-820-8251
 

> -----Ursprüngliche Nachricht-----
> Von:  Pete Tanenhaus [SMTP:tanenhau AT US.IBM DOT COM]
> Gesendet am:  Montag, 17. August 1998 15:28
> An:   ADSM-L AT VM.MARIST DOT EDU
> Betreff:      AW: Returncode 1 from PRESCHEDULECMD
> 
> Level 5 (ptf 5) of the Win32 client will fully support UNC names for
> file
> specifications in all operations
> (backup, restore, include/exclude, etc.), but the scheduler service
> still must
> run under a domain authorised
> account in order to have access to domain resources.
> 
> Keep in mind that by default the scheduler service runs under the
> local system
> account which has
> no domain authority.
> 
> Also, since this is a non-interactive account no logon environment
> settings
> such as environment
> variables and persistent drive mappings will be present when the
> service logs
> on.
> 
> The service should be configured to log in as a domain authorised
> account in
> order to access
> domain resources.
> 
> The current ADSM service installation/configuration utility doesn't
> allow a
> domain account and password
> to be specified (the PTF 6 version will) so the logon account must be
> modified
> from the Services Control
> applet.
> 
> Hope this helps ....
> 
> Pete Tanenhaus, ADSM NT Client Development
> 
> 
> ---------------------- Forwarded by Pete Tanenhaus/San Jose/IBM on
> 08/17/98
> 10:01 AM ---------------------------
> 
> 
> ADSM-L AT VM.MARIST DOT EDU on 08/17/98 03:34:20 AM
> Please respond to ADSM-L AT VM.MARIST DOT EDU
> To: ADSM-L AT VM.MARIST DOT EDU
> cc:
> Subject: AW: Returncode 1 from PRESCHEDULECMD
> 
> 
> Maybe I've found the problem. I'm a VM and VSE guy and not too
> familiar with Windows NT - therefore some problems of understanding.
> 
> The scheduler is started as a NT system service. The commands
> to be executed are located on a Network drive (drive I:).
> I tried to specify the UNC notation (\\servername\sharename\..)
> but this doesn't work as well.
> Has anybody else managed to run a command from a network
> drive or is this simply impossible?
> 
> Kind regards
> Thomas Rupp
> Vorarlberger Illwerke AG
> MAIL:   thomas.rupp AT illwerke.co DOT at
> TEL:    ++43/5574/4991-251
> FAX:    ++43/5574/4991-820-8251
> 
> > -----Ursprüngliche Nachricht-----
> > Von:  Andrew Raibeck [SMTP:storman AT US.IBM DOT COM]
> > Gesendet am:  Montag, 10. August 1998 17:53
> > An:   ADSM-L AT VM.MARIST DOT EDU
> > Betreff:      Re: AW: Returncode 1 from PRESCHEDULECMD
> >
> > What exactly is in the PRECMD.BAT and POSTCMD.BAT files? The
> > problem may have nothing to do with desktop interaction, but
> > with the commands inside the batch files. For instance, is
> > there anything in there that relies on certain environment
> > variables being set?
> >
> > Instead of redirecting the output of PRECMD.BAT and POSTCMD.BAT,
> > you might try redirecting the output of each command within these
> > files. Be sure to redirect both stdout and stdin, i.e., each file
> > might contain:
> >
> > command1 > cmd1.out 2>&1
> > command2 > cmd2.out 2>&1
> >
> > etc. This might help shed some light.
> >
> > Regards,
> >
> > Andy
> >
> > Andy Raibeck
> > IBM Storage Systems Division
> > ADSM Client Development
> > e-mail: storman AT us.ibm DOT com
> >
> > Please respond to ADSM-L AT VM.MARIST DOT EDU
> > To: ADSM-L AT VM.MARIST DOT EDU
> > cc:
> > Subject: AW: Returncode 1 from PRESCHEDULECMD
> >
> >
> > Thanks for your reply.
> > I checked the "Interact with desktop option" - and got no error.
> > Now a DOS window flashes up for the pre- and postschedule command.
> > But still none of both commands is executed.
> > I modified the commands to pipe the output to a file (preschedulecmd
> > "I:\ADSM\COMMANDS\WINNT\PRECMD.BAT > C:\PRE.TXT")
> > The file is created, but has a size of 0 bytes.
> >
> > Do you think this problem will be solved by the September PTF?
> >
> > Kind regards
> > Thomas Rupp
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von:  Piche, Dennis (D.M.) [SMTP:dpiche1 AT FORD DOT COM]
> > > Gesendet am:  Montag, 10. August 1998 14:43
> > > An:   ADSM-L AT VM.MARIST DOT EDU
> > > Betreff:      Re: Returncode 1 from PRESCHEDULECMD
> > >
> > > I have had similar problems with preschedule commands.  Sometimes
> > the
> > > "Interact with desktop option" needs to be checked on the
> Scheduler
> > > Service.
> > > There is a problem with doing that though.  If you have set up the
> > > scheduler
> > > with the name "ADSM Central Scheduler Service" (so that you can
> > modify
> > > the
> > > scheduler through ADSM Services (Swiss Army Knife)) and you check
> > the
> > > "Interact with desktop option", you will get an error when
> bringing
> > up
> > > ADSM
> > > Services.  This error will be fixed in the September PTF as per
> IBM.
> > >
> > > ----
> > > Dennis Piche (Altair Engineering Inc.)  |
> > > Server and Network Services             |    Opinions are my own.
> > > FSIC - Ford Motor Company               |
> > > (313) 621-7578    dpiche1 AT ford DOT com      |    SEIZE THE DAY!!
> > >
> > >
> > >         -----Original Message-----
> > >         From:   Rupp Thomas (Illwerke)
> > > [SMTP:thomas.rupp AT ILLWERKE.CO DOT AT]
> > >         Sent:   Friday, August 07, 1998 7:01 AM
> > >         Subject:        Returncode 1 from PRESCHEDULECMD
> > >
> > >         Hi everybody,
> > >         I'm running ADSM/VM 2 and Backup Clients for Windows NT
> > V3.1.
> > >         My DSM.OPT looks like
> > >
> > >         preschedulecmd "I:\ADSM\COMMANDS\WINNT\PRECMD.BAT"
> > >         postschedulecmd "I:\ADSM\COMMANDS\WINNT\POSTCMD.BAT"
> > >
> > >         This pre and post commands end with returncode 1. No
> message
> > >         tells what's going wrong but the commands in the bat-files
> > are
> > > not
> > >         executed.
> > >         Does anyone know what this returncode means or where I can
> > > find
> > >         more information?
> > >
> > >         Thanks in advance.
> > >
> > >         Kind regards
> > >         Thomas Rupp
> > >         Vorarlberger Illwerke AG
> > >         MAIL:   thomas.rupp AT illwerke.co DOT at
> > >         TEL:    ++43/5574/4991-251
> > >         FAX:    ++43/5574/4991-820-8251
> >
> >
> >
> 
> 
> 
<Prev in Thread] Current Thread [Next in Thread>