tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Cron problems, help me..
@ 1998-03-25 13:59 Andri Viveiros Maciel
  0 siblings, 0 replies; 2+ messages in thread
From: Andri Viveiros Maciel @ 1998-03-25 13:59 UTC (permalink / raw)
  To: tru64-unix-managers

I am trying to schedule a cron job to execute a script.
This script is to run the oracle exp tool, this is the

script bkp

/usr/users/oracle/bin/exp parfile=/usr/users/oracle/scripts/backup.ctl

-------contents of backup.ctl-----

system/xxxxx file=/usr/users/oracle/bkp/expdba_desenv.bkp full=n
owner=dba_dsi
grants=y indexes=y constraints=y rows=y
log=/usr/users/oracle/bkp/expdba.log
---------------------------------------------

So i gave the full path to the exp command and the backup.ctl.
and i am receiving the following mail message from the cron deamon:

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Cron problems, help me..
@ 1998-03-26 11:09 Andri Viveiros Maciel
  0 siblings, 0 replies; 2+ messages in thread
From: Andri Viveiros Maciel @ 1998-03-26 11:09 UTC (permalink / raw)
  To: tru64-unix-managers

I am trying to schedule a cron job to execute a script.
This script is to run the oracle exp tool, this is the script (bkp):


/usr/users/oracle/bin/exp parfile=/usr/users/oracle/scripts/backup.ctl

-------contents of backup.ctl-----

system/xxxxx file=/usr/users/oracle/bkp/expdba_desenv.bkp full=n
owner=dba_dsi
grants=y indexes=y constraints=y rows=y
log=/usr/users/oracle/bkp/expdba.log
---------------------------------------------

So i gave the full path to the exp command and the backup.ctl.
and i am receiving the following mail message from the cron deamon:

Export: Release 7.1.4.1.1 - Production on Wed Mar 25 14:30:01 1998

Copyright (c) Oracle Corporation 1979, 1994.  All rights reserved.


EXP-00008: ORACLE error 12545 encountered
ORA-12545: TNS:name lookup failure
EXP-00222:
System error message 2
EXP-00000: Export terminated unsuccessfully


...comprimindo arquivo exportado, aguarde.....


/usr/users/oracle/bkp/expdba_desenv.bkp: No such file or directory
OK..... 
---------------------------x-----------------------------

What it is?
Thanks Andre V. Maciel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-26 11:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-25 13:59 Cron problems, help me Andri Viveiros Maciel
  -- strict thread matches above, loose matches on Subject: below --
1998-03-26 11:09 Andri Viveiros Maciel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox