Ò»¸öoracle SIDÅäÖÃÎÊÌâµÄ´¦Àí
ORA-24324: δ³õʼ»¯·þÎñ¾ä±ú
ORA-01041: ÄÚ²¿´íÎó, hostdef À©Õ¹Ãû²»´æÔÚ
¿´ÁËÒÔÏÂÎÄÕ£¬ÔòÐ޸ģ¬µ«Ð޸ĺóÎÞ·¨Æô¶¯listener£¬ÓÚÊÇÏëµ½ÔÚnet assistanceÖÐÐ޸ģ¬Íê³É£º
ÅäÖÃΪÒÔϲÅÄÜÕýÈ·Æô¶¯listener£º
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = G:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = G:\oracle\product\10.2.0\db_1)
(SID_NAME = orcl)
)
)
2ÔÂ3ÈÕ
SID config
ÕýÎÄ
oracle ÖÐstartup mountÎÞ·¨Æô¶¯·þÎñ(2009-08-26 23:08:11)
±êÇ©£ºÔÓ̸
½ñÌìÔÚʹÓÃoracleµÄrmanÃüÁîʱ£¬·¢ÏÖoracle ÖÐstartup mountÎÞ·¨Æô¶¯·þÎñ£¬ÔÚÍøÉÏÕÒÁË°ëÌ죬ÕÒµ½ÁËÒ»¸ö·½·¨£¬»¹Ã»ÓÐÊÔÊÔ£¬ÏÈ·¢ÔÚÕâÀï¡£
²é¿´( 7 ) / ÆÀÂÛ( 1 ) / ÆÀ·Ö( 0 / 0 )
Êý¾Ý¿âshutdownºóstartupÆô¶¯Ê±±¨´íora£12514£ºTNS:¼àÌý³ÌÐòµ±Ç°ÎÞ·¨Ê¶±ðÁ¬½ÓÃèÊö·ûÖÐÇëÇóµÄ·þÎñ¡£
ÔÒò£º
·þÎñÆ÷¶ËµÄÕìÌýÆ÷ÖÐÒѾûÓÐÁËÄãÒªÁ¬½ÓµÄÀý³ÌÁË£¬ËùÒÔÄã¿Ï¶¨Á¬²»ÉÏ°¡¡£
½â¾ö°ì·¨£º
1.
ÔÚ·þÎñÆ÷¶ËµÄÕìÌýÆ÷ÖмÓÈ뾲̬ע²áʵÀý¾ÍÐУ¬ÔÚF:\oracle\product\10.2.0\db_1\NETWORK\ADMIN£¨¿ÉÄÜÄãµÄÅÌ·û»á²»Ò»Ñù£©ÖÐÕÒµ½listenser.oraÎļþ£¬´ò¿ª£¬ÔÚSID_LIST_LISTENERÖмÓÈëÒ»¸öSID_DESC,ÈçÏ£ºÆäÖÐhjgisΪʵÀýÃû¡£
#listener.ora Network Configuration File: F:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(SID_NAME = hjgis)
(ORACLE_HOME = F:\oracle\product\10.2.0\db_1)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = hujian)(PORT = 1521))
)
)
2.
ÖØмÓÔØÕìÌý¡£ÔÚ·þÎñÆ÷¶Ë£¬ÔÚ²Ù×÷ÃüÁîÌáʾ·ûÏ£º
C:\>lsnrctl
LSNRCTL
Ïà¹ØÎĵµ£º
¶ÔÓÚÎÒÃÇÕâ¸öÏîÄ¿À´Ëµ£¬Êý¾Ý¿âµÄ´æÈ¡µÄÐÔÄܾö¶¨ÁËÊý¾ÝÌṩµÄÐÔÄÜ¡£ÓÅ»¯µÄ´óÖµÄÔÀíÖ»ÓÐÁ½¸ö£ºÒ»ÊÇÊý¾Ý·Ö¿é´æ·Å£¬±ãÓÚÊý¾ÝµÄת´¢ºÍ¹ÜÀí£»¶þÊÇÖм䴦Àí£¬Ìá¸ßÊý¾ÝÌṩµÄËٶȡ£
»ùÓÚÉÏÃæÁ½¸ö¸ù±¾µÄÔÀí£¬½èÖúÓÚÊý¾Ý²Ö¿âµÄ¸ÅÄÁоÙÊý¾Ý¿âµÄÓÅ»¯·½Ê½£º
1£® ·ÖÇø
ÔÚÊý¾Ý²Ö¿âÖУ¬ÊÂʵ±í£¬Ë÷Òý±í£¬Î¬¶È±í·Ö´¦ÓÚÈý¸ö²»Í ......
Èç¹ûÊý¾ÝÎļþË𻵣¬»áÓöµ½1157 ºÍ 1110µÄ´íÎó¡£ÕâʱºòÐèÒª½éÖʻָ´Êý¾Ý¿â¡£
»Ö¸´Êý¾Ý¿âÐèÒªÓÐÏàÓ¦µÄ±¸·ÝºÍ±¸·ÝÒÔÀ´²úÉúµÄËùÓеĹ鵵ÈÕÖ¾ÎļþºÍÁª»úÈÕÖ¾Îļþ¡£
Èç¹ûÔÚmountµ½openµÄʱºò·¢ÏÖÆÕͨµÄÊý¾ÝÎļþË𻵣¬Êý¾Ý¿â»áÍ£ÁôÔÚmount״̬Ï£¬Õâʱºò¿ÉÒÔÖ´ÐÐalter database datafile x offline drop ºÍalter database open à ......
--½¨Á¢²âÊÔÊý¾Ý
create table a(id number);
create table b(id number);
insert into a values(1);
insert into a values(2);
insert into a values(3);
insert into b values(1);
insert into b values(2);
insert into b values(4);
commit;
--×ó:
--Ö÷Á÷Êý¾Ý¿âͨÓõķ½·¨
select * from a left ......
http://mrhaozi.itpub.net/post/41048/495175
ÎﻯÊÓͼ
ÀûÓÃÇ¿ÖƲéѯÖØдºÍеÄÇ¿´óµÄµ÷Õû¹ËÎʳÌÐò — ËüÃÇʹÄú²»ÔÙÐèҪƾ²Â²â½øÐй¤×÷ — µÄÒýÈ룬ÔÚ 10g ÖйÜÀíÎﻯÊÓͼ±äµÃ¸ü¼ÓÈÝÒ×
ÎﻯÊÓͼ (MV) — Ò²³ÆΪ¿ìÕÕ — Ò»¶Îʱ¼äÀ´ÒѾ¹ã·ºÊ¹Óá£MV ÔÚÒ»¸ö¶ÎÖд洢²éѯ½á¹û£¬²¢ÇÒÄܹ»ÔÚÌá½»²éѯ ......