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

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
樓主: Johnson.Chao
打印 上一主題 下一主題

[Veritas NBU] NBU 5.0 for Sybase 12.5.2 備份不了 [復(fù)制鏈接]

論壇徽章:
0
21 [報(bào)告]
發(fā)表于 2005-08-21 01:20 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

不好意思,我記錯(cuò)了,是sybase_config  你執(zhí)行一下,填上你的sybase數(shù)據(jù)庫的安裝路徑就可以了。
你說的上面兩個(gè)根本沒關(guān)系的,不用執(zhí)行。

論壇徽章:
0
22 [報(bào)告]
發(fā)表于 2005-08-22 14:31 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

cd /usr/openv/netbackup/bin
# ./sybase_config

Please specify the Sybase instance home path name:
/sybase

Do you have other Sybase instances? (y/n) [n]

======================================================================
Examining /sybase:

INSTALLATION ERROR:
The file type for /sybase/ASE-12_5/bin/sybmultbuf does not
match /usr/openv/netbackup/bin/libsybackup.sl or
/usr/openv/netbackup/bin/libsybackup64.sl.

INSTALLATION WARNING:
If this Sybase installation is part of a cluster and
this node is inactive, this warning may safely be
ignored.  Otherwise, check to see if Sybase has been
installed in /sybase.
======================================================================

One or more installation errors have occurred.  Installation is not
complete.

論壇徽章:
0
23 [報(bào)告]
發(fā)表于 2005-08-22 14:32 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

怎么會(huì)有錯(cuò)誤呢?我該了/sybase/ASE-12_5/bin/sybmultbuf 、/usr/openv/netbackup/bin/libsybackup.sl 、/usr/openv/netbackup/bin/libsybackup64.sl翁建德屬性為777也不行!

論壇徽章:
0
24 [報(bào)告]
發(fā)表于 2005-08-22 14:36 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

是不是我的NBUY for Sybase有問題,我想問一下,NBU for Sybase都有哪幾個(gè)進(jìn)程!怎么檢查NBU for Sybase的健康呢?

論壇徽章:
0
25 [報(bào)告]
發(fā)表于 2005-08-22 16:17 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

This error occurs when a vault job is run for a profile that has selected automatic eject mode and the number of media to be ejected exceeds the capacity of the MAP.

論壇徽章:
0
26 [報(bào)告]
發(fā)表于 2005-08-22 16:22 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

Error  bpsched (pid=291)suspending further backup attempts for client nms ,policy nms_sybase_backup,schedule database_dump because it has exceeded the configured number of triex
Error bpsched (pid=291|)backup of client nms exited with status 6 (the backup failed to back up thebackup failed to back up the requested files)
the backup failed to back up the requested files (6)

論壇徽章:
0
27 [報(bào)告]
發(fā)表于 2005-08-22 16:26 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

Errors caused the user backup to fail.

論壇徽章:
0
28 [報(bào)告]
發(fā)表于 2005-08-22 16:30 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

/syb_model_dump文件內(nèi)容、:

dump DATABASE model to "sybackup::-SERV macro -CLIENT nms -POL nms_sybase_backup -SCHED database_dump"
stripe on "sybackup::-SERV macro -CLIENT nms -POL nms_sybase_backup -SCHED database_dump"
go

論壇徽章:
0
29 [報(bào)告]
發(fā)表于 2005-08-22 23:51 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

還沒解決嗎?
樓豬你的腳本有問題
一個(gè)是我不知道你干嗎把單路和多路都打開了
另一個(gè)是你的$DATABASE_TYPE環(huán)境變量沒生效,你自己可在執(zhí)行dump語句前面加一句:echo $DATABASE_TYPE >; /xxxx/xxxx就知道了。和NBU無關(guān),把腳本弄好就OK了,sybase備份沒什么的

論壇徽章:
0
30 [報(bào)告]
發(fā)表于 2005-08-23 10:44 |只看該作者

NBU 5.0 for Sybase 12.5.2 備份不了

能不能明確提示一下,單路和多路在腳本的哪里限制一下!還有,你說的$DATABASE_TYPE環(huán)境變量我在腳本中根本找不到呀!我把我最新的腳本貼出來,你再幫忙看一眼!
還有一個(gè)問題根本解決不了,就是Sybase_config根本就執(zhí)行不成功,上面的帖子中有錯(cuò)誤信息。下面是我的腳本:

# more nms_sybase_backup.sh


#!/bin/sh
# sybase_mydb_backup $Revision: 1.3 $
#bcpyrght
#***************************************************************************
#* $VRTScprght: Copyright 1993 - 2003 VERITAS Software Corporation, All Rights Reserved $ *
#***************************************************************************
#ecpyrght

#***************************************************************************
# Replace /usr/sybase12 below with the actual Sybase home directory
#***************************************************************************
SYBASE=/sybase

#***************************************************************************
# Replace SYBASE12 below with the actual name of the SQL Server
#***************************************************************************
SYBSERVER=SYBASE

#***************************************************************************
# Replace SYB_DB below with the actual name of your Sybase database
#***************************************************************************
DATABASE_NAME=model

#***************************************************************************
# Replace syb_files below with your actual name of the NetBackup
# server Policy to be used to backup the directory with Sybase script files
#***************************************************************************
SYB_FILES_POLICY=nms_sybase_backup

#***************************************************************************
# Replace /usr/sybase12/scripts below with your actual path of the Sybase files
#***************************************************************************
SYB_FILES_DIR=/sybase

#***************************************************************************
# Determine the SYBASE_ASE and SYBASE_OCS env variables for Sybase 12.x
#***************************************************************************
OCS_QUAL=
if [ -f "${SYBASE}"/SYBASE.csh ] ; then
        SYBASE_ASE=`grep "setenv SYBASE_ASE" "${SYBASE}"/SYBASE.csh | cut -f3 -d" " | sort -u | head -1`
        SYBASE_OCS=`grep "setenv SYBASE_OCS" "${SYBASE}"/SYBASE.csh | cut -f3 -d" " | sort -u | head -1`
        export SYBASE_ASE
        export SYBASE_OCS
        OCS_QUAL=/$SYBASE_OCS
elif [ -f "${SYBASE}"/SYBASE.sh ] ; then
        SYBASE_ASE=`grep "SYBASE_ASE=" "${SYBASE}"/SYBASE.sh | cut -f2 -d"=" | sort -u | head -1`
        SYBASE_OCS=`grep "SYBASE_OCS=" "${SYBASE}"/SYBASE.sh | cut -f2 -d"=" | sort -u | head -1`
        export SYBASE_ASE
        export SYBASE_OCS
        OCS_QUAL=/$SYBASE_OCS
fi

echo "Started `date`"
SYBASE=$SYBASE; export SYBASE
# These environment variables are set by NetBackup
echo "SYBACKUP_SERVER = $SYBACKUP_SERVER"
echo "SYBACKUP_POLICY = $SYBACKUP_POLICY"
echo "SYBACKUP_SCHED = $SYBACKUP_SCHED"
echo "SYBACKUP_CLIENT = $SYBACKUP_CLIENT"
echo "SYBACKUP_SCHEDULED = $SYBACKUP_SCHEDULED"
echo "SYBACKUP_USER_INITIATED = $SYBACKUP_USER_INITIATED"

RETURN_STATUS=0

#***************************************************************************
# Replace "database_dump" below with your actual NetBackup schedule name
# which is used for a full backup of the Sybase database.
#***************************************************************************
if [ "${SYBACKUP_SCHED}" = "database_dump" ]
then
############# NetBackup has started a "database_dump" backup ##############
DUMP_TYPE=DATABASE

else
############# NetBackup has started a "transaction log" backup ##############
DUMP_TYPE=TRANSACTION
fi


#***************************************************************************
# Replace "Default-Application-Backup" below with your actual NetBackup
# Application Backup type schedule name for the Sybase database.
#***************************************************************************
echo dump $DUMP_TYPE $DATABASE_NAME to \"sybackup::-SERV $SYBACKUP_SERVER -CLIENT $SYBACKUP_CLIENT -POL $SYBACK
UP_POLICY -SCHED database_dump\" >; ./syb_${DATABASE_NAME}_dump

#**************************************************************************
# Remove the '#' from the beginning of the line below if you are going to
# use multiple stripes for the backup. Repeat this line for each stripe.
# Replace "Default-Application-Backup" below with your actual NetBackup
# Application Backup type schedule name for the Sybase database.
# **************************************************************************
echo stripe on \"sybackup::-SERV $SYBACKUP_SERVER -CLIENT $SYBACKUP_CLIENT -POL $SYBACKUP_POLICY -SCHED databas
e_dump\" >;>; ./syb_${DATABASE_NAME}_dump

echo go >;>; ./syb_${DATABASE_NAME}_dump

#***************************************************************************
# Log the isql command. This line may appear in NetBackup log files.
# Do NOT replace "xxxxxxxx" with a user id or password.
#***************************************************************************
echo "$SYBASE$OCS_QUAL/bin/isql -Uxxxxxxxx -Pxxxxxxxx -I$SYBASE/interfaces -S$SYBSERVER < ./syb_${DATABASE_NAME
}_dump"

#***************************************************************************
# Replace "sa" with your Sybase server Administrator's login name.
# Replace "manager" with your Sybase server Administrator's password.
#***************************************************************************
        $SYBASE$OCS_QUAL/bin/isql -Usa -P123456 -I$SYBASE/interfaces -S$SYBSERVER < ./syb_${DATABASE_NAME}_dump
        RETURN_STATUS=$?

if [ "${DUMP_TYPE}" = "DATABASE" ]
then
#       Initiate a backup of any file related to the Sybase database, such as script files.

        echo "bpbackup -c $SYB_FILES_POLICY $SYB_FILES_DIR"
        /usr/openv/netbackup/bin/bpbackup -c $SYB_FILES_POLICY $SYB_FILES_DIR
        BPBACKUP_STATUS=$?

        if [ "$BPBACKUP_STATUS" -ne 0 ]
        then
                echo ""
                echo "bpbackup of $SYB_FILES_DIR returned $BPBACKUP_STATUS"
        fi
fi


echo "Finished `date`"

echo "exit $RETURN_STATUS"
echo ""

exit $RETURN_STATUS
您需要登錄后才可以回帖 登錄 | 注冊(cè)

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

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP