Operating System - HP-UX
1819933 Members
3494 Online
109607 Solutions
New Discussion

got error of "Execute permission denied." during install DB2 on HPUX11.11

 
SOLVED
Go to solution
Hongtao Yang
Occasional Contributor

got error of "Execute permission denied." during install DB2 on HPUX11.11

DB2: UDB v8.2 for HP-UX 32bits (Images: C58S3ML.tar)
    v8.1 for HP-UX 11i (CD: C23LXJA)
OS: $ HP-UX hp01 B.11.11 U 9000/778 2008756127 unlimited-user license (32Bits)
HP 9000 Model B132L+
CPU 0
WARNING: Both STANDARD and EDO DRAMs are installed in this system.

Module Revision
Backplane Board 3
Processor Board 1
PA 7300-7300 CPU 4.0
Firmware 5.8
GRAPHICS(0) 8.07/9 2d08c0a7.09a02587
GSC to PCI Bridge 0x6803
Multifunction I/O Controller 0
GSC 33MHz

Problem Description : Got file error "Execute permission denied." during install IBM's DB2. The install broken.
# ./db2setup
./db2setup[20]: /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/install/../bin/d
b2langdir: Execute permission denied.
./db2setup[43]: /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/install/../bin/d
b2langdir: Execute permission denied.
./db2setup[8]: /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/install/../bin/di
sp_msg: Execute permission denied.

Environment: Checked environment info below.
$ pwd
/home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/bin
$ ls -l
total 384
-r-xr-xr-x 1 bin bin 28672 Aug 15 2004 db2gpinf
-r-xr-xr-x 1 bin bin 28672 Aug 15 2004 db2jdkp
-r-xr-xr-x 1 bin bin 28672 Aug 15 2004 db2langdir
-r-xr-xr-x 1 bin bin 28672 Aug 15 2004 db2usrinf
-r-xr-xr-x 1 bin bin 28672 Aug 15 2004 disp_msg
-r-xr-xr-x 1 bin bin 28672 Aug 15 2004 hostlookup

$ file *
db2gpinf: PA-RISC2.0 shared executable dynamically linked -not stripped
db2jdkp: PA-RISC2.0 shared executable dynamically linked -not stripped
db2langdir: PA-RISC2.0 shared executable dynamically linked -not stripped
db2usrinf: PA-RISC2.0 shared executable dynamically linked -not stripped
disp_msg: PA-RISC2.0 shared executable dynamically linked -not stripped
hostlookup: PA-RISC2.0 shared executable dynamically linked -not stripped

Installed Patchs:
GOLDBASE11i 2003
GOLDBASE11i Nov. 2005
PHSS_26560
PHKL_28489
PHCO_27434
PHCO_29960
12 REPLIES 12
Pete Randall
Outstanding Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

You have showed us that the execute bit is set on the files in /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/bin, but the error message is complaining about the files in /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/install/../bin.


Pete

Pete
Victor BERRIDGE
Honored Contributor
Solution

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hi,

You seem to have used the wrong installation software, I mean I dont believe your box to be a PA-RISC2.0 system... (or the install script is bugged since it is not looking for PA-RISC1.1...)


All the best
Victor
Hongtao Yang
Occasional Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hi,Victor
Yes. My bos is on PA-RISC 1.1 base. And DB2 v8 just support PA-RICS 2.x processor. May I have a way to run PA-RICS 2.x base program on PA-RISC 1.1 system?
rocessors: CPU Version: 1.1e PA7300
Clock Frequency: 132 MHz
Machine Identification: 2008756127
Hardware Model: 9000/778/B132L+
Kernel Width Support: 32

Any advice and help please
thanks
Steve Steel
Honored Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hi

ll -d /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/install/../bin/db2langdir
ll -d /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/install/../bin/disp_msg


What is given

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

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

It may be a problem with directory permission. Check this,

ls -ld /home/download/008_ESE_HP_3264_NLV/ese/db2/hpux/install/../bin

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hello,

Check your instllation dir's permission. Also, are you running from "root" or other normal user?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Hongtao Yang
Occasional Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hi, I think the problem is caused by program binary are PA-RISC 2.0, but my system is base on CPU type - PA-RICS 1.1. Is there any idear to run PA-RISC 2.0 base program on PA-RISC 1.1 system?

By the way.
Steve & Muthukumar Please read my first report, you will know the files and directry permission as below
$ file *
db2gpinf: PA-RISC2.0 shared executable dynamically linked -not stripped
db2jdkp: PA-RISC2.0 shared executable dynamically linked -not stripped
db2langdir: PA-RISC2.0 shared executable dynamically linked -not stripped
db2usrinf: PA-RISC2.0 shared executable dynamically linked -not stripped
disp_msg: PA-RISC2.0 shared executable dynamically linked -not stripped
hostlookup: PA-RISC2.0 shared executable dynamically linked -not stripped

Arunvijai, I run program - db2setup on root user.

Thanks
Arunvijai_4
Honored Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hello,

Can you run this program to find out your CPU type?

/* Routine that will determine the version of PA-RISC
* on which it runs, plus O/S Version and I/O type to
* decide if Server or Workstation class system.

* Calling sysconf with flag _SC_IO_TYPE now returns
* three possible values : IO_TYPE_WSIO, IO_TYPE_SIO
* and IO_TYPE_CDIO (Converged I/O), so that method
* of determining if server or workstation is no
* longer valid.

* To build:
* $ cc -o infomk2 infomk2.c
* To run:
* $ ./infomk2

* Author: Jon Dewis, CPFP April 1997.
* Amended May 1997.
*/

#include
#include
#include
#include

main()
{
struct utsname uts;

printf("\n\n");
switch ( sysconf(_SC_CPU_VERSION) )
{
case CPU_PA_RISC1_0:
printf("PA-RISC Version : 1.0\n");
break;
case CPU_PA_RISC1_1:
printf("PA-RISC Version : 1.1\n");
break;
case CPU_PA_RISC1_2:
printf("PA-RISC Version : 1.2\n");
break;
case CPU_PA_RISC2_0:
printf("PA-RISC Version : 2.0\n");
break;
default:
printf("Unknown Architecture\n");
break;
}
printf("\n");
if ( uname(&uts) == -1 )
printf("Error in uname call\n"), exit(1);

printf ("System name : %s\n", uts.sysname);
printf ("Node name : %s\n", uts.nodename);
printf ("Version : %s\n", uts.version);
printf ("Release : %s\n", uts.release);
printf ("Machine : %s\n", uts.machine);
printf ("Idnumber : %s\n", uts.idnumber);

if ( strstr(uts.machine,"/7") == (char *) NULL)
{
if (strstr(uts.machine, "/8") == (char *) NULL)
printf(
"Unknown Machine type: %s\n",
uts.machine);
else
printf("This is a Server\n");
}
else
printf("This is a Workstation\n");

}

# grep $(printf "0x%x" $(getconf _SC_CPU_VERSION)) /usr/include/sys/unistd.h

-Arun

P.S Remember to assign points.
"A ship in the harbor is safe, but that is not what ships are built for"
Hongtao Yang
Occasional Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hi, Arun got result below
# infomk2
PA-RISC Version : 1.1

System name : HP-UX
Node name : hp01
Version : U
Release : B.11.11
Machine : 9000/778
Idnumber : 2008756127
This is a Workstation

and
# grep $(printf "0x%x" $(getconf _SC_CPU_VERSION)) /usr/include/sys/unistd.h
# define CPU_PA_RISC1_1 0x210 /* HP PA-RISC1.1 */

Any help and advice please.
thanks
Arunvijai_4
Honored Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hello,

This is quite clear, You can't run PA-RISC 2.0 in your server. Try to get compatible version around.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Hongtao Yang
Occasional Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Thanks Arun
Clear all.
Closed
Arunvijai_4
Honored Contributor

Re: got error of "Execute permission denied." during install DB2 on HPUX11.11

Hello,

http://forums1.itrc.hp.com/service/forums/helptips.do?#28


-Arun
"A ship in the harbor is safe, but that is not what ships are built for"