Operating System - HP-UX
1830300 Members
2169 Online
110000 Solutions
New Discussion

Can't execute a file in the profile

 
John McDen
Regular Advisor

Can't execute a file in the profile

I am not sure why I am getting this error... the file exist..


${HOME:-.}/.profile[51]: /scm13/app/oradev/product/805/ows/3.0/install/owsenv_bsh.sh: not found
New to HP
6 REPLIES 6
Helen French
Honored Contributor

Re: Can't execute a file in the profile

what about the permission of the file ? Is it executable ?

Also are you able to run that file from the $HOME directory manually ?
Life is a promise, fulfill it!
Jeff Schussele
Honored Contributor

Re: Can't execute a file in the profile

Hi John,

Check the perms on the path ALL the way down to this file.
If a dir above it gives you no perms then you can't get to the file.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
A. Clay Stephenson
Acclaimed Contributor

Re: Can't execute a file in the profile

In addition, it is also possible that the permissions of the mountpoints are too restrictive eventhough the mounted filesystems look perfectly fine.
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: Can't execute a file in the profile

Hi John

May be you can change the permissions to 777 for the file and also try putting
sh /scm13/app/oradev/product/805/ows/3.0/install/owsenv_bsh.sh

in the .profile .


Manoj Srivastava
Wodisch
Honored Contributor

Re: Can't execute a file in the profile

Hi John,

check the first line in that script: does it look like this?

#!/some/path/to/the/interpreter

Then maybe that path is simply wrong! Correct it or provide symbolic link with exactly that name, pointing to the *real* interpreter...

Just my $0.02,
Wodisch
John McDen
Regular Advisor

Re: Can't execute a file in the profile

Thanks .. its fixed
New to HP