Operating System - HP-UX
1829887 Members
3804 Online
109993 Solutions
New Discussion

Re: Execute Permission Denied

 
Qamar Alam
Advisor

Execute Permission Denied

Dear All Hi

I tryied my best to start jbase4.1 deamons(HP-UX 11i) but it's cann't start.
I have configured all parameters
by root but whenever I try to execute deamons it says


"sh: jRLA: Execute permission denied"

my machine architecture is not less the jbase build level bcoz when I try the command file it shows that

# file /usr/kbc/bin/jspinit
jspinit: ELF-32 executable object file


and in my HP

# file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)


it shows. what should be wrong with this?
18 REPLIES 18
mirco_1
Valued Contributor

Re: Execute Permission Denied

hy,

the permission of file and directory ?

DM.
Yogeeraj_1
Honored Contributor

Re: Execute Permission Denied

hi,

can you check the permissions on the files?

check if there is a file name "jRLA".

also seems like you are running a 32bit application on a 64bits operating system.


regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Qamar Alam
Advisor

Re: Execute Permission Denied

32 bit application cannot run on 64 bit architecture?.
I don't know.
Can I run it 64 bit architectecture?
Qamar Alam
Advisor

Re: Execute Permission Denied

I have given full rights to the executable file 777.
and trying to run by root user.
mirco_1
Valued Contributor

Re: Execute Permission Denied

hi,

32 bit can run on 64bit architecture!

But is possible that run non OK

DM.
Yogeeraj_1
Honored Contributor

Re: Execute Permission Denied

hi,

clarification: 32-bit applications can run on 64-bit architecture.

let us know on the outcome of changing to 777

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Qamar Alam
Advisor

Re: Execute Permission Denied

so why don't these files run on the system.
bcoz I have try my best to run it but it can't run.
and the execute permission denied message shows.
mirco_1
Valued Contributor

Re: Execute Permission Denied

hi,

if file and dir is 777 then can try to:

# ldd

and see if the module that the file search and need is 32 bit (OK) or 64 bit (BAD) in the system.

DM.
Qamar Alam
Advisor

Re: Execute Permission Denied

# ll jRLA
-rwxrwxrwx 2 122 users 1767440 Sep 16 2004 jRLA

# jRLA -ib
sh: jRLA: Execute permission denied.
Qamar Alam
Advisor

Re: Execute Permission Denied

# ldd jRLA -ib
ldd: Cannot execute "jRLA", Exec format error.
mirco_1
Valued Contributor

Re: Execute Permission Denied

hi,

i think that the file is corrupt.

try
# ldd /usr/bin/ls

work ?

DM.
Qamar Alam
Advisor

Re: Execute Permission Denied

it works.
file is not currupt.
but it is possibly the architecture difference error.
mirco_1
Valued Contributor

Re: Execute Permission Denied

yes,

it possible

DM.
Qamar Alam
Advisor

Re: Execute Permission Denied

So.......
What should I do now?
mirco_1
Valued Contributor

Re: Execute Permission Denied

you have the source file and compile it?

DM.
Yogeeraj_1
Honored Contributor

Re: Execute Permission Denied

hi,

see if you have any scripts in the install directory that can allow you recompile the executables...

alternatively, you can try to get a 64-bit version of the software...

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Qamar Alam
Advisor

Re: Execute Permission Denied

I have complete package of jBase and configured it but it won't work
Don Morris_1
Honored Contributor

Re: Execute Permission Denied

Considering HP PA 32-bit binaries are supposed to be SOM, not ELF-32 -- are you sure you don't have a package meant for Itanium?