Sziasztok,
Segítségre lenne szükségem Oracle installban Sun Solaris 10-en.
Az Oracle-t már felinstalláltam a "runInstaller –ignoreSysPrereqs" commanddal és a "Do not create a starter database" választva.
Amikor a DBCA-val szeretnék adatbázist létrehozni akkor már az elején feldob egy csomó hibaüzenetet (pl. hostdef.., ORA-01034: ORACLE not availabe).
Ezután próbálkoztam manuálisan létrehozni az adatbázist:
# sqlplus /nolog
SQL*Plus: Release 10.1.0.2.0 - Production on Thu Nov 30 16:07:40 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> connect / as sysdba
Connected to an idle instance.
SQL> startup nomount
ORA-03113: end-of-file on communication channel
SQL>
Akár mit csinálok ezt a hibaüzenetet kapom.
Valakinek valami ötlet?
Előre is köszi
KovAti
- 12223 megtekintés
Hozzászólások
Tán körül kéne nézni az alert_log-ban, hogy mi történik, nem?
- A hozzászóláshoz be kell jelentkezni
Köszi, megnéztem ez volt benne:
The value of parameter db_block_buffers is below
the required minimum
The new value is ((4MB * the number of cpus)/db_block_size)
Thu Nov 30 16:23:23 2006
Errors in file /export/oracle/product/10.1.0/db_1/rdbms/log/orcl_ora_1043.trc:
ORA-07445: exception encountered: core dump [kcbbnwa()+448] [SIGFPE] [Integer divide by zero] [0x100ECCFE0] [] []
Ezután (próbára) átirtam a "db_block_buffers"-t a duplájára, de ugyanazt kaptam:
The value of parameter db_block_buffers is below
the required minimum
The new value is ((4MB * the number of cpus)/db_block_size)
Thu Nov 30 16:29:12 2006
Errors in file /export/oracle/product/10.1.0/db_1/rdbms/log/orcl_ora_1130.trc:
ORA-07445: exception encountered: core dump [kcbbnwa()+448] [SIGFPE] [Integer divide by zero] [0x100ECCFE0] [] []
Jól látom, hogy két probléma is van (1. db_block... kevés, 2. valamit nullával akar osztani)?
Itt van a orcl_ora_1130.trc is (hátha segít):
/export/oracle/product/10.1.0/db_1/rdbms/log/orcl_ora_1130.trc
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /export/oracle/product/10.1.0/db_1
System name: SunOS
Node name: ingair1
Release: 5.10
Version: Generic_118822-27
Machine: sun4u
Instance name: orcl
Redo thread mounted by this instance: 0
Oracle process number: 0
1130
kstwlb: SGA is no longer mapped
Exception signal: 8 (SIGFPE), code: 1 (Integer divide by zero), addr: 0x100eccfe
0, PC: [0x100eccfe0, kcbbnwa()+448]
*** 2006-11-30 16:29:12.382
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [kcbbnwa()+448] [SIGFPE] [Integer di
vide by zero] [0x100ECCFE0] [] []
Current SQL information unavailable - no SGA.
Köszi a segítséget
- A hozzászóláshoz be kell jelentkezni
Ajánlom figyelmedbe a Metalink Note:312533.1-t és a fórumot, ahol ezt találtam: Note:654003.993.
Erre keresve megleled (ez az egyetlen találtat, all sources-ban keresd!):
ORA-07445 ksedmp kcbbnwa() Integer divide by zero
Elméletileg ismert bug.
--
God bless IQ
- A hozzászóláshoz be kell jelentkezni
Köszi, de sajnos még nincs Metalink regisztrációm (Oracle most keresi a support identifier-t).
Esetleg nem tudnád idekopizni a Note-ot?
THX
- A hozzászóláshoz be kell jelentkezni
Oracle Server-Enterprise and Standard Edition/DBA Administration Technical Forum
Displayed below are the messages of the selected thread.
Thread Status: Active
From: Herbert KRUMHUS 25-Apr-06 07:56
Subject: Not able to create database via dbca
RDBMS Version:
Operating System and Version: SUN SOLARIS 10
Error Number (if applicable): 1041 and 7445
Product (i.e. SQL*Loader, Import, etc.): DBCA
Product Version: 10.1.0.5
Not able to create database via dbca
Hello,
I'm not able to create any database using the dbca.
Everytime I received a message box with the following error:
"ORA-01041: internal error.hostdef extension doesn't exist"
In the alert logfile I found this message:
"ORA-07445: exception encountered: core dump [kcbbnwa()+360] [SIGFPE] [Integer divide by zero] [0x
100F245E8] [] []"
In the corrosponding trace file are the following entries:
"Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /opt/oracle/prg
System name: SunOS
Node name: mssnsrp5
Release: 5.10
Version: Generic_118822-20
Machine: sun4u
Instance name: oratest
Redo thread mounted by this instance: 0
Oracle process number: 0
1341
kstwlb: SGA is no longer mapped
Exception signal: 8 (SIGFPE), code: 1 (Integer divide by zero), addr: 0x100f245e8, PC: [0x100f245
e8, kcbbnwa()+360]
*** 2006-04-25 08:52:30.246
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [kcbbnwa()+360] [SIGFPE] [Integer divide by zero] [0x
100F245E8] [] []
Current SQL information unavailable - no SGA."
What's my fault?
Are there any problems with the installation of ORACLE?
From: Andrew Allen 25-Apr-06 13:30
Subject: Re : Not able to create database via dbca
It looks to me like you have three options here:
1) try creating the database using scripts / from the command line to see exactly at what stage the problem is occuring -- also creates database using a different method than dbca, so it may work where dbca does not.
2) reinstall oracle to see if this does not solve the problem -- but only if you do not have a working database on tha server already.
3) contact support for help
From: Herbert KRUMHUS 25-Apr-06 14:11
Subject: Re : Re : Not able to create database via dbca
Thanks for your help, but the error will not disappear.
Not even after a reinstallation of ORACLE, the same behaviour.
No database will be created, not during the installation and not by using the dbca.
I think the instance can't be started in a correct way.
From: Andrew Allen 25-Apr-06 15:51
Subject: Re : Re : Re : Not able to create database via dbca
Try this, in a script -- edit file names as appropriate to your server:
# connect SYS/change_on_install as SYSDBA
set echo on
spool CreateDB.log
startup nomount pfile="/u01/app/oracle/product/10.1.0/dbs/initMY_DB.ora"
CREATE DATABASE MY_DB
USER SYS IDENTIFIED BY DoNotUse
USER SYSTEM IDENTIFIED BY getfired
LOGFILE GROUP 1 ('/w01/oradata/MY_DB/redo01a.log',
'/w05/oradata/MY_DB/redo01b.log') SIZE 4M,
GROUP 2 ('/w02/oradata/MY_DB/redo02a.log',
'/w05/oradata/MY_DB/redo02b.log') SIZE 4M,
GROUP 3 ('/w03/oradata/MY_DB/redo03a.log',
'/w05/oradata/MY_DB/redo03b.log') SIZE 4M,
GROUP 4 ('/w04/oradata/MY_DB/redo04a.log',
'/w05/oradata/MY_DB/redo04b.log') SIZE 4M
/* check these parameters for sufficiency */
MAXINSTANCES 8
MAXLOGFILES 16
MAXLOGMEMBERS 5
MAXLOGHISTORY 3276
MAXDATAFILES 4096
MAXLOGHISTORY 1
CHARACTER SET WE8ISO8859P1
NATIONAL CHARACTER SET AL16UTF16
DATAFILE '/u04/oradata/MY_DB/system_01.dbf' SIZE 512M REUSE
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '/u04/oradata/MY_DB/sysaux_01.dbf' SIZE 120M REUSE
AUTOEXTEND OFF
DEFAULT TEMPORARY TABLESPACE temp
TEMPFILE '/u05/oradata/MY_DB/temp_01.dbf' SIZE 512M REUSE
AUTOEXTEND OFF
DEFAULT TABLESPACE users
DATAFILE '/u04/oradata/MY_DB/users_01.dbf' SIZE 64M REUSE
AUTOEXTEND OFF
EXTENT MANAGEMENT LOCAL
SEGMENT SPACE MANAGEMENT AUTO
UNDO TABLESPACE undo
DATAFILE '/u07/oradata/MY_DB/undo_01.dbf' SIZE 1024M REUSE
AUTOEXTEND OFF;
spool off
-- exit;
to use this script;
1. edit your oratab file to make an entry for your database.
2. set ORACLE_SID to your database name (MY_DB)
3. Make sure you have an initMY_DB.ora file in the right place -- usually ORACLE_HOME/dbs directory
4. Put the above create db command in a sql file and edit it to put correct paths and change 'MY_DB' to your database name.
Make sure your ORACLE_HOME is set properly and is included in your PATH variable.
5. determine if you need LD_LIBRARY_PATH set for your os and do so if necessary.
from the same directory as the file you just created -- step 4,
login to oracle as SQLPLUS "/ as sysdba". You will be connected to an idle instance. Then execute the create db sql file, something like @createdb.sql
It will either work -- and take a couple of minutes to create the files and then return with 'database created', or it will fail and give you a message in the spool file.
If this works, then all you need do is run the catalog and options scripts.
good luck
From: Herbert KRUMHUS 26-Apr-06 06:27
Subject: Re : Re : Re : Re : Not able to create database via dbca
Hi Andrew,
I tried the script and the command
"startup nomount pfile ..."
brings up the described problem. In the sqlplus environment the following error appears:
"ORA-01041: internal error. hostdef extension doesn't exist"
and in the corresponding trace file I have the same entries as described before.
"Exception signal: 8 (SIGFPE), code: 1 (Integer divide by zero), addr: 0x100f24648, PC: [0x100f24648, kcbbnwa()+360]
*** 2006-04-26 07:20:32.548
ksedmp: internal or fatal error
ORA-07445: exception encountered: core dump [kcbbnwa()+360] [SIGFPE] [Integer divide by zero] [0x100F24648] [] []
Current SQL information unavailable - no SGA."
Perhaps there is something wrong in the system (SOLARIS 10)?
Perhaps the kernel parameters are not set in a correct way.
Thanks for your help.
Best Regards.
From: Oracle, imran qureshi 26-Apr-06 12:57
Subject: Re : Not able to create database via dbca
Hi
Have you applied any patch recently? Sun Solaris x86 OS Patch 119565-01 or Sun SPARC OS Patch 119564-01.
See article 312533.1 for details.
Thanks
Imran
From: Herbert KRUMHUS 27-Apr-06 05:47
Subject: Re : Re : Not able to create database via dbca
Hi,
I've seen that there is another SUN SOLARIS patch (119564-01) and I wanted to download it from sun, but this patch is no longer available.
It is withdrawn by sun, so is there another patch which I have to install in place of 119564-01?
Thanks a lot and
best regards.
From: Herbert KRUMHUS 27-Apr-06 07:06
Subject: Re : Not able to create database via dbca
Hi,
now I'm able to create databases with the dbca!
With a SUN-Admin I analyzed the OS and he told me that there several patches in the system which are not necessary.
So I removed any installed patches and now everything works fine.
I don't know which patch raised the problem, but now everything works as wanted :-)))))
Thanks a lot to all!
Best Regards.
--
God bless IQ
- A hozzászóláshoz be kell jelentkezni
Subject: ORA-1041 AND ORA-7445 AFTER APPLYING SUN OS PATCH 119565-01 OR OS PATCH 119564-01
Doc ID: Note:312533.1 Type: PROBLEM
Last Revision Date: 16-JUN-2005 Status: REVIEW_READY
In this Document
Symptoms
Changes
Cause
Solution
References
@ (AuthWiz 2.2)
@ Click here to edit in wizard.
Applies to:
Oracle Server - Enterprise Edition - Version:
Solaris Operating System (x86)
Solaris Operating System (SPARC 64-bit)
Solaris Operating System (SPARC 32-bit)
Symptoms
You are running 10g on Solaris Release 10_x86 or Solaris SPARC Release 10 and after applied the OS Patch 119565-01 on 10_x86 or OS Patch 119564-01 on SPARC Release 10 you cannot startup the database and you receive ORA-1041 and ORA-7445. The stack trace looks like the following:
ORA-07445: exception encountered: core dump [SIGSEGV] [Address not mapped to object] [0] [] [] []
Current SQL information unavailable - no SGA.
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
-------------------- -------- -------------------- ----------------------------
ksedmp
ssexhd
sighndlr
call_user_handler
sigacthandler
prune_cpus
prune_tree
lgrp_init
skgsnisize
kcbsnu
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmpsvp
lrmsmv
kspptsp
kpoparsp
opiodr
ttcpip
opitsk
opiino
opiodr
opidrv
sou2o
main
start
--------------------- Binary Stack Dump ---------------------
Changes
Applied the Sun Solaris x86 OS Patch 119565-01 or Sun SPARC OS Patch 119564-01
Cause
This is a Sun bug:
"adding patch 119564-01 to my Solaris 10 system, causes Oracle 10g to dump core"
Solution
The solution is to install patch:
118822-03 (SPARC)
118844-02 (x86)
However, at the time this article is written, these patches are not released yet.
The solution would be to backout that patch until the above patches are released.
References
Bug 4392885 - Ora-1041 And Ora-7445 Are Caused After Applying Os Patch 119565-01
http://sunsolve.sun.com/search/document.do?assetkey=1-21-119565-01
http://sunsolve.sun.com/search/document.do?assetkey=1-21-119564-01
Sun Alert ID: 101757
Errors
ORA-7445:SIGSEGV
ORA-1041 "internal error. hostdef extension doesn't exist"
ORA-7445 "exception encountered: core dump [%s] [%s]"
Key Facts
'119564-01' '119565-01' 'LGRP_INIT' 'PRUNE_CPUS' 'PRUNE_TREE' 'SKGSNISIZE'
Help us improve our service. Please email us your comments for this document. .
--
God bless IQ
- A hozzászóláshoz be kell jelentkezni
Köszönöm szépen a segítséget, de amint látszik a patch már fennt van
Patch: 118822-27 Obsoletes: 118548-01 118550-04 119719-01 119205-03 119207-02 119564-01 119215-02 119334-02 119566-01 119831-01 119682-02 118859-01 118992-03 119858-02 120197-01 118850-03 119589-03 118551-03 118835-04 118846-02 118923-04 119075-14 119577-01 119683-02 119832-02 119945-02 119951-01 119949-02 119983-01 119990-01 120017-02 120302-01 120304-05 119947-02 120066-01 118553-04 119591-03 119979-01 120537-05
Sajnos nem tudom mi legyen/lehet a következő lépés.
Üdv.
KovAti
- A hozzászóláshoz be kell jelentkezni
Ne hülyits már! Olvasd EL, amit beküldtem! Pont az a baj hogy fent van a patch! Szedd le és próbáld meg úgy.
--
God bless IQ
- A hozzászóláshoz be kell jelentkezni
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
félreolvastam
bocsi
- A hozzászóláshoz be kell jelentkezni
Igy már működik!!!!!!!!!!!!!!!!!!!
SQL> startup nomount
ORACLE instance started.
Total System Global Area 218103808 bytes
Fixed Size 1301096 bytes
Variable Size 216540568 bytes
Database Buffers 0 bytes
Redo Buffers 262144 bytes
SQL>
Köszönöm szépen a segítséget!!!
- A hozzászóláshoz be kell jelentkezni
rossz vagy nincsen passwordfile.
orapwd file= entries= password=
nezz utana, sokszor szivtam ilyennel. ja es elotte torolj le minden controlfilet meg datafilet amit eddig letrehozott.
deejayy DOT hu
- A hozzászóláshoz be kell jelentkezni
nem volt orapw$SID fileom, ezért legeneráltam egy újat, de sajna semmi változás.
UI: mily kontrol és adatfájlokra gondolsz? Bocs kicsit hülye vagyok az Oracle-höz
- A hozzászóláshoz be kell jelentkezni
sziasztok!
nekem ugyan ez a gondom, de a patch leszedese nem oldotta meg. sun v240 sunos 5.10. oracle 10g-t kellene rarakni, de nem sikerul elinditani. sqlplus "/ as sysdba" az ok, de ha a startup nomount-ot adom neki, akkor a kovetkezok jonnek vissza:
Assertion failed: 0, file skgsn.c, line 309
ORA-03113: end-of-file on communication channel
az alert-file tartalma:
Wed Dec 13 15:42:22 2006
Starting ORACLE instance (normal)
Wed Dec 13 15:42:22 2006
System parameter db_block_buffers enabled without VLM on.
Wed Dec 13 15:42:22 2006
Running with 1 strand for Non-Enterprise Edition
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
KCCDEBUG_LEVEL = 0
Using LOG_ARCHIVE_DEST_1 parameter default value as /export/oracle/dbs/arch
Autotune of undo retention is turned off.
Running with 1 strand for Non-Enterprise Edition
Dynamic strands is set to FALSE
Running with 1 shared and 0 private strand(s). Zero-copy redo is FALSE
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 10.1.0.2.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 201326592
java_pool_size = 8388608
resource_manager_plan = SYSTEM_PLAN
control_files = /export/oracle/oradata/orcl/control01.ctl, /export/oracle/oradata/orcl/control02.ctl, /export/oracle/oradata/orcl/control03.ctl
db_block_buffers = 1024
db_block_size = 8192
log_buffer = 262144
fast_start_mttr_target = 0
rollback_segments = r0, r1
remote_login_passwordfile= EXCLUSIVE
db_domain = local.db
instance_name = orcl
hash_area_size = 262144
background_dump_dest = /export/oracle/admin/orcl/bdump
user_dump_dest = /export/oracle/admin/orcl/udump
core_dump_dest = /export/oracle/admin/orcl/cdump
sort_area_size = 524288
db_name = orcl
open_cursors = 300
Wed Dec 13 15:42:24 2006
Errors in file /export/oracle/admin/orcl/udump/orcl_ora_1011.trc:
ORA-07445: exception encountered: core dump [_lwp_kill()+8] [SIGIOT] [unknown code] [0x3F300000000] [] []
van valami otletetek?
- A hozzászóláshoz be kell jelentkezni
Előszöris, csakhogy tisztázzuk. Neked NEM ugyanaz a hibád. Ráadásul SPARC arch-on van a cókmók, ami meg teljesen más lapra tartozik.
Másodszor: A hiba ismert 2005 márciusa óta, ajánlom figyelmedbe a Metalink Forum 588618.992-t és a Metalink Forum 556255.994-t. Különösen a másodikat. Abban van a megoldás a problémádra.
[Amire kerestem: "ORA-07445 _lwp_kill() 8 SIGIOT"]
Ha nem lenne megoldás, amit ott írnak, akkor kérem az sqlplus "/ as sysdba" után beírni hogy
show sga
és annak kimenetét, valamit kérem az init.ora-dat.
--
God bless IQ
- A hozzászóláshoz be kell jelentkezni
sajnos nincs metalink hozzaferesem, ugyhogy a threadeket amiket emlitettel nem tudom megnezni sajnos.
IVR3% sqlplus "/ as sysdba"
SQL*Plus: Release 10.1.0.2.0 - Production on Thu Dec 14 09:12:11 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to an idle instance.
SQL> show sga
ORA-01034: ORACLE not available
initorcl.ora:
db_block_size=8192
db_block_buffers=1024
hash_area_size=262144
open_cursors=300
background_dump_dest=$ORACLE_HOME/admin/orcl/bdump
core_dump_dest=$ORACLE_HOME/admin/orcl/cdump
timed_statistics=TRUE
user_dump_dest=$ORACLE_HOME/admin/orcl/udump
db_domain=local.db
remote_login_passwordfile=exclusive
control_files=("/export/oracle/oradata/orcl/control01.ctl", "/export/oracle/oradata/orcl/control02.ctl", "/export/oracle/oradata/orcl/control03.ctl")
db_name=orcl
instance_name=orcl
java_pool_size=5242880
shared_pool_size=200000000
log_buffer=32768
processes=150
fast_start_mttr_target=300
resource_manager_plan=SYSTEM_PLAN
sort_area_size=524288
rollback_segments=r0,r1
- A hozzászóláshoz be kell jelentkezni
panik lefujva. megjott a vashoz a hozza valo disk (10.2-es oracle) es ezzel semmilyen gond nincs. a telepitesi ido is 2 ora helyett 20 perc. pocroff
- A hozzászóláshoz be kell jelentkezni
* Shell-ben export DISABLE_NUMA=TRUE
* Add az initorcl.ora végéhez:
_enable_NUMA_optimization=FALSE
* sqlplus-szal belépsz. Ha azt mondja Assertion failed: 0, file skgsn.c, line 309 , le kell szarni.
* Indítsd el az instance-t. Mennie kellene.
--
God bless IQ
- A hozzászóláshoz be kell jelentkezni