Operating System - HP-UX
1832602 Members
2239 Online
110043 Solutions
New Discussion

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

 
Engo Armand-Blaise
Frequent Advisor

aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

Hi there,

would you please tell me why the aCC command does not work. I'mn running HP-UX B.11.00 32 bit and this is what I've ran :

cyb_hpux[ /cyborg/global/g500i/prog ] $ aCC -V
aCC: HP ANSI C++ B3910B A.03.37
cyb_hpux[ /cyborg/global/g500i/prog ] $ aCC cybstdio.c
sh: /opt/aCC/lbin/ctcom: Execute permission denied.
=============================================

The permission is denied. I checked the all paths, they are fine. So in other term, is there any Patch level that we can use for HP aC++ B.11.01.20 (What we have is HP aC++ B.11.01.06)

Top (Bundles and Products) 0 of 21 selected??
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
?? Name Revision Information ??
???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ??
???? ACXX -> B.11.01.06 HP aC++ ^ ??
???? B3913DB -> C.03.37 HP aC++ Compiler (S800) ??
???? B5456CA -> C.01.18.04 HP-UX Development Kit for Java* ??
???? B5725AA -> B.3.4.115 HP-UX Installation Utilities (Ignit ??
???? B6192AA -> B.11.00.10 DCE/9000 Programming & Administrati ?? ??
???? B9788AA -> 1.3.0.01.02 Java 2 SDK 1.3 for HP-UX (700/800), ?? ??
???? B9789AA -> 1.3.0.01.02 Java 2 RTE 1.3 for HP-UX (700/800), ?? ??
???? BLINKLINK -> B.11.00 Blink Link (HP Incremental Linking ?? ??
???? HPPAK -> B.11.00 HP Programmer's Analysis Kit ?? ??
???? HPUXEng32RT -> B.11.00.01 English HP-UX 32-bit Runtime Enviro ?? ??
???? Ignite-UX-11-00 -> B.3.4.115 HP-UX Installation Utilities for In v ??


Best regards,
Engo.
10 REPLIES 10
T G Manikandan
Honored Contributor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

check the permission of ctcom

/opt/aCC/lbin/ctcom
It should be r-xr-xr-x

Thanks
Engo Armand-Blaise
Frequent Advisor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

The permissions are fine.
cyb_hpux[ /cyborg/global/g500i/prog ] $ l -ltr /opt/aCC/lbin/ctcom
-r-xr-xr-x 1 bin bin 5963776 Jun 14 2002 /opt/aCC/lbin/ctcom

I think it wil be to upload a Patch PHSS_26952 isn't it?

Best regards,

Engo.
T G Manikandan
Honored Contributor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

What is the machine model?
Are you running HPUX11.0 32 bit on a S700 series machine.

If that is the case then you need to install the aCC bundle for S700 instead of S800 series.

Thanks
Engo Armand-Blaise
Frequent Advisor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

No, I'm running S800:
cyb_hpux [ /tmp/patch_26952 ] # uname -a
HP-UX cyb_hpux B.11.00 U 9000/800 2003450160 unlimited-user license

I think I need the latest vesion of Patch .. I don't know exactly but It may be :
ACXX B.11.01.20 HP aC++.

Where can I find it?

Engo.
Steve Steel
Honored Contributor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

Hi

what does

chatr /opt/aCC/lbin/ctcom


give


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
T G Manikandan
Honored Contributor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

you can get them from

itrc.hp.com--->individual patches

check for
s700_800 11.X HP aC++ -AA runtime libraries (aCC A.03.37) PHSS_26945
Engo Armand-Blaise
Frequent Advisor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

Result of the command "chatr"

cyb_hpux[ /cyborg/global/g500i/prog ] $ chatr /opt/aCC/lbin/ctcom
/opt/aCC/lbin/ctcom:
shared executable
shared library dynamic path search:
SHLIB_PATH disabled second
embedded path disabled first Not Defined
shared library list:
dynamic /usr/lib/libm.2
dynamic /usr/lib/libcl.2
dynamic /usr/lib/libc.2
static /usr/lib/libdld.2
shared library binding:
deferred
global hash table disabled
plabel caching disabled
global hash array size:1103
global hash array nbuckets:3
shared vtable support disabled
static branch prediction disabled
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation disabled
text segment locking disabled
data segment locking disabled
third quadrant private data space disabled
fourth quadrant private data space disabled
data page size: 1M
instruction page size: 1M
=============================================

SHLIB_PATH is disable.... Should it be "enable"?

Steve Steel
Honored Contributor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

Hi

chatr is ok as is since it agrees with mine.

http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1743,00.html

shows a full list of the patches you need to go to 03.39


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Engo Armand-Blaise
Frequent Advisor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

Thank you for your documentation :

Actually, I'm confused. How can I know that a compiler version is the best one. It seems from my swlist result, there is a conflict with HP aC++ compiler version and other patches already installed.

cyb_hpux [ /tmp/patch_27942 ] # ll
total 102324
-rwxr-xr-x 1 root sys 22675064 Mar 13 16:48 PHSS_27942
-rwxr-xr-x 1 root sys 29696000 Oct 1 08:24 PHSS_27942.depot
-rwxr-xr-x 1 root sys 13088 Oct 3 06:53 PHSS_27942.text
-rwxr-xr-x 1 root sys 4573 Mar 13 16:49 create_depot_hp-ux_11

I would like to install the latest version of the Compiler A.03.39 (Patch PHSS_27942" and I have this error :
* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
ERROR: "cyb_hpux:/": The software dependencies for 1 products or
filesets cannot be resolved.
* "cyb_hpux:/": 1 filesets were determined to be skipped in the
analysis phase.
* The analysis phase failed for "cyb_hpux:/".
* Analysis had errors.


NOTE: More information may be found in the agent logfile (location
is cyb_hpux:/var/adm/sw/swagent.log).

======= 03/14/03 16:27:18 SAST END swinstall SESSION
(non-interactive)

the log file /var/adm/sw/swagent.log :

ERROR: The patch fileset "PHSS_27942.ACXX,r=1.0" may only be
installed upon a previously installed base fileset. The
specification for this base fileset is
"ACXX.ACXX,l=/opt/aCC,r=C.03.37". Since fileset
"ACXX.ACXX,l=/opt/aCC,r=C.03.37" is not an "installed" or
"configured" state fileset, "PHSS_27942.ACXX,r=1.0" will be
excluded.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/opt" is estimated to
remain unchanged.
This will leave 996648 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "//var" is estimated to
increase by 53 Kbytes.
This will leave 1173638 Kbytes of available user disk space
after the installation.
NOTE: The patch fileset "PHSS_27942.ACXX-STDLIB,r=1.0" is being
excluded because other filesets in the patch were excluded.

George Neill
Trusted Contributor

Re: aCC command unsucdessful -> sh: /opt/aCC/lbin/ctcom: Execute permission denied.

The patch for aCC 3.37 that I find is PHSS_26945. The patch you tried to apply was for a later version.