Off the top of my head, I am thinking that the current directory
is not in your path.  That is not an unusual thing.  Specify the
whole filename when executing it (including the path).  Of course,
if the script calls other scripts (or uses other files) and expecting
them in the current directory you will have the same issue I 
believe.  Its bad practice not to specify the path in scripts.

-----Original Message-----
Maheswara
Sent: Friday, January 11, 2002 7:05 AM
To: Multiple recipients of list ORACLE-L


Roland,

The file permissions on the file - loadfiles.sh --- might be set to no
execute, no read, no write permissions for the group and others.  In this
case, only the owner of the file could access the file.  Hence, under what
user id are you calling this script? Also, check the permissions on the ---
loadfiles.sh. 

Or change the file permissions on - loadfiles.sh ---. Go to the directory
where - loadfiles.sh --- exists.  Enter --- chmod 777 loadfiles.sh.  Then
run your command.  If you get error during chmod command, it means you are
not the owner of the file and hence, you are getting the error.  In that
case, you have two options.  Either contact your sysadmin and ask him to
change the file permissions on loadfiles.sh.  Or if you know the owner's
userid and pass word, then log on as that user and then change permissions
on loadfiles.sh by executing the command chmod 777 loadfiles.sh

Rao




-----Original Message-----
Sent: Friday, January 11, 2002 8:00 AM
To: Multiple recipients of list ORACLE-L
Hi

can you do a "cat" on that file? if no: Maybe there are invisible
characters as the  back/front of the file name.
try mv *loadfiles.sh* loadfiles.sh (see if you get message that filenames
are identical)

If that is not the problem, maybe the script calls a file that doesn't
exist

Jack


[EMAIL PROTECTED]@fatcity.com on 11-01-2002 13:25:18

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:    (bcc: Jack van Zanen/nlzanen1/External/MEY/NL)

Hallo,

why do I get the error message "No such file or directory".
when I try to run unix script loadfiles.sh which is located in
 the directory /konto/tmp.

This file, loadfiles.sh really exists in that directory.


Thanks in advance


Roland



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rao, Maheswara
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Kimberly Smith
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to