Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\emdrep\bin\RepManager
#!/bin/sh ################################################################################ # # Copyright (c) 2001, 2008, Oracle. All rights reserved. # # PRODUCT # Oracle Enterprise Manager, Version 4.0.1 # # FILENAME # RepManager # # DESCRIPTION # This script is used to manage the EMD repository and environment. # Enterprise Manager, Version 4.0.1 # MODIFIED # cvaishna 04/22/08 - Bug fix : 6994692 # ramalhot 01/09/08 - # ktlaw 11/30/04 - add OH/sysman/install to PERL5LIB # ktlaw 10/22/04 - add emdrep/bin to PERL5LIB # rpinnama 09/22/04 - Remove 561 reference # rzazueta 08/27/04 - Add PLE changes for MAC OS X # rdabbott 07/08/04 - put links to oh # rdabbott 06/28/04 - core only create # rpinnama 03/30/04 - Add ORACLE_HOME/lib to LD_LIBRARY_PATH # rpinnama 03/31/03 - rpinnama_setup_repos_migration_main # rpinnama 03/28/03 - # rpinnama 03/25/03 - Created ################################################################################ if [ "$ORACLE_HOME" = "" ] then printf "$ORACLE_HOME environment variable should be set to create EM repository...\n" exit 1 fi #look in OH in both a view and an install EMDW_HOME=$ORACLE_HOME PERL5LIB_TMP=$ORACLE_HOME/perl/lib:$ORACLE_HOME/perl/lib/site_perl:$ORACLE_HOME/perl/libwww-perl/lib:$ORACLE_HOME/perl/ext/POSIX:$ORACLE_HOME/perl/URI:$ORACLE_HOME/perl/HTML_Parser:$ORACLE_HOME/perl/HTML-Parser/lib:$EMDROOT/sysman/admin/scripts:$EMDROOT/bin:$ORACLE_HOME/sysman/admin/emdrep/bin:$ORACLE_HOME/sysman/install:$ORACLE_HOME/sysman/install/install if [ "$PERL5LIB" = "" ] ; then PERL5LIB=${PERL5LIB_TMP} else PERL5LIB=${PERL5LIB_TMP}:${PERL5LIB} fi if [ "$LD_LIBRARY_PATH" = "" ] ; then LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib32:$ORACLE_HOME/network/lib:$ORACLE_HOME/perl/lib:$EMDROOT/lib else LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib32:$ORACLE_HOME/network/lib:$ORACLE_HOME/perl/lib:$EMDROOT/lib:$LD_LIBRARY_PATH fi if [ "$SHLIB_PATH" = "" ] ; then SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib32 else SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib32:$SHLIB_PATH fi if [ "$LIBPATH" = "" ] ; then LIBPATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib:$EMDROOT/lib32 else LIBPATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:$ORACLE_HOME/network/lib:$ORACLE_HOME/network/lib32:$ORACLE_HOME/perl/lib:$EMDROOT/lib:$EMDROOT/lib32:$LIBPATH fi export PERL5LIB export LD_LIBRARY_PATH export SHLIB_PATH export LIBPATH $ORACLE_HOME/perl/bin/perl $EMDW_HOME/sysman/admin/emdrep/bin/emrepmgr.pl $* # Exit with thre return value from perl exit $?
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de