OnDemand User Group

Support Forums => MP Server => Topic started by: jsquizz on March 19, 2021, 07:12:18 AM

Title: Issue configuring new environment
Post by: jsquizz on March 19, 2021, 07:12:18 AM
I'm working on a POC and for some reason I cant get the install to work. I've done plenty of these so I am scratching my head. I have a feeling its simple.

1) Instance is created as "db2inst1"-

Code: [Select]
[db2inst1@ondemand ~]$ db2ilist
db2inst1
[db2inst1@ondemand ~]$ groups
db2iadm1
[db2inst1@ondemand ~]$

2) "archive" user is part of db2iadm1, attempting to run arsdb -gcv -I archive

Code: [Select]
[archive@ondemand config]$ groups
db2iadm1
[archive@ondemand config]$ arsdb -I archive -gcv
ARS4014E Unable to load >DB2<

3) ars.cfg / ars.ini are both basically untouched

Code: [Select]
[archive@ondemand config]$ more ars.ini
[@SRV@_ARCHIVE]
HOST=
PROTOCOL=2
PORT=0
SRVR_INSTANCE=ARCHIVE
SRVR_INSTANCE_OWNER=archive
SRVR_OD_CFG=/opt/ibm/ondemand/V10.1/config/ars.cfg
SRVR_DB_CFG=/opt/ibm/ondemand/V10.1/config/ars.dbfs
SRVR_SM_CFG=/opt/ibm/ondemand/V10.1/config/ars.cache

Code: [Select]
ARS_ORIGINAL_CODEPAGE=0
DB2INSTANCE=db2inst1
ARS_DB2_DATABASE_PATH=/arsdb
ARS_DB2_PRIMARY_LOGPATH=/arsdb_primarylog
ARS_DB2_ARCHIVE_LOGPATH=/arsdb_archivelog
ARS_DB2_LOGFILE_SIZE=1000
ARS_DB2_LOG_NUMBER=40

I verified that all the directories are created, owned by archive:db2iadm1, set to 775

I think it's something with the archive profile, permissions or something like that. Usually I use all the default settings - archive instance/archive db.. But I want the default db2instance name of db2inst1 because I will be installing other products on here and I would like to keep things organized :) anyone have suggestions? I unfortunately don't have a dba to help me.


Title: Re: Issue configuring new environment
Post by: Ed_Arnold on March 19, 2021, 03:06:01 PM
No error message anywhere of any kind?

Ed
Title: Re: Issue configuring new environment
Post by: jsquizz on March 19, 2021, 03:29:58 PM
No error message anywhere of any kind?

Ed

Nope, Just-

Code: [Select]
[archive@ondemand config]$ arsdb -I archive -gcv
ARS4014E Unable to load >DB2<

I am used to just doing instance named archive and su - to that user and doing the configuration, I've never had any issues doing it that way using the default configs. I am wondering if I am missing a step after creating the instance and adding archive user to - db2iadm1
Title: Re: Issue configuring new environment
Post by: Ed_Arnold on March 20, 2021, 12:29:43 PM
Hmmm.  By any chance?

https://www.ibm.com/support/pages/node/518695 (https://www.ibm.com/support/pages/node/518695)

Ed
Title: Re: Issue configuring new environment
Post by: Justin Derrick on March 22, 2021, 08:17:22 AM
You didn't mention the platform...

If it's AIX, Ed's on the right track - check to make sure you have the XLC libraries.  See here:  https://cmod.wiki/index.php?title=ARS4014E

If it's Linux, check to make sure you have the DB2 links created with db2ln.

-JD.
Title: Re: Issue configuring new environment
Post by: jsquizz on March 22, 2021, 08:43:43 AM
You didn't mention the platform...

If it's AIX, Ed's on the right track - check to make sure you have the XLC libraries.  See here:  https://cmod.wiki/index.php?title=ARS4014E

If it's Linux, check to make sure you have the DB2 links created with db2ln.

-JD.

Whoops, yeah my bad, RHEL

Let me try db2ln. Thanks