Author Topic: Issue configuring new environment  (Read 1728 times)

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Issue configuring new environment
« 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.


#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: Issue configuring new environment
« Reply #1 on: March 19, 2021, 03:06:01 PM »
No error message anywhere of any kind?

Ed
#zOS #ODF

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Re: Issue configuring new environment
« Reply #2 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
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1199
    • View Profile
Re: Issue configuring new environment
« Reply #3 on: March 20, 2021, 12:29:43 PM »
#zOS #ODF

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2228
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Issue configuring new environment
« Reply #4 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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
Re: Issue configuring new environment
« Reply #5 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
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING