原创:TSM for Domino onAix 报ACD5218E 错误分析

本文详细记录了解决Tivoli Storage Manager (TSM) for Domino备份过程中遇到的ACD5218E错误的过程。文章指出,使用Domino 8.5版本时,需要搭配TDP 5.5.3及TSMAPI 6.1以上的版本。此外,还强调了以正确的用户权限执行dominstall和domdsmc的重要性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

配置过程一切正常。最后测试连接时报ACD5218E 。
现象:
#oslevel -r
6100-01


#./domdsmc q adsm

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
Version 5, Release 5, Level 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

ACD5218E The Lotus Domino API could not be loaded. Could not load the libnotes_r.a
Warning! Error initializing the connection to the TDP library

Tivoli Storage Manager Server Connection Information
----------------------------------------------------

Nodename ............................... OAMAIL_DOMINO_CLIENT
NetWork Host Name of Server ............ 10.68.50.12
TSM API Version ........................ Version 6, Release 2, Level 1.0

Server Name ............................ TSM_SERVER
Server Type ............................ AIX-RS/6000
Server Version ......................... Version 5, Release 5, Level 0.0
Compression Mode ....................... Client Determined
Domain Name ............................ LOTUS_DOMAIN
Active Policy Set ...................... STANDARD
Default Management Class ............... STANDARD


Illegal instruction (core dumped)
#./domdsmc q domino

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
Version 5, Release 5, Level 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

ACD5218E The Lotus Domino API could not be loaded. Could not load the libnotes_r.a
Warning! Error initializing the connection to the TDP library

Could not connect to the Domino server
Illegal instruction (core dumped)


Lotus Domino (r) Server (64 Bit), Release 8.5.1FP4, July 25, 2010
Copyright (c) IBM Corporation 1987, 2009. All Rights Reserved.


软件版本:
AIX :6.1.0 64bit
Domino:8.5.1 FP4 64bit
TSM API: 6.2.1 64bit
TDP domino:5.5.3.0 64bit
官方解释:
http://publib.boulder.ibm.com/ti ... HTML/anrcms4132.htm
ACD5218E 无法装入 Lotus Domino API。无法装入 nnotes.dll  
说明: 无法装入 Lotus Domino Api,nnotes.dll。 
系统操作: 处理结束。 
用户响应: 确保“Lotus Domino 服务器”已正确安装。 


服务器正常,在配置完后,重启过服务试过,不行!郁闷中,
看来太新的版本不行啊。
最初安装的是TSM api 5.5.0和TDP domino 5.5.1。后来发现不支持新版的domino 8.5
把TSM api6.2.1+TDP domino 5.5.3 还是报些问题。


http://www-01.ibm.com/support/do ... on%20for%20Domino_2
版本依赖关系
64-bit Data Protection for Domino V5.5.3 on AIX

64-bit Data Protection for Domino on AIX requires the following hardware and software:

Hardware:

•IBM System p 
•IBM System i 
•Compatible hardware supported by the operating system and the application 
•At least 8 MB of disk space and 128 MB of RAM 


Software:

•64-bit AIX 5.3 or 64-bit AIX 6.1 with any of the following Lotus Domino releases: 
o 64-bit Lotus Domino 8.0.2, or later levels of 8.0.x,
o 64-bit Lotus Domino 8.5.x
•Any Tivoli Storage Manager Server version still in support 
•A Tivoli Storage Manager API V6.1, or later

In order to use the Web Client GUI or Central Scheduling, the following software is required: 
•A Tivoli Storage Manager Backup-Archive Client V6.1, or later
经800兄弟提醒。要以notes用户执行。
再配置后通过。
1、配置:
以notes用户登录
su  - root  切换到root用户         (没搞懂为什么要这么做,我之前是直接用root登录做的dominstall和domdsmc)

$ su - root
root 的密码:
[root@oamaila:/]cd /usr/tivoli/tsm/client/domino/bin64/
[root@oamaila:/usr/tivoli/tsm/client/domino/bin64]ls
Domdsmfiles.txt  domdb2db.smp     domina.smp       domswitch        en_US
core             domdb2grp.smp    dominc.smp       dsm.opt          inclexcl.smp
domarc.smp       domdsm.smp       dominstall       dsm.opt.smp      libTdpDOM64.a
domclient.lic    domdsmc          domsel.smp       dsmdomp          zh_CN
[root@oamaila:/usr/tivoli/tsm/client/domino/bin64]./dominstall

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
版本 5,发行版 5,级别 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

使用安装在 /usr/tivoli/tsm/client/domino/bin64 中的 Data Protection for Lotus Domino 客户机 和 domdsmc。
以上是否正确?
(是(Y)/否(N))y
无法定位 Domino。
请指定安装了 libnotes_r.a 的目录。
缺省是 /opt/ibm/lotus/notes/latest/ibmpow。
/opt/lotus/notes/latest/ibmpow
使用安装在 /data/notesdata 中的 Domino 文件 和 notes.ini。
以上是否正确?
(是(Y)/否(N))y
使用安装在 /usr/lib 中的 Tivoli Storage Manager Api 和 libApiTSM64.a。
以上是否正确?
(是(Y)/否(N))y
正在设置 notes 为 Data Protection for Domino 可执行文件的所有者。
你要继续进行 Tivoli Storage Manager Web 客户机配置吗?
(是(Y)/否(N))y
使用安装在 /usr/tivoli/tsm/client/ba/bin 中的 Tivoli Storage Manager 客户机系统选项文件 和 dsm.sys。
以上是否正确?
(是(Y)/否(N))y
0   cyxx_file
1   cyxx_domino
选择由 Tivoli Storage Manager Web 客户机使用的服务器项。
0
所选的项如下。

SERVERNAME         cyxx_file
COMMMETHOD         TCPip
TCPPORT            1500
TCPSERVERADDRESS   10.68.50.12
NODENAME           oamail_file_client
TCPCLIENTADDRESS   10.68.35.5
TCPCLIENTPORT      1501
PASSWORDACCESS     generate
MANAGEDSERVICES    webclient schedule
SCHEDMODE          prompted


以上是否正确?
(是(Y)/否(N))y
ACD6008I 指向 /usr/tivoli/tsm/client/domino/bin64/domdsmc 的符号链接 /opt/lotus/notes/latest/ibmpow/domdsmc 已经存在。
ACD6008I 指向 /usr/tivoli/tsm/client/domino/bin64/dsmdomp 的符号链接 /opt/lotus/notes/latest/ibmpow/dsmdomp 已经存在。
ACD6008I 指向 tools/startup 的符号链接 /opt/lotus/bin/domdsmc 已经存在。
ACD6008I 指向 tools/startup 的符号链接 /opt/lotus/bin/dsmdomp 已经存在。
是否已启用 Domino 服务器 DB2?
(是(Y)/否(N))n
正在目录 /usr/tivoli/tsm/client/domino/bin64 中安装notes.profile概要文件。
以上是否正确?
(是(Y)/否(N))y
ACD6008I 指向 /usr/tivoli/tsm/client/domino/bin64/domdsmc_notes/domdsmc 的符号链接 /opt/lotus/notes/latest/ibmpow/domdsmc_notes 已经存在。
ACD6008I 指向 tools/startup 的符号链接 /opt/lotus/bin/domdsmc_notes 已经存在。

****************************************************************** 
*   对 dsm.sys 文件 /usr/tivoli/tsm/client/ba/bin/dsm.sys 进行建议的更改。 

*   注册到 Tivoli Storage Management 服务器的节点 notes。 

*   然后发出以下命令来完成此 Domino 服务器 

  domdsmc query adsm -configfile=/usr/tivoli/tsm/client/domino/bin64/domdsmc_notes/domdsm.cfg  -adsmpwd= 的设置 

******************************************************************
请以下一个 notesdata 分区或空行(Enter 键)回答。

Data Protection for Domino 安装进程已成功完成。


验证结果:



AIX Version 6
Copyright IBM Corporation, 1982, 2008.
login: notes
notes's Password:
*******************************************************************************
*                                                                             *
*                                                                             *
*  Welcome to AIX Version 6.1!                                                *
*                                                                             *
*                                                                             *
*  Please see the README file in /usr/lpp/bos for information pertinent to    *
*  this release of the AIX Operating System.                                  *
*                                                                             *
*                                                                             *
*******************************************************************************
Last unsuccessful login: 公元2010年09月09日  星期四  16时37分23秒 on /dev/pts/1 from 10.68.19.181
Last login: 公元2010年09月10日  星期五  16时01分42秒 on /dev/pts/0 from 10.68.19.181

$ domdsmc q adsm

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
版本 5,发行版 5,级别 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

Tivoli Storage Manager服务器连接信息
----------------------------------------------------

节点名 ......................... OAMAIL_DOMINO_CLIENT
服务器的网络主机名  ............ 10.68.50.12
TSM API 版本.................... V6,R2,L1.0

服务器名称 ..................... TSM_SERVER
服务器类型 ..................... AIX-RS/6000
服务器版本 ..................... V5,R5,L0.0
压缩方式 ....................... 客户决定的
域名 ........................... LOTUS_DOMAIN
活动策略集 ..................... STANDARD
缺省管理类 ..................... STANDARD


domdsmc[1154]: 393324 非法指令(coredump)
$ domdsmc q domino

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
版本 5,发行版 5,级别 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

Domino 服务器信息
-------------------------

  Domino 服务器名称:oamail
  Domino 服务器级别:8.5.1.4
  Domino 服务器构建:368
  正在记录:         无记录


domdsmc[1154]: 393372 非法指令(coredump)  (看不懂通过了还显示非法指令)
测试备份通过。

$ domdsmc sel "mail/admin.nsf"

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
版本 5,发行版 5,级别 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

正在开始 Domino 数据库备份…
正在初始化 Domino 连接…
正在查询 Domino 上的数据库列表,请等待…

正在备份数据库 mail/admin.nsf - 1/1。
全部:0   已读:29,097,984  已写:29,097,984  速率:4,692.98 Kb/秒     
mail/admin.nsf 的备份已成功完成。


检查的 Domino 数据库总数:         1
备份的 Domino 数据库总数:         1
排除的 Domino 数据库总数:         0

吞吐量速率:                       4,683.70 Kb/秒
转移的总字节:                     29,097,984
经过的处理时间:                   6.07 秒

总结:
一、     8.5版本的domino要用TDP5.5.3。和TSM API 6.1以上。
二、配置TDP Domino要以notes用户登录su到root用户后执行dominstall
三、要以notes身份执行domdsmc 而且是通过path找以/opt/lotus/bin/domdsmc



后来再配置另一台机器时也出现同样的错误,原来是path没设置好。
使用的domdsmc不正确,
我们再看三个不同时目录的domdsmc测试。
$ /opt/lotus/notes/latest/ibmpow/domdsmc q domino

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
版本 5,发行版 5,级别 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

ACD5218E The Lotus Domino API could not be loaded. Could not load the libnotes_r.a
 Warning! Error initializing the connection to the TDP library

Could not connect to the Domino server
$ /usr/tivoli/tsm/client/domino/bin64/domdsmc q domino

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
版本 5,发行版 5,级别 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

ACD5218E The Lotus Domino API could not be loaded. Could not load the libnotes_r.a
 Warning! Error initializing the connection to the TDP library

Could not connect to the Domino server
$ /opt/lotus/bin/domdsmc q domino

IBM Tivoli Storage Manager for Mail:
Data Protection for Lotus Domino
版本 5,发行版 5,级别 3.0
(C) Copyright IBM Corporation 1999, 2010. All rights reserved.

Domino 服务器信息
-------------------------

  Domino 服务器名称:oamail
  Domino 服务器级别:8.5.1.4
  Domino 服务器构建:368
  正在记录:         无记录
  
看看这三个domdsmc有什么不同
[root@oamailb:/]ls -al   /opt/lotus/notes/latest/ibmpow/domdsmc
lrwxrwxrwx    1 root     system           43  9月27 11时56 /opt/lotus/notes/latest/ibmpow/domdsmc -> /usr/tivoli/tsm/client/domino/bin64/domdsmc
[root@oamailb:/]ls -al /usr/tivoli/tsm/client/domino/bin64/domdsmc
-rwxr-xr-x    1 bin      bin          824091  3月12 2010   /usr/tivoli/tsm/client/domino/bin64/domdsmc
[root@oamailb:/]ls -al /opt/lotus/bin/domdsmc
lrwxrwxrwx    1 root     system           13  9月27 11时56 /opt/lotus/bin/domdsmc -> tools/startup
[root@oamailb:/]ls -al /opt/lotus/bin/tools/startup
lrwxrwxrwx    1 root     system           38  9月02 11时13 /opt/lotus/bin/tools/startup -> /opt/lotus/notes/latest/ibmpow/startup
[root@oamailb:/]ls -al /opt/lotus/notes/latest/ibmpow/startup
-rwxr-xr-x    1 root     system        34749  5月19 2009   /opt/lotus/notes/latest/ibmpow/startup





来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11134849/viewspace-675087/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11134849/viewspace-675087/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值