cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to start sapinst on Linux for system z (access denied)

Former Member
0 Kudos

Hi all, I posted this question in some other place, then found this Linux forum I hope I can get help.

I am trying to install SAP on Linux for System z. I read all pre-reqs, and I believe I have the correct OS and java levels according to SAP Notes. Here is what I did so far:

Downloaded the "Installation master" to my laptop and then FTPed to the Linux System (on System z).

Unzipped the "installation master" using Linux UNZIP. I think it worked and it actually created a bunch of subdirectories.

I created 2 groups (sapinst, and sapsys) using defaults (nothing special?) and made root member of these 2 groups

From root: did ./sapinst. It failed with a message like this:

sapinst: Access denied.

Any help on what I could be missing will be highly appreciated. Thanks

-- Ashraf Kamel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Please look at the permission of this file and try to grant the access:

chmod 777./sapinst

Hope it can help..

Olivier

Answers (1)

Answers (1)

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Ashraf,

Additionally, please take into account, that you should never start sapinst from the installation directory itself by calling ./sapinst. Please do it the following way:

mkdir -p /tmp/install
cd /tmp/install
/path/to/IM/sapinst

Thanks,

Hannes Kuehnemund

SAP LinuxLab

Message was edited by:

Hannes Kuehnemund

Former Member
0 Kudos

Hannes, thanks for the help. Here is the output from "ldd sapinst"

ldd sapinst

libdl.so.2 => /lib64/libdl.so.2 (0x0000020000032000)

librt.so.1 => /lib64/tls/librt.so.1 (0x0000020000037000)

libstdc+.so.5 => /usr/lib64/libstdc+.so.5 (0x0000020000042000)

libm.so.6 => /lib64/tls/libm.so.6 (0x0000020000140000)

libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000200001b2000)

libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00000200001c0000)

libc.so.6 => /lib64/tls/libc.so.6 (0x00000200001d7000)

/lib/ld64.so.1 => /lib/ld64.so.1 (0x0000020000000000)

and here is the output from "file sapinst"

file sapinst

sapinst: ELF 64-bit MSB executable, IBM S/390, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), not stripped

Please keep in mind that I did a "chmod 777 sapinst" bease on an earlier suggestion in this forum and that made the sapinst to work fine.

Please let me know if you see any potential problems with the above. Thanks

-- Ashraf Kamel

hannes_kuehnemund
Active Contributor
0 Kudos

Dear Ashraf ,

everything looks fine. Please keep in mind, that you should not start sapinst directly from its location, but remotely from a temporary installation directory, e.g. /tmp/install

Thanks

Hannes