Ir al contenido
 Español      
HP.com Venezuela principal Productos y Servicios Soporte y Controladores Soluciones Cómo Comprar
» Contactar HP
     Búsqueda avanzada en foros
HP.com Venezuela principal
IT Resource Center Forums > HP-UX > system administration

Getting Execute permission denied - This thread has been closed

» 

Centro de Recursos de Tecnología Informática

» Inicio de sesión
» Registro
» Mi perfil
» Búsqueda en la base de conocimientos
» Foros
» Base de datos de parches
» Descargar controladores, software y firmware
» Comprobación de la garantía
» Administrador de casos de soporte
» Administrador de actualizaciones de software
» Capacitación y educación
» Más opciones de mantenimiento y soporte
» Ayuda online
» Mapa del sitio

Member icons
 
 HP moderator  HP moderator
 Expert in this area  Expert in this area
Member status
ITRC Pro ITRC Pro
250 points
ITRC Graduate ITRC Graduate
500 points
ITRC Wizard ITRC Wizard
1000 points
ITRC Royalty ITRC Royalty
2500 points
ITRC Pharaoh ITRC Pharaoh
7500 points
Olympian Olympian
20000 points
1-Star Olympian 1-Star Olympian
40000 points
2-Star Olympian 2-Star Olympian
80000 points
»  How to earn points
»  Support forums FAQs
Question status
Magical answer Magical answer
Message with a response that solved the author's question
Favorites status
Add to my favorites Add to my favorites
Delete from my favorites Delete from my favorites
This thread has been closed Thread closed
 

Aquí empieza el contenido
   Create a new message    Receive e-mail notification if a new reply is posted  Reply to this message
Author Subject: Getting Execute permission denied      Add to my favorites  This thread has been closed
Pankaj
Sep 24, 2004 09:21:16 GMT   

I am using HP UX 11.0.

I have compiled a code and generated the executable. When I run the executable, I get "Execute permission denied" although execute permissions are set.

What is the reason for this and how can I get rid of it?

Thanks in advance.
Pankaj
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click here


Sort Answers By: Date or Points
Eric Antunes This member has accumulated 2500 or more points
Sep 27, 2004 08:13:28 GMT  10 pts

Hi Pankaj,

Is the executable file in executables directories for the user/group?

Eric
bhavin asokan This member has accumulated 1000 or more points
Sep 27, 2004 08:22:53 GMT  10 pts

hi pankaj,

the file is kept where.the path of file should be there in your profile.after adding entry exit the login and login again.

regds,
HP moderator Cheryl Griffin This member has accumulated 7500 or more points
Sep 27, 2004 08:31:01 GMT  10 pts

If the file is incompatible with the system type, you might also receive this error.

Check the PA-RISC level using file:
# file (executable)
(executable): PA-RISC1.1 shared executable dynamically linked
Henry Chua
Sep 27, 2004 08:35:30 GMT  10 pts

Hi Pankaj,

Just out of curiosity, can u do a 'what' on the executable?. Is it possible that this binary executable file may be having some conflicts with your UX platform? where did u compile it?
Sridhar Bhaskarla This member has accumulated 20000 or more points
Sep 27, 2004 10:51:22 GMT  10 pts

Hi Pankaj,

If the permissions are set to execute and if you are still unable to execute, then follow Cheryl's advice. It's mostly due to incompatible hardware.

$file <executable> #file type
$file /stand/vmunix #CPU type

Compare them. If the CPU type is more than or equal to file type, then it should execute. Otherwise, it won't. For ex., PARISC1.1 type executables will get executed on PARISC2.0 machines but not the otherway.

-Sri
Govind Expert in this area
Sep 27, 2004 16:22:08 GMT  10 pts

1)Are there any ACLS Set ? or is it just regular permissions set that you are using?

2)Is the name of the executable same as any other system executable which is set ahead in the $PATH which might be getting executed before this ./executable ?

3)If you create a executable to just echo "Execute permission denied", you would get the same message when you execute it ;) LOL, I guess That wouldnt be the case anyhow.

-Cheers
Govind
Pankaj
Oct 1, 2004 03:05:42 GMT    N/A: Question Author

Hi,
Thanks to all who replied and it really helped me a lot. I have got the problem solved.

Thanks
Pankaj
Oct 1, 2004 03:07:28 GMT   Thread closed by author  

Thanks the problem has been solved
 
Create a new message    Receive e-mail notification if a new reply is posted   Reply to this message
 
 
Printable version
Declaración de confidencialidad El uso de este sitio implica la aceptación de sus políticas de uso
© 2009 Hewlett-Packard Development Company, L.P.