Operating System - HP-UX
1752541 Members
5175 Online
108788 Solutions
New Discussion юеВ

Re: What permission do I change?

 
Raj Mithal_1
Advisor

What permission do I change?

+ make -f /u/app/oracle/product/734/precomp/demo/proc/proc.mk ORA_CLIENT_LIB=shared EXE=daemon_merc OBJS=daemon_merc.o CFLAGS=-I. -O
proc iname=daemon_merc.pc
/usr/bin/sh: proc: Execute permission denied.
*** Error exit code 1
13 REPLIES 13
Mark Grant
Honored Contributor

Re: What permission do I change?

Probably need to change your umask setting. Try "umask 022"
Never preceed any demonstration with anything more predictive than "watch this"
Raj Mithal_1
Advisor

Re: What permission do I change?

Tried it. Still get the same error. De-bug this on another server with the same versions shows me that the next step is as follows. Maybe the permiossion of this executable is incorrect or we lost a link some where along the line. I'm not sure where to lokk.:-
Pro*C/C++: Release 2.2.4.0.0 - Production on Tue Jun 29 11:20:59 2004

Copyright (c) Oracle Corporation 1979, 1996. All rights reserved.

System default option values taken from: /u/app/oracle/product/734/precomp/admin/pcscfg.h

cc -I. -O -c daemon_or64.c
Dietmar Konermann
Honored Contributor

Re: What permission do I change?

EACCESS returned by exec(2) may also be caused by an incompatible executable. For example by a PA2.0 binary on a PA1.1 system. Or by a wide (64bit) executable on a 32 bit system.

Example:

# getconf KERNEL_BITS
32
# cc +DD64 -o test64 test64.c
# file test64
test64: ELF-64 executable object file - PA-RISC 2.0 (LP64)
# ./test64
sh: ./test64: Execute permission denied.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Raj Mithal_1
Advisor

Re: What permission do I change?

That is not the problem. It was working fine until a disk was replaced on the server and a frecover from the last backup was done to restore the directories. After this the 1st of this problem started occuring.
Mark Grant
Honored Contributor

Re: What permission do I change?

Is this a setuid binary on a filesystem that doesn't allow setuid?

I don't think this will be the problem but I would check the permissions on the parent directory.

Also, check your PATH to make sure you are running the binary you think you are.
Never preceed any demonstration with anything more predictive than "watch this"
Dietmar Konermann
Honored Contributor

Re: What permission do I change?

OK, then you indeed have to look at the permissions. Did you check if the user in question has search permission on all directories listed in the file's path?
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Raj Mithal_1
Advisor

Re: What permission do I change?

Permission & path were checked. Looks ok. All we want to do is compile a C pgm. Does anybody know where PRO*C lives and what it's called?
Dietmar Konermann
Honored Contributor

Re: What permission do I change?

You checked the path, but don't know where PRO*C lives? I'm confused now.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Raj Mithal_1
Advisor

Re: What permission do I change?

I refer to permissions on all the PATHS in the users profile.