-bash: Not a directory [message #611919] |
Thu, 10 April 2014 02:52 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/a59247482a11edb9544247f102223e8d?s=64&d=mm&r=g) |
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
[appltest@test ~]$ cd $ONT_TOP/forms/US
[appltest@test US]$ pwd
/u01/appltest/apps/apps_st/appl/ont/12.0.0/forms/US
[appltest@test US]$ cd $AU_TOP/forms/US
-bash: cd: /u01/appltest/apps/apps_st/appl/au/12.0.0/forms/US: Not a directory
|
|
|
|
Re: -bash: Not a directory [message #611923 is a reply to message #611920] |
Thu, 10 April 2014 04:09 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/a59247482a11edb9544247f102223e8d?s=64&d=mm&r=g) |
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
[appltest@test ~]$ XXC_EMP.fmb $AU_TOP/forms/US
-bash: XXC_EMP.fmb: command not found
I have XXC_EMP.fmb and XXC_EMP.fmx and i want to move XXC_EMP.fmb to $AU_TOP/forms/US Path.
So,i used some commands to move the form one path to another path in the same server.
[appltest@test ~]$ cd $ONT_TOP/forms/US
[appltest@test US]$ ls XXMZ_EMP_FOLDER_FRM.fmb XXMZ_EMP_FOLDER_FRM.fmx*
XXMZ_EMP_FOLDER_FRM.fmb XXMZ_EMP_FOLDER_FRM.fmx
[appltest@test US]$ echo $AU_TOP/forms/US
/u01/appltest/apps/apps_st/appl/au/12.0.0/forms/US
[appltest@test US]$ mv XXMZ_EMP_FOLDER_FRM.fmb /u01/appltest/apps/apps_st/appl/au/12.0.0/forms/US
[appltest@test US]$ XXMZ_EMP_FOLDER_FRM.fmb $AU_TOP/forms/US
-bash: XXMZ_EMP_FOLDER_FRM.fmb: command not found
And i paste the /u01/appltest/apps/apps_st/appl/au/12.0.0/forms/US Path to get the .fmb files and i am getting below error
Cannot get real path for '/u01/appltest/apps/apps_st/appl/au/12.0.0/forms/US:'.
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 16
Please help
[Updated on: Thu, 10 April 2014 04:18] Report message to a moderator
|
|
|
|
|
|
Re: -bash: Not a directory [message #611931 is a reply to message #611929] |
Thu, 10 April 2014 04:48 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/a59247482a11edb9544247f102223e8d?s=64&d=mm&r=g) |
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
Sorry for that..
Quote:
Why do you ask for help, and then not run the command I gave you? Very odd behaviour.
[appltest@test ~]$ file $AU_TOP/forms/US
/u01/appltest/apps/apps_st/appl/au/12.0.0/forms/US: data
In the above command what is the file ? Please let me know , what file name to pass here?
[Updated on: Thu, 10 April 2014 04:52] Report message to a moderator
|
|
|
Re: -bash: Not a directory [message #611932 is a reply to message #611931] |
Thu, 10 April 2014 05:01 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
John Watson
Messages: 8935 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Thank you for (finally) letting me help you.
This, /u01/appltest/apps/apps_st/appl/au/12.0.0/forms/US, is not a directory. It is a file. Somehow, you have managed to remove the directory and its contents, and replace it with a file. Or to put it another way, you have severely damaged your EBS installation. Better delete the file, and extract the directory and its contents from a backup.
|
|
|
|
Re: -bash: Not a directory [message #611935 is a reply to message #611933] |
Thu, 10 April 2014 05:05 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
John Watson
Messages: 8935 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Teaching you to restore files from backup is beyond the scope of an Oracle forum. Talk to your sys admin. Show him this topic: he will understand.
|
|
|
|