[oracle@alwarid-taj bin]$ ./dbca
#$#$#$##$$####################################$#$#$#$#$#$#$##########$$$$$$$$$$$$$$$$$$$$$$$$$$$
[oracle@alwarid-taj /]$ cd /home/oracle/oracle/product/10.2.0/db_1/admin/orcl/scripts
[oracle@alwarid-taj scripts]$ ls
cloneDBCreation.sql initorclTemp.ora postDBCreation.sql
CloneRmanRestore.sql orcl.sh postScripts.sql
init.ora orcl.sql rmanRestoreDatafiles.sql
[oracle@alwarid-taj scripts]$
[oracle@alwarid-taj scripts]$ pwd
/home/oracle/oracle/product/10.2.0/db_1/admin/orcl/scripts
[oracle@alwarid-taj scripts]$ cat orcl.sh
#!/bin/sh
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/admin/orcl/adump
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/admin/orcl/bdump
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/admin/orcl/cdump
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/admin/orcl/dpdump
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/admin/orcl/pfile
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/admin/orcl/udump
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/orcl
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/dbs
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/flash_recovery_area
mkdir -p /home/oracle/oracle/product/10.2.0/db_1/oradata/orcl
ORACLE_SID=orcl; export ORACLE_SID
echo You should Add this entry in the /etc/oratab: orcl:/home/oracle/oracle/product/10.2.0/db_1:Y/home/oracle/oracle/product/10.2.0/db_1/bin/sqlplus /nolog @/home/oracle/oracle/product/10.2.0/db_1/admin/orcl/scripts/orcl.sql
[oracle@alwarid-taj scripts]$ ./orcl.sh
You should Add this entry in the /etc/oratab: orcl:/home/oracle/oracle/product/10.2.0/db_1:Y
Error 6 initializing SQL*Plus
Message file sp1
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
[oracle@alwarid-taj scripts]$ export ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
18 comments:
great blog If you are the type to update your blog regulary, then you have gained one daily reader in me today. keep up the super work.
Can I clone your article to my blog? Thank you…
thank you for sharing with us, I believe this website truly stands out : D.
Hi !!! Good job!
Wuzzap?
Very amusing post. Thanks )
Thanks. I retwit it on my Twiiter
Bob Peters, CA
Good Article
Good Article
I have tried many custom writing services before, but yours turned to be the best. Thanks a lot.
Good Article
that is definitely what I was searching for, You have saved me alot of time
I am pleased that I noticed this website , precisely the right info that I was looking for! .
That was an excellently written essay, thank you so much.
I think, that you are mistaken. Write to me in PM, we will discuss.|
Excellent post...
Its working now.
Awesome post,Thanks a lot.
Thank you so much
Your site is really good and the posts are just wonderful. Thank you and keep doing your great work.
Post a Comment