OnDemand User Group
Support Forums => MP Server => Topic started 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"-
[db2inst1@ondemand ~]$ db2ilist
db2inst1
[db2inst1@ondemand ~]$ groups
db2iadm1
[db2inst1@ondemand ~]$
2) "archive" user is part of db2iadm1, attempting to run arsdb -gcv -I archive
[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
[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
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.
-
No error message anywhere of any kind?
Ed
-
No error message anywhere of any kind?
Ed
Nope, Just-
[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
-
Hmmm. By any chance?
https://www.ibm.com/support/pages/node/518695 (https://www.ibm.com/support/pages/node/518695)
Ed
-
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.
-
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