Re: Domino setup/backup error

2002-04-19 Thread Gill, Geoffrey L.

Del,

The only thing in the log file you're asking about what what I put in my
original email with the return code=255.
04/18/2002 10:28:41 Trying port number 56582
04/18/2002 10:28:41 Obtained new port number on which to listen.
04/18/2002 11:59:06 ANS1512E Scheduled event 'DOMARCH_M-F' failed.  Return
code = 255.

Yesterday I suggested they check the environment, since the second server
works there is no way it's on my end. I see that the 12 noon schedule
finally ran on this server so it looks like they've fixed the problem.

Geoff Gill
TSM Administrator
NT Systems Support Engineer
SAIC
E-Mail:   [EMAIL PROTECTED] 
Phone:  (858) 826-4062
Pager:   (877) 905-7154



Re: Domino setup/backup error

2002-04-19 Thread Del Hoobler

> Executing Operating System command or script:
>c:\commands\domarc.cmd
> 04/18/2002 11:59:06 Finished command.  Return code is:
>255

Geoff,

There is not enough information here to find out
what is going on.  You didn't show the
contents of "e:\logs\domagent_err.log".
That is the TDP for Domino log file that
may show what failed when running the command.

There are also errors in the command file that you show.

1.) echo Current date is:e:\logs\domagent_arc
There should only be two ">>" not four.

2.) echo Current date is:e:\logs\domagent_arc
Didn't you mean "e:\logs\domagent_arc.log"?

3.) echo Current time is:e:\logs\domagent_arc
There should only be two ">>" not four.

4.) echo Current time is:e:\logs\domagent_arc
Didn't you mean "e:\logs\domagent_arc.log"?

5.) start /B domdsmc archivelog
/adsmoptfile=c:\progra~1\tivoli\tsm\domino\dsm.opt
/logfile=e:\logs\domagent_err.log >>e:\logs\domagent_arc.log
I am assuming that this line is really all on one line
in the batch file.  If not, it needs to be.

6.) One small thing I see, which may or may not be
a problem is that you have "cd /d %dom_dir%",
but you never actually change to the "C:" drive
within the batch file... and so if the default
drive is "D:", this will not work.

I am also wondering if the domdsmc command ran
at all since the output of the command was supposed
to be redirected to "e:\logs\domagent_arc.log".
What you show for that file does not have any
of the normal output from the domdsmc command.
For example, I would at least expect to see
the copyright banner for TDP for Domino.

A good thing to do is to make sure the batch file
runs manually before scheduling it.

I hope this helps.

Thanks,

Del



Del Hoobler
IBM Corporation
[EMAIL PROTECTED]

- Leave everything a little better than you found it.
- Smile a lot: it costs nothing and is beyond price.



Domino setup/backup error

2002-04-18 Thread Gill, Geoffrey L.

The Domino guys set up a command for TSM to run every 6 hours. The schedule
calls the command but returns the below errors. Anyone familiar with Domino
that can help? The error code points to an environment setup problem, not
sure what the return code means though. I'm guessing at this point the
environment problem is on the node.

The command file is as follows, not sure if it needs an adjustment too.

@ECHO OFF
set dom_dir="c:\Program Files\Tivoli\TSM\domino"
cd /d %dom_dir%
echo Current date is:e:\logs\domagent_arc
date /t >e:\logs\domagent_arc
echo Current time is:e:\logs\domagent_arc
time /t >e:\logs\domagent_arc
start /B domdsmc archivelog
/adsmoptfile=c:\progra~1\tivoli\tsm\domino\dsm.opt
/logfile=e:\logs\domagent_err.log >>e:\logs\domagent_arc.log


domagent_arc.log
04/18/2002 10:28:41 Obtained new port number on which to listen.
04/18/2002 11:59:06 ANS1512E Scheduled event 'DOMARCH_M-F' failed.  Return
code = 255.
domagent_sched.log:
Executing scheduled command now.
04/18/2002 11:59:06
Executing Operating System command or script:
   c:\commands\domarc.cmd
04/18/2002 11:59:06 Finished command.  Return code is:
   255

Thanks,

Geoff Gill
TSM Administrator
NT Systems Support Engineer
SAIC
E-Mail:   [EMAIL PROTECTED] 
Phone:  (858) 826-4062
Pager:   (877) 905-7154