ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 利用jnbSA启动netbackup图形界面报错无法登陆

利用jnbSA启动netbackup图形界面报错无法登陆

原创 Linux操作系统 作者:yangtingkun 时间:2007-10-30 00:00:00 0 删除 编辑

在操作系统一次启动后,发现无法通过jnbSA启动NETBACKUP的图形界面了,报错信息为:

Unable to login, status: 525

Can not connect to the NB-Java authentication service via VNETD on backup on port 13724.

Check the log file for more details.


这个时候使用RMAN进行备份会报错,错误信息为:

$ rman target /

恢复管理器: Release 10.2.0.3.0 - Production on 星期四 8 30 23:12:43 2007

Copyright (c) 1982, 2005, Oracle. All rights reserved.

连接到目标数据库: TESTRAC (DBID=4291216984)

RMAN> run
2> {
3> allocate channel c1 device type sbt;
4> backup tablespace users;
5> }

使用目标数据库控制文件替代恢复目录分配的通道: c1通道 c1: sid=287 实例=testrac2 devtype=SBT_TAPE通道c1: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)

启动 backup 30-8 -07通道 c1: 启动全部数据文件备份集通道 c1: 正在指定备份集中的数据文件输入数据文件 fno=00005 name=+DISK/testrac/datafile/users.267.618591279通道 c1: 正在启动段 1 30-8 -07释放的通道: c1
MAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: backup
命令 (c1 通道上, 08/30/2007 23:28:38 ) 失败

ORA-19506:
无法创建顺序文件, 名称 = "uriqngcj_1_1", 参数 = ""
ORA-27028: skgfqcre: sbtbackup
返回错误

ORA-19511:
从介质管理器层接收到错误, 错误文本为:
VxBSAValidateFeatureId: Failed with error:
Server Status: cannot connect on socket

在网上搜索了半天也没有找到确切的答案,尝试重启NETBACKUP的服务:

发现服务重启后错误依旧。

仔细检查错误日志:

# more /usr/openv/netbackup/logs/user_ops/nbjlogs/jbp.root.jnbSA.12820.log

DISPLAY environment variable is set to: 172.25.6.201:1.0
Console was started on:
SunOS racnode2 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-480R

Command line options were:
/usr/openv/netbackup/bin/jnbSA

Starting administration console version 6.0.

LANG=iso_8859_1
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=iso_8859_1

java version "1.4.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_04-b04)
Java HotSpot(TM) Client VM (build 1.4.0_04-b04, mixed mode)

ServerInterface:Logon: java.net.ConnectException: Connection timed out
ServerInterface:Logon - Initial host:null, Current host:backup, Firewall Env:tru
e, MS port:13722, VNETD:13724, m_intPort:0, localPort:0, range use:false
Can not connect to the NB-Java authentication service via VNETD on backup on por
t 13724. Exception:
java.net.ConnectException: Connection timed out

发现netbackup寻找的主机名为backup,而当前的主机名为testrac2

# hostname
racnode2

检查/etc/hosts

# more /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
172.25.198.223 racnode2 loghost
172.25.198.222 racnode1 loghost
172.25.198.224 racnode1-vip
10.0.0.1 racnode1-priv
172.25.198.225 racnode2-vip
10.0.0.2 racnode2-priv
172.25.198.250 backup
172.25.198.226 racnode3

原来,在安装NETBACKUP的时候,为主机又绑定了一个IP172.25.198.250,而这个虚拟IP没有在启动后自动加载,从而造成了上面的问题。

下面为网卡绑定这个IP地址:

bash-2.03# ifconfig ce0:2 plumb
bash-2.03# ifconfig ce0:2 172.25.198.250 netmask 255.255.0.0 broadcast 172.25.255.255 up
bash-2.03# netbackup stop
stopping the NetBackup Service Monitor
stopping the NetBackup Service Layer
stopping nbproxy...
stopping the NetBackup compatibility daemon
stopping the Media Manager device daemon
stopping the Media Manager volume daemon
stopping the NetBackup Notification Service
bash-2.03# netbackup start
NetBackup Database Server started.
NetBackup Notification Service started.
NetBackup Enterprise Media Manager started.
NetBackup Resource Broker started.
NetBackup request daemon started.
NetBackup compatibility daemon started.
NetBackup Job Manager started.
NetBackup Policy Execution Manager started.
NetBackup Service Layer started.
NetBackup is not configured for clustering.
NetBackup Service Monitor started.
bash-2.03# su - oracle
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
$ rman target /

恢复管理器: Release 10.2.0.3.0 - Production on 星期四 8 30 23:51:08 2007

Copyright (c) 1982, 2005, Oracle. All rights reserved.

连接到目标数据库: TESTRAC (DBID=4291216984)

RMAN> run
2> {
3> allocate channel c1 device type sbt;
4> backup tablespace users;
5> }

使用目标数据库控制文件替代恢复目录分配的通道: c1通道 c1: sid=285 实例=testrac2 devtype=SBT_TAPE通道c1: VERITAS NetBackup for Oracle - Release 6.0 (2006110304)

启动 backup 30-8 -07通道 c1: 启动全部数据文件备份集通道 c1: 正在指定备份集中的数据文件输入数据文件 fno=00005 name=+DISK/testrac/datafile/users.267.618591279通道 c1: 正在启动段 1 30-8 -07通道 c1: 已完成段 1 30-8 -07段句柄=uuiqnika_1_1 标记=TAG20070830T235138 注释=API Version 2.0,MMS Version 5.0.0.0通道 c1: 备份集已完成, 经过时间:00:00:55完成 backup 30-8 -07

启动 Control File and SPFILE Autobackup 30-8 -07 handle=c_c-4291216984-20070830-00 comment=API Version 2.0,MMS Version 5.0.0.0完成 Control File and SPFILE Autobackup 30-8 -07释放的通道: c1

添加IP地址后,重现启动NETBACKUPjnbSA启动正常,带库备份也恢复正常。

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

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2007-12-29

  • 博文量
    1955
  • 访问量
    10486571