السلام عليكم ورحمه الله
ارجو المساعده لديى قاعده بيانات SMARTHR والسيرفس شغال بدون مشاكل ولا كن Listener/instance لم يتعرف عليها عموما حاولت وفشلت فى تصحيح الخطأ , فقمت بإنشاء قاعده بيانات اخرى وسميتها SMARTRH و عموما توجد سيرفس اخرى تشتغل بصوره طبيعيه وهيا SMARTBK, التفاصيل بالاسفل
وشكرا لكم , ارجو منكم الرد فى اسرع وقت ممكن ؟؟
ملاحظه : فى حاله اردت انشاء نفس قاعده البيانات باسم اخر فى نفس السيرفر او بنفس الاسم فى سيرفر اخر ماهيا الخطوات لنقل البيانات datafiles و controlfile و logs هل توجد امكانيه لاعاده تشغيل نفس قاعده البيانات فى سيرفر جديد.
ولكم خالص الشكر
ارجو المساعده لديى قاعده بيانات SMARTHR والسيرفس شغال بدون مشاكل ولا كن Listener/instance لم يتعرف عليها عموما حاولت وفشلت فى تصحيح الخطأ , فقمت بإنشاء قاعده بيانات اخرى وسميتها SMARTRH و عموما توجد سيرفس اخرى تشتغل بصوره طبيعيه وهيا SMARTBK, التفاصيل بالاسفل
- الكود:
##########################################################################################
## Listener.ora
##########################################################################################
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = E:\app\administrateur\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:E:\app\administrateur\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = AGADEZ.bsicne.lan)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
ADR_BASE_LISTENER = E:\app\administrateur
##########################################################################################
## tnsnames.ora
##########################################################################################
SMARTHR =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.7.100.15)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = SMARTHR)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
SMARTBK =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.7.100.15)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = SMARTBK)
)
)
ORACLNT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.7.100.15)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = SMARTBK)
)
)
SMARTRH =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.7.100.15)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = smartrh)
)
)
##########################################################################################
## lsnrctl status
##########################################################################################
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JUN-2014 19:32:07
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=AGADEZ.bsicne.lan)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 12-JUN-2014 19:15:37
Uptime 0 days 0 hr. 16 min. 33 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File e:\app\administrateur\diag\tnslsnr\AGADEZ\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=AGADEZ.bsicne.lan)(PORT=1521)))
Services Summary...
Service "SMARTBKXDB" has 1 instance(s).
Instance "smartbk", status READY, has 1 handler(s) for this service...
Service "smartbk" has 1 instance(s).
Instance "smartbk", status READY, has 1 handler(s) for this service...
Service "smartrh" has 1 instance(s).
Instance "smartrh", status READY, has 1 handler(s) for this service...
Service "smartrhXDB" has 1 instance(s).
Instance "smartrh", status READY, has 1 handler(s) for this service...
The command completed successfully
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>
##########################################################################################
## lsnrctl stop & Start
##########################################################################################
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JUN-2014 19:33:03
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=AGADEZ.bsicne.lan)(PORT=1521)))
The command completed successfully
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JUN-2014 19:33:10
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is E:\app\administrateur\product\11.2.0\dbhome_1\network\admin\listener.ora
Log messages written to e:\app\administrateur\diag\tnslsnr\AGADEZ\listener\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=AGADEZ.bsicne.lan)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=AGADEZ.bsicne.lan)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 12-JUN-2014 19:33:15
Uptime 0 days 0 hr. 0 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\administrateur\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File e:\app\administrateur\diag\tnslsnr\AGADEZ\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=AGADEZ.bsicne.lan)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
##########################################################################################
## lsnrctl service
##########################################################################################
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JUN-2014 19:34:27
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=AGADEZ.bsicne.lan)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "SMARTBKXDB" has 1 instance(s).
Instance "smartbk", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: AGADEZ, pid: 6504>
(ADDRESS=(PROTOCOL=tcp)(HOST=AGADEZ.bsicne.lan)(PORT=53058))
Service "smartbk" has 1 instance(s).
Instance "smartbk", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "smartrh" has 1 instance(s).
Instance "smartrh", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "smartrhXDB" has 1 instance(s).
Instance "smartrh", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: AGADEZ, pid: 4628>
(ADDRESS=(PROTOCOL=tcp)(HOST=AGADEZ.bsicne.lan)(PORT=52716))
The command completed successfully
##########################################################################################
## sqlplus /nolog
## conn / as sysdba
##########################################################################################
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>set ORACLE_SID=smarthr
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 12 19:36:01 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn sys / as sysdba
Enter password:
ERROR:
ORA-12560: TNS:protocol adapter error
SQL>
E:\app\administrateur\product\11.2.0\dbhome_1\NETWORK\ADMIN>exp xxxxx/0000@smarthr
Export: Release 10.2.0.1.0 - Production on Thu Jun 12 19:37:53 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
EXP-00056: ORACLE error 12514 encountered
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
وشكرا لكم , ارجو منكم الرد فى اسرع وقت ممكن ؟؟
ملاحظه : فى حاله اردت انشاء نفس قاعده البيانات باسم اخر فى نفس السيرفر او بنفس الاسم فى سيرفر اخر ماهيا الخطوات لنقل البيانات datafiles و controlfile و logs هل توجد امكانيه لاعاده تشغيل نفس قاعده البيانات فى سيرفر جديد.
ولكم خالص الشكر
الخميس يناير 19, 2017 3:09 pm من طرف bodybody
» Oracle 11g Grid Infrastructure Asm
الخميس يناير 12, 2017 4:22 pm من طرف bodybody
» Install Oracle Linux
الخميس يناير 12, 2017 4:21 pm من طرف bodybody
» Oracle 11g R2 Upgrade 11.2.0.1.0 to 11.2.0.4.0
الخميس يناير 12, 2017 4:20 pm من طرف bodybody
» Install Oracle Linux
الخميس ديسمبر 15, 2016 9:33 pm من طرف bodybody
» How To Install oracle 11g On Linux
الخميس ديسمبر 15, 2016 9:33 pm من طرف bodybody
» Oracle 11g Grid Infrastructure Asm
الخميس ديسمبر 15, 2016 9:32 pm من طرف bodybody
» Oracle 11g R2 Upgrade 11.2.0.1.0 to 11.2.0.4.0
الخميس ديسمبر 15, 2016 9:31 pm من طرف bodybody
» نسخة الأوراكل 10جي للوندوز فيستا و سفن كاملة
الجمعة مارس 20, 2015 5:03 pm من طرف dhahir
» ربط الجافا بقاعدة البيانات اوراكل
الخميس ديسمبر 25, 2014 8:35 pm من طرف emad alamro
» سلسلسه دورات مجانيه فى Oracle Apps
السبت سبتمبر 13, 2014 6:50 pm من طرف mr_mahmoud_ed
» ORA-12514 and ORA-12560 .. how to fix this
السبت يونيو 14, 2014 12:24 am من طرف redasaleh