亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3862 | 回復: 8
打印 上一主題 下一主題

[備份軟件] 請教Legato ,Sybase備份出錯 [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-03-30 00:02 |只看該作者 |倒序瀏覽
環(huán)境 Legato networker 7.4,NMS 3.0,AIX 5.3,Sybase ASE12.5.3
1、在客戶端使用nsrsybsv 備份的時候都很正常
2、在備份服務器端發(fā)起Group的備份,報錯,CC都能過得去但是備份到數(shù)據(jù)庫的時候就不可以了
3、檢查在sybase的日志,有如下錯誤信息
===============================

Mar 29 01:32:34 2008: Backup Server: 4.132.1.1: Attempting to open byte stream device: 'bms::f03n03.GLSH.master../nsr/tmp/syvJ3vya::00'
Mar 29 01:32:34 2008: Backup Server: 4.124.2.1: Archive API error for device='bms::f03n03.GLSH.master../nsr/tmp/syvJ3vya::00': Vendor application name=EMC, Library version=200, API routine=syb_open(), Message=unable to create environment variables.

Mar 29 01:32:37 2008: Backup Server: 4.132.1.1: Attempting to open byte stream device: 'bms::f03n03.GLSH.master../nsr/tmp/sy16MiMa::00'
Mar 29 01:32:37 2008: Backup Server: 4.124.2.1: Archive API error for device='bms::f03n03.GLSH.master../nsr/tmp/sy16MiMa::00': Vendor application name=EMC, Library version=200, API routine=syb_open(), Message=unable to create environment variables.
=============================
4、/nsr/tmp的權(quán)限已經(jīng)是777了,況且在sybase服務器手工執(zhí)行備份,也都很正常
5、覺得還是環(huán)境變量的問題,但是不能確定,哪位大俠可以指導一下,不勝感激啊

論壇徽章:
1
榮譽版主
日期:2011-11-23 16:44:17
2 [報告]
發(fā)表于 2008-03-30 12:47 |只看該作者
手工備份過的去,自動備份過不去,檢查nsrsyb先

論壇徽章:
0
3 [報告]
發(fā)表于 2008-03-30 13:45 |只看該作者
1/如果用sybase 用戶 去執(zhí)行nsrsyb備份也是正常的,
2/就是用root用戶去執(zhí)行的時候會報以上錯誤
3/是不是一定要加 umask 002?在什么地方加?

論壇徽章:
0
4 [報告]
發(fā)表于 2008-03-30 23:53 |只看該作者
呵呵。查你的nsrsyb吧

論壇徽章:
0
5 [報告]
發(fā)表于 2008-03-31 00:37 |只看該作者
原帖由 redwaves 于 2008-3-30 23:53 發(fā)表
呵呵。查你的nsrsyb吧

-----------------------
有做過的 sybase備份的 nsrsyb么?貼出來 參考一下
里面是否需要加 su -  sybase呢?

論壇徽章:
0
6 [報告]
發(fā)表于 2008-03-31 09:19 |只看該作者
查看sybase mod book

論壇徽章:
0
7 [報告]
發(fā)表于 2008-03-31 10:01 |只看該作者
lz說的應該對,server調(diào)用nsrsybsv的時候環(huán)境變量有問題,看看nsrsyb里有幾個選項寫對了么,不記得是不是有個LIB的參數(shù)了。

另外實在不行,就寫個nsrsyb,自己加變量,然后執(zhí)行nsrsybsv

論壇徽章:
0
8 [報告]
發(fā)表于 2008-03-31 13:58 |只看該作者
nsrsyb 參數(shù)
===============================================

###########################################################################
# This value MUST be set for scheduled backups to run.
###########################################################################
#
# Variable: SYBASE
# Default value:
# Description: Specifies where the Sybase RDBMS is installed.
# Set this variable to the directory where Sybase ASE
# software is installed. This *must* be set for scheduled backups
# to be able to find the Sybase libraries and executables.
#
SYBASE=/sybase
#umask 002
. $SYBASE/SYBASE.sh
###########################################################################


#
# Configuration variables, modifiable by users.
#
###########################################################################
# The following lines may be edited to change the default settings.  These
# are for advanced tailoring of backups and should be edited carefully.
###########################################################################

#
# Variable: USE_CONSISTENCY_CHECK
# Default value: true
# If set, this puts a consistency check into the PRECMD variable.
# To disable this, set the USE_CONSISTENCY_CHECK value as follows:
# USE_CONSISTENCY_CHECK=
#
# If this is on, it will set the PRECMD to do a consistency check.
# If you need to customize the PRECMD to do other work, unset this
# value and perform any desired consistency checks in your own
# script.
#
USE_CONSISTENCY_CHECK=true

#
# Variable: DBCCOPT
# Default value: none
# If set, these are the options that the nsrsybcc program uses in its
# consistency check.  If not set, the options will be the program defaults
# from the nsrsybcc program.
#
DBCCOPT=

#
# Variable: PRECMD
# Default value:
# Description: This variable can be used to run a command before nsrsybsv.
#
# If USE_CONSISTENCY_CHECK is set, the PRECMD will be constructed to perform
# a nsrsybcc check on the given saveset.  A PRECMD that you set here will
# not be overwritten by a consistency check, however.
#
PRECMD=

#
# Variable: POSTCMD
# Default value: NONE
# Description: This variable can be used to run a command after nsrsybsv
# has completed.
#
POSTCMD=

#
# Variable: BACKUP_OPT
# Default value: none
# If set, these are the options that will be passed to the nsrsybsv
# program in addition to the ones set from savegrp.  This is useful
# for setting the debug level.
# Passing -N option is not recommended as it will be overwritten by
# what is passed from the savegroup.
#
#BACKUP_OPT="-D 4"
#
BACKUP_OPT=

#
# Variable: NSR_DATA_VOLUME_POOL
# Default value: none
# Description: If this variable is set to name a media pool, then database
# backups will be directed to the named media pool.
#
NSR_DATA_VOLUME_POOL=

#
# Variable: NSR_LOG_VOLUME_POOL
# Default value: none
# Description: If this variable is set to name a media pool, then
# transaction log backups will be directed to the named media pool.
#
NSR_LOG_VOLUME_POOL=

#
# Variable: NSR_COMPRESSION
# Default value: FALSE
# Description: This environment variable specifies whether client-side
# compression is performed on the data.
#
NSR_COMPRESSION=FALSE

#
# Variable: NSR_AES_ENCRYPTION
# Default value: FALSE
# Description: This environment variable specifies whether AES encryption
# is used between the client and server.
#
NSR_AES_ENCRYPTION=FALSE

#
# Variable: NSR_ASE_PASSWORD
# Default value: None
# Description: This environment variable specifies the password
# to be used while dumping for ASE 12.5.2 onwards.
#
NSR_ASE_PASSWORD=

#
# Variable: NSR_ASE_VERIFY
# Default value: None
# Description: This environment variable specifies the verify
# clause to be used while issuing dump command for ASE 12.5.4 onwards.
# The valid values can be either "header" or "full". The value
# is case insensitive. The option header will verify only the
# header before dump. The option full will verify both
# header and row structure.
# Note that the verify clause does not work with ASE 15.0.
#
NSR_ASE_VERIFY=

#
# Variable: NSR_DEBUG_FILE
# Default value: /nsr/applogs/xbsa.messages
# Description: This environment variable specifies which file the XBSA
# messages should be written to.
#
NSR_DEBUG_FILE=/nsr/applogs/xbsa.messages
#NSR_SAVESET_NAME=SYBASE:/GLSH/model

###########################################################################
# Do not edit anything below this line.
###########################################################################
================================
下半部分不需要編輯的 就沒有抄出來了
應該就是加個路徑參數(shù)就可以了啊SYBASE=/sybase

通過SYBASE.sh獲得的環(huán)境變量,參考以下部分
================================
#!/bin/sh
SYBASE_ASE="ASE-12_5"
export SYBASE_ASE
NSR_TEMPDIR="/nsr/tmp"
export NSR_TEMPDIR
PATH=$PATH:/usr/bin:/etc:/usr/sbin:/usr/ucbHOME/bin:/usr/bin/X11:/sbin:.
export PATH
PATH="/sybase/ASE-12_5/bin:/sybase/ASE-12_5/install"PATH
export PATH
LIBPATH="/sybase/ASE-12_5/lib"LIBPATH
export LIBPATH
SYBASE_JRE="/sybase/shared-1_0/JRE-1_3"
export SYBASE_JRE
PATH="/sybase/JS-12_5/bin"PATH
export PATH
SYBASE_FTS="EFTS-12_5_2"
export SYBASE_FTS
PATH="/sybase/RPL-12_5/bin"PATH
export PATH
SYBASE_WS="WS-12_5"
export SYBASE_WS
SYBASE="/sybase"
export SYBASE
SYBASE_OCS="OCS-12_5"
export SYBASE_OCS
PATH="/sybase/OCS-12_5/bin"PATH
export PATH
LIBPATH="/sybase/OCS-12_5/lib:/sybase/OCS-12_5/lib3p64:/sybase/OCS-12_5/lib3p"LIBPATH
export LIBPATH
SYBASE_SYSAM="SYSAM-1_0"
export SYBASE_SYSAM
LM_LICENSE_FILE="/sybase/SYSAM-1_0/licenses/license.dat"
export LM_LICENSE_FILE
LIBPATH="/sybase/shared-1_0/JRE-1_3/bin:/sybase/shared-1_0/JRE-1_3/bin/classic"LIBPATH
export LIBPATH
PATH="/sybase/$SYBASE_FTS/bin"PATH
export PATH
LIBPATH="/sybase/$SYBASE_FTS/lib:/sybase/$SYBASE_FTS/verity/_rs6k41/bin:/sybase/$SYBASE_FTS/verity/_rs6k41/filters"LIBPATH
export LIBPATH
SHLIB_PATH=/sybase/OCS-12_5/lib
export SHLIB_PATH

export DSQUERY=GLSH
export LANG=en_US
=====================================================

論壇徽章:
0
9 [報告]
發(fā)表于 2009-05-21 21:51 |只看該作者
您的 sybase 環(huán)境變量錯了
應該是

sybase=$SYBASE/$SYBASE_ASE
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP