Author Topic: OD TSM : ARS0020E SM Error: ANS1087E (RC106)  (Read 4716 times)

yousuf_gani

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
OD TSM : ARS0020E SM Error: ANS1087E (RC106)
« on: October 19, 2016, 09:16:31 AM »
Hi,
We are doing the migration from OD 8.* to 9.5.0.5 , We setup the OD and the updated the DB and it started properly when pointing to CAHCE

But when I am Trying to Start the OD instance with TSM (7.1.1), I am Getting the below Error From Trace log and System log

Trace Log Error
310674:140737344743200 10/19/2016 16:52:32:770072 ERROR arsodfdb.c(9742)ArcDB_ODFExists:Unable to exec direct sql db hstmt=16591360 db sql str=SELECT /*+ FIRST_ROWS(1) */ 1 FROM odappmgr.ARSDFDRT WHERE ROWNUM <= 1 db sql rc=-1,SQL_ERROR

310674:140737344743200 10/19/2016 16:52:33:61147 ERROR arssmsms.C(2259)ArcSMS_Startup:Server message msg timestamp=2016-10-19 16:52:33.040607 msg userid=ARSSOCKD msg severity=2 msg num=20 msg text=ARS0020E SM Error: ANS1087E (RC106)  Access to the specified file or directory is denied>servername<- msg appl=N msg logid=0

SYSTEMLOG Error
SM Error: ANS1087E (RC106)  Access to the specified file or directory is denied
, Return Code=106, Reason=0, File=arssmsms.cpp, Line=2259  Srvr->servername<-

I check all the Directories used by for TSM in the OD*.cfg file are accessible by my OD Instance Owner: odaapmgr, even the DSMLOG initially I set with /tmp, and then to specific directory with 775 permission with the ODownership of odappmgr, still not possible to get the OD connected with TSM.

Any help or recommendation please help to solve this problem.

Thanks
Mohd Yousuf gani



Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: OD TSM : ARS0020E SM Error: ANS1087E (RC106)
« Reply #1 on: October 20, 2016, 02:27:16 PM »
Check to make sure the process you're running is running under the correct UserID.  If you set it to be readadble by the OD user, then start the process as 'tsmadmin' (for example) it's going to complain.

Is TSM up and running?  Can you connect with the admin or backup/archive clients without issue?  Have you checked the configuration files specified in ars.cfg that start with 'DSM'?  Those directories and config files need to be readable by CMOD as well. 

-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

yousuf_gani

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: OD TSM : ARS0020E SM Error: ANS1087E (RC106)
« Reply #2 on: October 21, 2016, 01:31:06 AM »
Hi,
Thanks for your Reply
 I checked the below points mentioned by you

User
OD is started under the OD Instance Owner(odappmgr)
TSM Up and Running under the  TSM instance Owner (tsminst) , and we can able to connect TSM via dsmadmc Admin console client
OD User is part of the TSMINST user group Group.

Also Checked all the DSM file configured in OD*.cfg are readable by OD user and DSMLOG directory Even Writable by OD User.

DSMSERV_DIR=/opt/tivoli/tsm/server/bin
     drwxr-xr-x 7 odappmgr tsminst  bin/
DSMSERV_CONFIG=/opt/tivoli/tsm/server/bin/dsmserv.opt
     -rw-r--r-- 1 odappmgr tsminst     dsmserv.opt


DSM_DIR=/opt/tivoli/tsm/client/api/bin64
      drwxr-xr-x 3 odappmgr tsminst  bin64/
DSM_CONFIG=/opt/tivoli/tsm/client/api/bin64/dsm.opt
      -rw-r--r-- 1 odappmgr tsminst      dsm.opt
DSM_LOG=/sbcimp/dyn/data/RAR/OD_LON_PRD/temp
      drwxrwxr-x  2 odappmgr odftpusr   temp/
#
DSMG_DIR=/opt/tivoli/tsm/client/api/bin64
DSMG_CONFIG=/opt/tivoli/tsm/client/api/bin64/dsm.opt
DSMG_LOG=/sbcimp/dyn/data/RAR/OD_LON_PRD/temp

DSMI_DIR=/opt/tivoli/tsm/client/api/bin64
DSMI_CONFIG=/opt/tivoli/tsm/client/api/bini64/dsm.opt
DSMI_LOG=/sbcimp/dyn/data/RAR/OD_LON_PRD/temp



But still I am getting the same Permission denied error, is there any way I can check which directory or File the OD cant able to access and throws this permsison denied Error From the Trace log.
Please help
, thanks a lot for your support and help

Thanks & regards
Mohd Yousuf gani

Norbert Novotny

  • Jr. Member
  • **
  • Posts: 46
    • View Profile
Re: OD TSM : ARS0020E SM Error: ANS1087E (RC106)
« Reply #3 on: December 14, 2016, 02:37:38 AM »
Hi Yousuf,
Check if there is no dsmerror.log file somewhere in the path however with different ownership. This message happens when you have previously started dsmadmc as root and the trying to start the same with different account.
Advice: Scan fs for all dsmerror.log and  delete them.
Cheers,
 N.
Norbert Novotny
Legal archiving - Swisscom AG

Mobile:  +41-On-request

Dev: #SQL, #Perl, #Java, #C

Interests: #CMOD, #Multiplatforms, #DB2, #Oracle, #TSM, #ERM, #Performance

yousuf_gani

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
Re: OD TSM : ARS0020E SM Error: ANS1087E (RC106)
« Reply #4 on: December 14, 2016, 03:54:21 AM »
Hi Nobert

Welcome Back. Hope your Doing good. Thanks for your reply.
Yes as you said it was with Different Permission, because of the same reason you stated it was started before with ROOT then with the TSM Instance Users. Which caused the problem.

Just a Note Hope you know this: Now this Put Project On hold.
Wish you to come back again.

Thanks & regards
Mohd Yousuf gani