错误一:
[root@vi /]# /mnt/cdrom/install
VERITAS Installation Script
Copyright 1993 – 2005 VERITAS Software Corporation, All Rights Reserved.
Installing NetBackup Server Software
NOTE: To install only NetBackup Client software locally on this machine
or to load additional UNIX client software on this server, insert
the NetBackup UNIX Clients cdrom.
Do you wish to continue? [y,n] (y) y
The NetBackup and Media Manager software is built for use on LINUX hardware.
Do you want to install NetBackup and Media Manager files? [y,n] (y)
NetBackup and Media Manager are normally installed in /usr/openv.
The existing /usr/openv directory will be used for NetBackup and Media Manager.
Reading NetBackup files from /mnt/cdrom/linux/anb
gunzip: /mnt/cdrom/linux/anb/NetBackup.Z: No such file or directory
no data in archive
/mnt/cdrom/linux/catalog/anb/NB.file_trans failed. Aborting …
File /usr/openv/tmp/install_trace.1984 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
经测试,方法如下:
从光盘拷贝rebuild.bat、gzip.exe、Linux目录到硬盘上,最好放在根目录(目录结构保持不便)
cmd模式执行rebuild.bat 重新打包文件后替换源光盘里的Linux目录即可。
错误二:
The following package(s) are missing and must be
installed before NetBackup can be installed:
VRTSpbx
The missing package(s) are located on the VERITAS
Infrastructure Core Services (ICS) cdrom which is
included in the NetBackup media kit. From a different
window, unmount/eject the NetBackup cdrom and insert/mount
the ICS cdrom. When the ICS cdrom has been properly
mounted, files are visible and you are ready to
proceed, enter the path name to the directory where the
installics script is located followed by a <CR> to continue.
This script will then install the missing package(s).
OR
Enter q to stop this install and abort.
解决方法如下,安装光盘里ICS目录下的rpm即可.
[root@vi ics]# rpm -ivh VRTSicsco-1.2.3.18-18.i386.rpm
Preparing… ########################################### [100%]
1:VRTSicsco ########################################### [100%]
[root@dms ics]# rpm -ivh VRTSpbx-1.2.2.41-1.i386.rpm
Preparing… ########################################### [100%]
1:VRTSpbx ########################################### [100%]
错误三:
[root@vi ~]# /etc/rc.d/init.d/netbackup start
tail: cannot open `+2′ for reading: No such file or directory
tail: cannot open `+2′ for reading: No such file or directory
tail: cannot open `+2′ for reading: No such file or directory
tail: cannot open `+2′ for reading: No such file or directory
tail: cannot open `+2′ for reading: No such file or directory
tail: cannot open `+2′ for reading: No such file or directory
tail: cannot open `+2′ for reading: No such file or directory
NetBackup Database Server started.
NetBackup Notification Service started.
NetBackup Enterprise Media Manager started.
NetBackup Resource Broker started.
tail: cannot open `+2′ for reading: No such file or directory
Rebuilding device nodes.
Media Manager daemons 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.
解决:
增加cat /root/.bash_profile
export _POSIX2_VERSION=199209
错误四:
Error: failed /usr/openv/java/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
When doing a Add/Remove software search this is what is installed:
libstdc++-4.1.2-42.el5.i386 - GNU Standard C++ Library
compat-libstdc++-33 - 3.2.3-61.i386 - Compatibility standard C++ libraries
compat-libstdc++-296 - 2.96-l38.i386
解决:
cp /usr/lib/libstdc++-libc6.2-2.so.3 /usr/lib/libstdc++-libc6.1-1.so.2
错误五:
java.lang.UnsatisfiedLinkError: /usr/openv/java/jre/lib/i386/libawt.so: libXp.so.6: ??¨?ò????????ó???: ??????????ò??
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1396)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1397)
at java.awt.Toolkit.<clinit>(Toolkit.java:1418)
at java.awt.Color.<clinit>(Color.java:250)
at vrts.common.utilities.SwingUI.<clinit>(SwingUI.java:26)
at vrts.common.utilities.CommonUIFactory.setUIDefaults(CommonUIFactory.java:61)
at vrts.nbe.JavaPresentationLayer.<init>(JavaPresentationLayer.java:40)
at vrts.nbe.AdminConsole.<init>(AdminConsole.java:27)
at vrts.nbe.AdminConsole.main(AdminConsole.java:40)
解决:
安装
um install xorg-x11-deprecated-libs
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
rhel-Cluster | 1.3 kB 00:00
rhel-ClusterStorage | 1.3 kB 00:00
rhel-rpms | 1.3 kB 00:00
rhel-VT | 1.3 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
libXp i386 1.0.0-8.1.el5 rhel-rpms 22 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 22 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXp [1/1]
Installed: libXp.i386 0:1.0.0-8.1.el5
Complete!
错误六:
其他工作可以正常进行备份,但是打开各个菜单时响应特别慢,查看Media pool时报无法连接Media server错,代码195,无法看到任何一盒磁带。
用service netbackup stop/start 重启netbackup服务,问题依旧。
再次停止netbackup服务,用ps auxf查看,发现有一个进行没有终止:/usr/openv/netbackup/bin/nbsl
解决:
在Symentec建议下用 /usr/openv/netbackup/bin/bp.kill_all 去杀进程失败,于是用kill -9 PID 将其杀掉。再次用
service netbackup start 启动服务,一切正常,可以浏览Media pool。
原因:
/usr/openv/netbackup/bin/nbsl 是netbackup的一个进程间通信服务进程,该进程僵死后导致进程间通信不畅,故出现响应慢、无法连接等问题
错误七:
"A connection to <master server> could not be established. Verify
services or daemons are up and running."
解决:
Update file /usr/openv/java/nbj.conf (Settings we used below)
Entries to change
INITIAL_MEMORY=256M
MAX_MEMORY=1024M
FORCE_IPADDR_LOOKUP=0
错误八:
/usr/openv/java/jnbSA &正常起动后需要的相关起动项
Starting the NetBackup Enterprise Media Manager.
Starting the NetBackup Resource Broker.
Populating the database tables. This will take some time.
**********************************************************************
********************* ALERT - ACTION REQUIRED ************************
**********************************************************************
This installation could fit one of two scenarios.
Follow the instructions that fit your situation.
**********************************************************************
1. It appears NetBackup is being installed with the intention of
using a different network interface than the default (BJ-C08-IBM3850).
NetBackup daemons will be shut down. Additional entries must
be added to /usr/openv/netbackup/bp.conf and
/usr/openv/volmgr/vm.conf. The entry and the file affected
are as follows:
REQUIRED_INTERFACE=ibm3850 (bp.conf)
REQUIRED_INTERFACE=ibm3850 (vm.conf)
DEVICE_HOST=ibm3850 (vm.conf)
After these entries have been added, start the NetBackup and Media
Manager daemons by executing the following command:
/usr/openv/netbackup/bin/goodies/netbackup start
如:
cat /usr/openv/netbackup/bp.conf
SERVER = IBM3850
CLIENT_NAME = IBM3850
EMMSERVER = IBM3850
REQUIRED_INTERFACE=IBM3850
VXDBMS_NB_DATA = /usr/openv/db/data
cat /usr/openv/volmgr/vm.conf
REQUIRED_INTERFACE=ibm3850
DEVICE_HOST=ibm3850
[root@ ~]# /usr/openv/netbackup/bin/goodies/netbackup start
NetBackup Notification Service started.
NetBackup Enterprise Media Manager started.
NetBackup Resource Broker started.
Rebuilding device nodes.
Media Manager daemons 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.
**********************************************************************
OR
**********************************************************************
2. This machine appears to be a member of a cluster. NetBackup
daemons will be shut down. Do not install any NetBackup add-on
or database agent products on this machine until after the
NetBackup server has been configured to run in a cluster. After
NetBackup server installation activities have occurred on all
members of the cluster, execute the following command on the
primary node:
/usr/openv/netbackup/bin/cluster/cluster_config
**********************************************************************
File /usr/openv/tmp/install_trace.23921 contains a trace of this install.
That file can be deleted after you are sure the install was successful.
[root@~]# bpps -a
NB Processes
------------
root 27774 1 0 15:17 ? 00:00:00 /usr/openv/db//bin/NB_dbsrv @/usr/openv/var/global/server.conf @/usr/openv/var/global/databases.conf -hn 8
root 27799 1 0 15:17 ? 00:00:00 /usr/openv/netbackup/bin/nbnos
root 27803 1 0 15:17 ? 00:00:00 /usr/openv/netbackup/bin/nbemm
root 27807 1 0 15:17 ? 00:00:00 /usr/openv/netbackup/bin/nbrb
root 27897 1 0 15:18 pts/2 00:00:00 /usr/openv/netbackup/bin/bprd
root 27902 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/bpcompatd
root 27905 1 0 15:18 pts/2 00:00:00 /usr/openv/netbackup/bin/bpdbm
root 27906 27905 0 15:18 pts/2 00:00:00 /usr/openv/netbackup/bin/bpjobd
root 27908 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbjm
root 27914 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbpem
root 27924 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbsl
root 27932 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbsvcmon
root 27945 27908 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbjm
root 27973 27914 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem_email
root 27974 27914 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem
MM Processes
------------
root 27894 1 0 15:18 pts/2 00:00:00 vmd
[root@~]# bpps -x
NB Processes
------------
root 27774 1 0 15:17 ? 00:00:00 /usr/openv/db//bin/NB_dbsrv @/usr/openv/var/global/server.conf @/usr/openv/var/global/databases.conf -hn 8
root 27799 1 0 15:17 ? 00:00:00 /usr/openv/netbackup/bin/nbnos
root 27803 1 0 15:17 ? 00:00:00 /usr/openv/netbackup/bin/nbemm
root 27807 1 0 15:17 ? 00:00:00 /usr/openv/netbackup/bin/nbrb
root 27897 1 0 15:18 pts/2 00:00:00 /usr/openv/netbackup/bin/bprd
root 27902 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/bpcompatd
root 27905 1 0 15:18 pts/2 00:00:00 /usr/openv/netbackup/bin/bpdbm
root 27906 27905 0 15:18 pts/2 00:00:00 /usr/openv/netbackup/bin/bpjobd
root 27908 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbjm
root 27914 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbpem
root 27924 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbsl
root 27932 1 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbsvcmon
root 27945 27908 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbjm
root 27973 27914 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem_email
root 27974 27914 0 15:18 ? 00:00:00 /usr/openv/netbackup/bin/nbproxy dblib nbpem
MM Processes
------------
root 27894 1 0 15:18 pts/2 00:00:00 vmd
Shared VERITAS Processes
------------------------
root 3546 1 0 12:44 ? 00:00:08 /opt/VRTSpbx/bin/pbx_exchange
错误九:
INF - Server Status = 25
INF - Backup by root on client loclhost:cannot connect on socket.
INF - Backup by root on clinet localhost:the specified client does not exist in an active policy within the configuration database.
解决:
From the client, cd /usr/openv/netbackup/bin and run
bpclntcmd -pn
bpclntcmd -hn media_server_name
bpclntcmd -ip media_server_IP
You should get responses back from each one verifying the master server
and
the media server respectively.
If this doesn't work, you might need to either configure a DNS in this
address
space or add host file entries to resolve the NB server names.
至此/usr/openv/java/jnbSA &就可以起动了