cancel
Showing results for 
Search instead for 
Did you mean: 

Installing a new dialog instance on Linux

Former Member
0 Kudos

Hi to all!

I'am trying to install a new dialog instance on linux. I mounted /sapmnt/ from central instance to dialog instance via NFS and created the same SIDADM user with same uid and gid. I changed the permission to 777 and owner to SIDADM to the installation directory.

While installing a new instance I'v got an error:

What should I do ? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Reagan
Advisor
Advisor
0 Kudos

The problem is during the start of the dialog instance. Check the trace files located at /usr/sap/SID/D00/work to know more. Try starting the instance manually and if it fails then remove the stream files present in the /tmp file system and try again. Is the CI running on Linux as well?

Cheers

RB

Reagan
Advisor
Advisor
0 Kudos

Check if all the kernel files located at /usr/sap/EW2/D00/exe are having the right ownership and permissions. Also check the developer traces (dev_w0, dev_disp) in the work directory.

Former Member
0 Kudos

Hi Reagan ! I think instance can't start because I have an error:

M  ThCallHooks: hook >ThrRegisterSem< o.k.

M  calling db_connect ...

B  *** ERROR => Invalid profile parameter dbms/type (or environment variable dbms_type) = <undef>, cannot load DB library

[dbcon.c      5560]

M  ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) [thxxhead.c   1484]

M  in_ThErrHandle: 1

M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   11318]

M

M  Info for wp 0

Should I install oracle first ?

By the way, I run Additional Preparations Options > Users and Groups and it creates me an user oraSID and SIDadm, Under SIDadm I can't see any sap environment variables, but under oraSID I can see:

DB_SID=EW2

dbms_type=ORA

dbs_ora_tnsname=EW2

dbs_ora_schema=SAPSR3

ORACLE_SID=EW2

ORACLE_BASE=/oracle

ORACLE_HOME=/oracle/EW2/112_64

NLS_LANG=AMERICAN_AMERICA.UTF8

SAPDATA_HOME=/oracle/EW2

But I didn't install oracle in /oracle maybe I should do this ?

Reagan
Advisor
Advisor
0 Kudos

Hello Igor,

You are installing a Dialog instance (AAS) to an existing SAP system, right?

If yes are the CI (PAS) and DB running on the same host?

Check if the Oracle Instant Client is correctly set on the node where the DI is running.

The issue looks more likely due to wrong/incomplete environment settings of the <SID>adm user

Cheers

RB

Former Member
0 Kudos

No Reagan, I am trying to install additional dialog instance on other host to use load balancing in future. DB is running on central instance.

Former Member
0 Kudos

Hello Igor,

Please check whethet ORACE_CLIENT is set to the correct client i.e. 112_64 in the app server.

If not reset them in the env files in the home directory in sapenv.sh and dbenv.sh.

Please check the DBSL lib dboraslib.o,check the version if it is compatible with the you kernel.

Please paste log of R3trans -d

Thanks

Sabya

Reagan
Advisor
Advisor
0 Kudos

In that case you need to set up the Oracle Instant Client and adapt the environment variables of the <SID>adm user as suggested in this SAP note 819829 - Oracle Instant Client Installation and Configuration on Unix

former_member185239
Active Contributor
0 Kudos

Hi Igor,

Try to set up the environment variable dbms_type = ORA or add the parameter

dbms/type = ora in the instance profile.

Also run R3trans -d and send then send the output of trans.log

With Reagrds

Ashutosh Chaturvedi

Former Member
0 Kudos

/usr/sap/EW2/D02/exe/R3trans -d

Could not open the ICU common library.

   The following files must be in the path described by

   the environment variable "LD_LIBRARY_PATH":

   libicuuc.so.40, libicudata.so.40, libicui18n.so.40 [nlsui0.c 1544] pid = 8006

LD_LIBRARY_PATH is currently set to <not set>  [nlsui0.c 1547] pid = 8006

Reagan
Advisor
Advisor
0 Kudos

Copy the environment variable files of the ew2adm user from the CI node to the DI node and check whether the environment variables are correct.

Former Member
0 Kudos

It did't help too. I decided to reinstall the system and start from beginning. Will see..

Reagan
Advisor
Advisor
0 Kudos

I would fix the issue rather than doing a re-installation. I would verify the environment settings of the <SID>adm user and also manually copy the files from /sapmnt/SDI/exe to /usr/sap/SID/D00/exe location and troubleshoot from there.

Anyway good luck.

RB

Former Member
0 Kudos

Thanks to all! I found that sapinst doesn't create a new profile for that instance. It was created like  EW2_D00_ewm-d00.1.

I renamed it into  EW2_D00_ewm-d00 and all works fine!

Answers (2)

Answers (2)

divyanshu_srivastava3
Active Contributor
0 Kudos

Goto instance profile and set service/protectedwebmethods = NONE or Default and restart instance including sapstartsrv.

If that is not working then share logs.

If OS is AIX then mount /proc file system.

Regards,

Former Member
0 Kudos

Here is the log service/protectedwebmethods = NONE didn't help

The log in zip, renamed to txt

Sriram2009
Active Contributor
0 Kudos

Hi

Is this Kernel & DBSL patches are same in CI & DI? if it is not pls update and then check the DI

BR

Former Member
0 Kudos

Hi Sriram! Yes, it was not the same levels between CI and DI. I fixed it, but I have the same error.

Sriram2009
Active Contributor
0 Kudos

On your DI make the kernel & DBSL patch same as CI and then check the DI

former_member182657
Active Contributor
0 Kudos

Hi Igor,

Please share sapinst_dev.log from the /tmp/sapinst_instdir........... directory.

Regards,

Gaurav