How to start RMAN in linux env?
Hi Gurus,
I am new to RMAN and trying to start RMAN in linux as follows.
$rman
when i am giving rman command ,nothing is comming..the cursor is blinking.
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME=$ORACLE_BASE/dbs
export PATH=$PATH:$ORACLE_HOME/bin
===========================
and rman executable is available in $ORACLE_HOME/bin.
$ cd $ORACLE_HOME/bin
$ pwd
/u01/app/oracle/dbs/bin
$ ls -ltr rman*
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rmanO
-rwxr-x--x 1 oracle dba 10457622 Jul 12 2008 rman
$
Please suggest me how to resolve this problem.
Regards
Nagendra.
Nagendra2 wrote:
How to resolve the same. I set the following env variable.
===========================
export ORACLE_BASE=/u01/app/oracle
export ORACLE_SID=test
export ORACLE_HOME={color:#ff0000}$ORACLE_BASE/dbs{color}
export PATH=$PATH:$ORACLE_HOME/bin
===========================
I beleive your "ORACLE_HOME" is incorrect!
This may work better:
export ORACLE_SID=test
ORAENV_ASK=NO
. /usr/local/bin/oraenv
ORAENV_ASK=YES
The above will set your environment variables correctly.
:p
Similar Messages
-
How to configure rman in linux
we dont need to do anything to use rman in windows but how can i use rman in linux??
if any one can help ?
From what i can understand is we need to install the rpm and start its service
if thier is anything else that i am missing please let me know .thankswe dont need to do anything to use rman in windows but how can i use rman in linux?Same way. Once Oracle is installed and Database is created you don't need anything else, simply run it, for example :
$ rman nocatalog
Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jan 20 16:26:41 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target
connected to target database: DB102 (DBID=XXXXXXXXX)
using target database control file instead of recovery catalog
RMAN> -
How to start TOOLSProcessManager in linux R12
Hi,
We are using Oracle Apps R12 windows and Linux.
i have start in windows OracleSIT_sitartha_TOOLSProcessManager from services.msc
but how to start in linux ?
i have check in linux
[applmgr@r12 ~]$ /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/bin/opmnctl status
Processes in Instance: APPS_C_HOME.ap6004bld.us.oracle.com
------------------------------------------------+---------
ias-component | process-type | pid | status
------------------------------------------------+---------
DSA | DSA | N/A | Down
LogLoader | logloaderd | N/A | Down
HTTP_Server | HTTP_Server | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
WebCache | WebCache | N/A | Down
WebCache | WebCacheAdmin | N/A | Down
OC4J | home | 14760 | Alive
I need start HTTP_Server only (forms Home 10.1.2)
Regds
Murali.Ri have start TOOLSProcessManager bellow the error
[applmgr@r12 ~]$ /ora/oracle/VIS/apps/tech_st/10.1.2/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=r12.apps.com:6001
1 of 4 processes started.
ias-instance id=APPS_C_HOME.ap6004bld.us.oracle.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=6947)
failed to start a managed process after the maximum retry limit
Log:
/ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/HTTP_Server~1
ias-component/process-type/process-set:
WebCache/WebCache/WebCache
Error
--> Process (pid=6955)
failed to start a managed process after the maximum retry limit
Log:
/ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/WebCache~WebCache~1
ias-component/process-type/process-set:
WebCache/WebCacheAdmin/WebCacheAdmin
Error
--> Process (pid=6939)
failed to start a managed process after the maximum retry limit
Log:
/ora/oracle/VIS/apps/tech_st/10.1.2/opmn/logs/WebCache~WebCacheAdmin~1 -
Don't know how to start db on linux
Hi, I need some tips on how to config tnsnames.ora, listener file. Don't know what the command to run Oracle Net Assistant to config the above files. Please help.
Are there any web site teach how to start up & shutdown db on linux.
I have installed oracel 9i on redhat 7.3.
RegardsHi,
Please post your query at
Generic Linux
Regards,
Anupama -
hi all,
how do i start maxdb on linux.
very urgent,
thanks and regardsHi,
maybe you are looking for a start/stop script for linux. An example can you find here (online docu for 7.6):
http://maxdb.sap.com/doc/7_6/41/79751b1a361036e10000000a114cbd/content.htm
(Basic Information -> Concepts of the Database System -> Creating and Configuring a Database Instance -> Automatic Start)
Regards,
Thomas -
How to start WebLogic in Linux?
Could you tell me how to start WebLogic 5.1 in KDE?
Best Regards,You need to open up a terminal session (Try xterm).
Change the directory to wherever you installed Weblogic (/home/Weblogic/) or
something along those lines. (cd is the command that you want)
Run the scripts located in that directory as specified in the Unix
documentation.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
"Rex Law" <[email protected]> wrote in message
news:3971bdb1$[email protected]..
Could you tell me how to start WebLogic 5.1 in KDE?
Best Regards, -
How to start isqlplus* on linux plateform
Hi,
i am beginner in oracle and want to start isqlplus* on linux plateform via putty.
any helpful steps please let me know.
thanksisqlplusctl start
more detail http://www.orafaq.com/wiki/ISQLPlus -
How to start sap on linux while booting?
Hi all,
I want to start and stop SAP automatically when the system starts or is stopped.
In earlier Suse (SLES 9) releases there was a script sapr3 in /etc/init.d which could be used for it, when the file /etc/sysconfig/sapr3 was filled correctly.
In newer releases (SLES 10) there is no such script (besides boot.sapconf, which is uesd to set the sap parameters).
Does anybody know how to start and stop sap systems using the init.d mechanism?
Thank you for you help.
Best regards
ChristianI do understand, that the function does no longer exist. But how to "create your own".
If I were to create one I'd use something along the following lines...
#! /bin/sh
# SAP startup script - sapstart
# chkconfig sapstart on - to enable on startup
# Replace SAPEXE,ADMUSR and SLOG below with correct values
### BEGIN INIT INFO
# Provides: sapstart
# Required-Start: $network $syslog $remote_fs $time
# X-UnitedLinux-Should-Start:
# Required-Stop:
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: Start SAP
# Description: Startup of SAP
### END INIT INFO
. /etc/rc.status
PATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH
SAPEXE=/sapmnt/DEV/exe
ADMUSR=devadm
SLOG=/var/log/saplog
SHELL=/bin/csh
# Reset status of this service
rc_reset
case "$1" in
start)
echo -n "Starting SAP.. "
su -s $SHELL -l $ADMUSR -c $SAPEXE/startsap >> $SLOG &
# Remember status and be verbose
rc_status -v
stop)
echo -n "Please ensure SAP is cleanly shutdown before rebooting!.. "
# Remember status and be verbose
rc_status -v
echo "Usage: $0 {start|stop}"
exit 1
esac
rc_exit
I deliberately left out 'stop' for obvious reasons, don't forget to create the log file.
Untested so use at your own risk !
Nelis -
How to start OC4J at Linux boot time
Hello,
I am using Linux AS 3.0 and i have installed OC4J ( 9.0.4) ok, and OC4J also work fine.But each time i want to start OC4J , i must execute command java -jar oc4j.jar at console.
Now, I want to start OC4J automatic at System startup ( ie: Linux boot time ).How can i do?
Thanks.Just put your OC4J start/stop commands in a rc script.
Scripts in the directories
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
/etc/rc.d/rc5.d
will be called by the operating system with the command line option start.
The number in the directory names represent the desired run level of the machine.
Scripts in the directory
/etc/rc.d/rc0.d
will be called during shutdown with the command line option stop. -
Hi
I want to upgrade Netweave 2004s sp9 to sp11, it is on linux plateform, I loged the server user <SID>adm, when i run the go script, it hanged at " Waiting for SDTServer to connect to hostname xxxxxxxx socket 6240" , anyone met the problems and how to resolve it , thanks a lot
BTW, I user the VNC to connect to the LinuxHi,
To start JSPM,you should login to the linux system with <b>sidadm</b> user.
for ex:if ur SID is J2E,then login with <b>j2eadm</b> and password is <b>administrator password.</b>
2.After logging in ,check if <b>Xclock</b> is working.
Type <b>xclock</b>,then clock should be displayed.
if not,you should set Xclock.
set xclock with command <b>SETENV DISPLAY IPadress:0.0</b>3.if it is working,then go to /usr/sap/SID/Jcxx/j2ee/JSPM.
execute ./go
it will work.
rewrad points if helpful.......... -
How to start Designer from Linux
I have 902 iDS (not full installation) installed in /home/Oracle.
And I have 9.2 Oracle server in another Linux host.
What should I add in my .bashrc to my classpath and ld_library_path env variable to run iDS?
My /usr/bin/java is 1.4 version.
I don't find sqlplus so what should I use to manage 9.2 server?
Thanks
ReyHi Rey,
Designer doesn't run on Linux, only on Windows (and probably won't be ported - apologies). To run other Oracle tools like Sql*Plus you need to add $ORACLE_HOME/bin to your PATH, after ensuring the ORACLE_HOME is set correctly. You should then be able to just run sqlplus from a terminal (e.g Konsole). To run JDeveloper you should also add <path to jdev>/jdev/bin to your PATH then type jdev or jdevw at the command prompt. It works on mine. I don't have a linux install of other iDS tools so can't say much about them.
I hope this helps,
Keith. -
How to start Enterprise manager 10g Linux?
To,
Can some one please tell me
How to start Enterprise manager 10g on Linux RHEL 4.7
Thanks,Hi
While runniing $ sh emctl start dbconsole getting error of Enveromment variable ORACLE_SID not Defined
Can you pls tell me Where do i fine env file to source the ENV file Enterprise manager 10g
Also do i need to run the *$ sh emctl start dbconsole* command from GUI of Linux.
Actualy follwoing is my exact stetup
I have installed Oracle EBS 11.5.10.2 on Linux EHEL 4.7
On the same Linux Box ( Where Oracle EBS 11.5.10.2 is installed ) Installed Oracle Application and Infra. server and Discoverer
Please guide me on the same.
Thanks, -
How to start Oracle Application Server 10g on Linux
Hi,
I have installed the Oracle Appliacion server and Infrastructure server on Linux. Both I have installed under with Diff. folder
Can some one please tell me how to start / stop Appliacion server and Infrastructure server on Linux
We are going to use the these with Oracle EBS 11.5.10.2 .
Oracle EBS 11.5.10.2 installed in the same Linux server under diff. folder
Can some one please guide me.
Thanks,You can do as rizla said or go another route.
We setup profiles to use for all of the oracle homes. Then in the scripts we call the profiles. Easier to migrate and manage in my opinion if you have multiple oracle homes. You can then use profiles when ssh'd into the boxes, too. Both ways will work.
Example:
Script which you can chkconfig.
#!/bin/sh
# oracle_collabInfra
# This shell script takes care of starting and stopping Oracle Collab Infra instance.
#chkconfig: 345 96 14
# Source function library.
. /etc/rc.d/init.d/functions
RETVAL=0
start () {
echo $"Starting Collab Suite on the Infra instance..."
echo $"Starting Listener..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl start"
sleep 10
echo $"Starting Metadata Repository..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
startup;
exit;
sleep 10
echo $"Starting Enterprise Manager Application Server Control..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl start iasconsole"
sleep 5
echo $"Starting Infra OID and OC4J_Security processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OID"
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=OC4J_Security"
echo $"Starting Infra HTTP_Server processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl startproc process-type=HTTP_Server"
return $RETVAL
stop () {
echo $"Stopping Collab Suite on the Infra instance..."
echo $"Stopping all Infra OPMN managed processes..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; opmnctl stopall"
sleep 5
echo $"Stopping Enterprise Manager Application Server Control..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; emctl stop iasconsole"
sleep 10
echo $"Stopping Metadata Repository..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; sqlplus '/ as sysdba' <<!
shutdown immediate;
exit;
sleep 10
echo $"Stopping Listener..."
runuser - oracle -c ". /home/oracle/.collabInfra_profile; lsnrctl stop"
return $RETVAL
restart () {
stop
start
RETVAL=$?
return $RETVAL
# See how we were called.
case "$1" in
start)
start
stop)
stop
restart)
restart
echo $"Usage: $0 {start|stop|restart}"
RETVAL=1
esac
exit $RETVAL
profile:
export ORACLE_BASE=/opt/oracle
export ORACLE_HOME=$ORACLE_BASE/collabInfra
export ORACLE_SID=orcl
export TMP=/tmp
export TMPDIR=/tmp
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=/bin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/kerberos/bin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/opmn/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/backup_restore
unset USERNAME -
How to start a particular database in unix/linux
Hi,
Could any one tell me how to start a particular database in Unix/Linux assuming that my server consists of 10 databases.
Can we use LSNRCTL tool for this??
Regards,
Nagarjun.> Could any one tell me how to start a particular database in Unix/Linux
assuming that my server consists of 10 databases.
There is something very wrong in basic understanding of Oracle RDBMS architecture, when running 10 Oracle instances on a single server.
10x temp space. 10x redo space. 10x SGA. 10x system processes footprint. This is NOT how one scales Oracle and NOT how one uses Oracle optimally. -
How to start with RMAN as I am beginner?
Dear all,
How to start with RMAN as I am beginner? Any simple document or guide line for me.
Thanks,
AmyHow to start with RMAN as I am beginner? Any simple
document or guide line for me.go to yours oracle home directory /orahome/bin there is RMAN exe tool run it it will show you prompt RMAN
Recovery Manager: Release 10.1.0.2.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
RMAN> connect target sys/sys
connected to target database: ORCL (DBID=1171886541)
RMAN> backup database
2> ;
Starting backup at 21-JAN-08
using channel ORA_DISK_1
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\EXAMPLE01.DBF
input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 21-JAN-08
channel ORA_DISK_1: finished piece 1 at 21-JAN-08
piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NNNDF_TAG20080121T135924_3S8QQF74_.BKP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current controlfile in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 21-JAN-08
channel ORA_DISK_1: finished piece 1 at 21-JAN-08
piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NCSNF_TAG20080121T135924_3S8QSSN4_.BKP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
Finished backup at 21-JAN-08
http://www.orafaq.com/faq/rmanKhurram
Maybe you are looking for
-
ICloud Photo Library and Family Sharing
Does anyone know how the iCloud Photo Library and Family Sharing accounts interact? I'd rather not have to specify what to share with the rest of the family if I don't have to.
-
Dropping/Creating index for an individual partition on a partitioned table.
Hi, I wanted to know how to create and drop index for a single individual partition on a partitioned table. Thanks..
-
How to restore Notes that were deleted
Hello Apple Support Communities I have recently used Notes to write down a very important phone number, then just got out of Notes. When I came back, my note was gone, and there was practically nothing that had my phone number. I was, and still am su
-
Work item 000000400082: Object FLOWITEM method EXECUTE cannot be executed?
Hello, I am getting the above mentioned error during the start of the custom built workflow. The process to re-produce the error is as follows; 1. The employee raises a travel request which goes to his reporting officer for the approval process. 2. T
-
2.0 to 2.1 direct
Can one upgrade to 2.1 directly from 2.0? I am nervous about doing so. Should I do a full restore first and then a clean install of 2.1?