From: Andri Viveiros Maciel <andre () Net ! unigranrio ! br>
To: tru64-unix-managers
Subject: Cron problems, help me..
Date: Thu, 26 Mar 1998 11:09:02 +0000 [thread overview]
Message-ID: <96078701111699.tru64-unix-managers.marc@archive.invalid> (raw)
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
next reply other threads:[~1998-03-26 11:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-26 11:09 Andri Viveiros Maciel [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-03-25 13:59 Cron problems, help me Andri Viveiros Maciel
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox