I don't use nohup.  I got tired of nohup.out files all over the place!
I have a number of AIX clients setup this way:
In /etc/inittab, this one line:

dsmc:2:once:/etc/rc.dsmc >/dev/null 2>&1 #Start scheduler

This starts on each reboot.

Contents of /etc/rc.dsmc:

#!/usr/bin/ksh
#  Start DSMC Scheduler

/usr/tivoli/tsm/client/ba/bin/dsmc sched &

This both starts scheduler on reboot and enables me to kill scheduler,
make changes to dsm.sys or whatever and then restart manually with:
/etc/rc.dsmc
and then logout and it keeps running.

David Longo

>>> [EMAIL PROTECTED] 03/28/02 09:38AM >>>
Anybody,

I am trying to get the scheduler service to run in the background and to
continue running after a logout.  My TSM server is ver. 4.1.4.1 and AIX
4.3.3, my tsm b-a client is 4.1.4 on a Unix Tru64 OS.  I was using the
'Tivoli Storage Manager for UNIX - Using the Backup-Archive Clients', in
chapter 5 'Automating TSM Tasks.'  In the chapter it details using the
following statement 'nohup dsmc schedule 2> /dev/null &'.  However, it
only continues to run while I am logged in, if I log out and log back
in, the process can not be found.  Our software vendor affirmed that he
could get other processes to run after a logout, but could not get the
dsmc schedule process to run after a logout.  It is probably obvious I
am not a Unix guru so any help would be very appreciated.

Thanks,

Bud Brown
Information Services
Systems Administrator



"MMS <health-first.org>" made the following
 annotations on 03/28/02 12:15:14
------------------------------------------------------------------------------
This message is for the named person's use only.  It may contain confidential, 
proprietary, or legally privileged information.  No confidentiality or privilege is 
waived or lost by any mistransmission.  If you receive this message in error, please 
immediately delete it and all copies of it from your system, destroy any hard copies 
of it, and notify the sender.  You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient.  Health First reserves the right to monitor all e-mail communications 
through its networks.  Any views or opinions expressed in this message are solely 
those of the individual sender, except (1) where the message states such views or 
opinions are on behalf of a particular entity;  and (2) the sender is authorized by 
the entity to give such views or opinions.

==============================================================================

Reply via email to