elshamy بتاريخ: 25 مايو 2008 تقديم بلاغ مشاركة بتاريخ: 25 مايو 2008 السلام عليكم ازيكم ياشباب انا عندى مشكله بسيطه ياريت تحلوهالى انا عامل setup oracle on linux بس كل مقفل الجهاز وافتحه لازم اعمل startup for sql هل ممكن احد يمكن يساعدنى فى عمل auto start database ياريت حد يساعدنى فى اسرع وقت ممكنوشكرا لكم ياشباب اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Ahmed.Hamdy بتاريخ: 27 مايو 2008 تقديم بلاغ مشاركة بتاريخ: 27 مايو 2008 1 - LOGIN AS ROOT 2 - u should find file called ORATAB on the following path /etc/oratab and edit the fowwloing lines accrording ur installation : # *:/u01/app/oracle/product/10.1.0/db_1:Y orcl:/u01/app/oracle/product/10.1.0/db_1:Y # *:/u01/app/oracle/product/10.1.0/db_1:Y orcl:/u01/app/oracle/product/10.1.0/db_1:Y *:/u01/app/oracle/product/10.1.0/db_1:Y orcl:/u01/app/oracle/product/10.1.0/db_1:Y 3 - create a file called "/etc/init.d/dbora" as the root user, containing the following. #!/bin/sh # chkconfig: 345 99 10 # description: Oracle auto start-stop script. # # Change the value of ORACLE_HOME to specify the correct Oracle home # directory for your installation. ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1 # # Change the value of ORACLE to the login name of the # oracle owner at your site. # ORACLE=oracle PATH=${PATH}:$ORACLE_HOME/bin HOST=`hostname` PLATFORM=`uname` export ORACLE_HOME PATH # if [ ! "$2" = "ORA_DB" ] ; then if [ "$PLATFORM" = "HP-UX" ] ; then remsh $HOST -l $ORACLE -n "$0 $1 ORA_DB" exit else rsh $HOST -l $ORACLE $0 $1 ORA_DB exit fi fi # case $1 in 'start') $ORACLE_HOME/bin/dbstart $ORACLE_HOME ;; 'stop') $ORACLE_HOME/bin/dbshut $ORACLE_HOME ;; *) echo "usage: $0 {start|stop}" exit ;; esac # exit 4 - Use the chmod command to set the privileges to 750. chmod 750 /etc/init.d/dbora 5 - Associate the dbora service with the appropriate run levels and set it to auto-start using the following command. chkconfig --level 345 dbora on 6- NOW U CAN CHECK YOUR NEW SETTINGS BY RESTARTING THE SYSTEM. اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
elshamy بتاريخ: 28 مايو 2008 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 28 مايو 2008 (معدل) الف الف شكر يا دكتور كليك على مساعدتك وربنا يوفقك ومزيد من التقدم جاااااااااااااااااااااااااارى التطبيق................................. تم تعديل 28 مايو 2008 بواسطة elshamy اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
elshamy بتاريخ: 28 مايو 2008 كاتب الموضوع تقديم بلاغ مشاركة بتاريخ: 28 مايو 2008 دكتور كليك الحقنى انا بعد ماعملت كل الخطوات اللى انت قولتها ال enterprise manager & isqlplus مش عايزين يفتحوا مع العلم انى بعملهم start وكل حاجه ولما اعملهم check config هو شايف كل حاجه وبيقولى انهم already running الحقنى وقولى اعمل ايه؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Recommended Posts
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.