الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

هل ممكن احد يمكن يساعدنى فى عمل auto start for DataBase

Featured Replies

بتاريخ:

السلام عليكم ازيكم ياشباب
انا عندى مشكله :o بسيطه ياريت تحلوهالى
انا عامل setup oracle on linux بس كل مقفل الجهاز وافتحه لازم اعمل startup for sql :D هل ممكن احد يمكن يساعدنى فى عمل auto start database ياريت :( حد يساعدنى فى اسرع وقت ممكن

وشكرا لكم ياشباب

بتاريخ:

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

بتاريخ:
  • كاتب الموضوع

دكتور كليك الحقنى انا بعد ماعملت كل الخطوات اللى انت قولتها ال enterprise manager & isqlplus مش عايزين يفتحوا مع العلم انى بعملهم start وكل حاجه ولما اعملهم check config هو شايف كل حاجه وبيقولى انهم already running الحقنى وقولى اعمل ايه؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ :(

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.