1、执行手工建库语句:
create database welson user sys identified by oracle user system identified by oracle logfile group 1 ('/u01/app/oradata/welson/redo01.log') size 50M, group 2 ('/u01/app/oradata/welson/redo02.log') size 50M, group 3 ('/u01/app/oradata/welson/redo03.log') size 50M maxlogfiles 5 maxlogmembers 5 maxloghistory 1 maxdatafiles 500 maxinstances 1 character set AL32UTF8 national character set UTF8 datafile '/u01/app/oradata/welson/system.dbf' size 500M extent management local sysaux datafile '/u01/app/oradata/welson/sysaux01.dbf' size 500M default tablespace users01 datafile '/u01/app/oradata/welson/user01.dbf' size 100M default temporary tablespace temp tempfile '/u01/app/oradata/welson/temp01.dbf' size 50M undo tablespace undotbs datafile '/u01/app/oradata/welson/undo.dbf' size 50M;
报错
create database welson * ERROR at line 1: ORA-01092: ORACLE instance terminated. Disconnection forced
查看$ORACLE_BASE/admin/welson/bdump/alert_welson.log文件,
Thu Jun 20 15:19:41 2013 Starting ORACLE instance (normal) LICENSE_MAX_SESSION = 0 LICENSE_SESSIONS_WARNING = 0 Picked latch-free SCN scheme 2 Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/oracle/dbs/arch Autotune of undo retention is turned on. IMODE=BR ILAT =10 LICENSE_MAX_USERS = 0 SYS auditing is disabled ksdpec: called for event 13740 prior to event group initialization Starting up ORACLE RDBMS Version: 10.2.0.1.0. System parameters with non-default values: __shared_pool_size = 83886080 __large_pool_size = 4194304 __java_pool_size = 4194304 __streams_pool_size = 0 sga_target = 285212672 control_files = /u01/app/oradata/welson/control01.ctl, /u01/app/oradata/welson/control02.ctl db_block_size = 8192 __db_cache_size = 188743680 undo_management = AUTO undo_tablespace = UNDOTBS1 db_name = welson PMON started with pid=2, OS id=3074 PSP0 started with pid=3, OS id=3076 MMAN started with pid=4, OS id=3078 DBW0 started with pid=5, OS id=3080 LGWR started with pid=6, OS id=3082 RECO started with pid=9, OS id=3088 SMON started with pid=8, OS id=3086 MMON started with pid=10, OS id=3090 MMNL started with pid=11, OS id=3092 CKPT started with pid=7, OS id=3084 Thu Jun 20 15:20:04 2013 create database welson user sys identified by *user system identified by *logfile group 1 ('/u01/app/oradata/welson/redo01.log') size 50M, group 2 ('/u01/app/oradata/welson/redo02.log') size 50M, group 3 ('/u01/app/oradata/welson/redo03.log') size 50M maxlogfiles 5 maxlogmembers 5 maxloghistory 1 maxdatafiles 500 maxinstances 1 character set AL32UTF8 national character set UTF8 datafile '/u01/app/oradata/welson/system.dbf' size 500M extent management local sysaux datafile '/u01/app/oradata/welson/sysaux01.dbf' size 500M default tablespace users01 datafile '/u01/app/oradata/welson/user01.dbf' size 100M default temporary tablespace temp tempfile '/u01/app/oradata/welson/temp01.dbf' size 50M undo tablespace undotbs datafile '/u01/app/oradata/welson/undotbs1.dbf' size 50M Thu Jun 20 15:20:16 2013 Database mounted in Exclusive Mode Thu Jun 20 15:20:42 2013 Successful mount of redo thread 1, with mount id 1925487268 Assigning activation ID 1925487268 (0x72c49aa4) Thread 1 opened at log sequence 1 Current log# 1 seq# 1 mem# 0: /u01/app/oradata/welson/redo01.log Successful open of redo thread 1 Thu Jun 20 15:20:43 2013 MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set Thu Jun 20 15:20:43 2013 create tablespace SYSTEM datafile '/u01/app/oradata/welson/system.dbf' size 500M EXTENT MANAGEMENT LOCAL online Thu Jun 20 15:20:43 2013 SMON: enabling cache recovery Thu Jun 20 15:21:23 2013 Completed: create tablespace SYSTEM datafile '/u01/app/oradata/welson/system.dbf' size 500M EXTENT MANAGEMENT LOCAL online Thu Jun 20 15:21:23 2013 create rollback segment SYSTEM tablespace SYSTEM storage (initial 50K next 50K) Completed: create rollback segment SYSTEM tablespace SYSTEM storage (initial 50K next 50K) Thu Jun 20 15:21:33 2013 CREATE UNDO TABLESPACE UNDOTBS DATAFILE '/u01/app/oradata/welson/undotbs1.dbf' size 50M Thu Jun 20 15:21:38 2013 ORA-30012 signalled during: CREATE UNDO TABLESPACE UNDOTBS DATAFILE '/u01/app/oradata/welson/undotbs1.dbf' size 50M ... Thu Jun 20 15:21:38 2013 Errors in file /u01/app/admin/welson/udump/welson_ora_3093.trc: ORA-00604: error occurred at recursive SQL level 1 ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type Thu Jun 20 15:21:38 2013 Errors in file /u01/app/admin/welson/udump/welson_ora_3093.trc: ORA-01501: CREATE DATABASE failed ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 5792 ORA-00604: error occurred at recursive SQL level 1 ORA-30012: undo tablespace 'UNDOTBS1' does not exist or of wrong type Error 1519 happened during db open, shutting down database USER: terminating instance due to error 1519 Instance terminated by USER, pid = 3093 ORA-1092 signalled during: create database welson user sys identified by *user system identified by *logfile group 1 ('/u01/app/oradata/welson/redo01.log') size 50M, group 2 ('/u01/app/oradata/welson/redo02.log') size 50M, group 3 ('/u01/app/oradata/welson/redo03.log') size 50M maxlogfiles 5 maxlogmembers 5 maxloghistory 1 maxdatafiles 500 maxinstances 1 character set AL32UTF8 national character set UTF8 datafile '/u01/app/oradata/welson/system.dbf' size 500M extent management local sysaux datafile '/u01/app/oradata/welson/sysaux01.dbf' size 500M default tablespace users01 datafile '/u01/app/oradata/welson/user01.dbf' size 100M default temporary tablespace temp tempfile '/u01/app/oradata/welson/temp01.dbf' size 50M undo tablespace undotbs datafile '/u01/app/oradata/welson/undotbs1.dbf' size 50M...
解决方案:
在init.ora中,如果undo_management设为auto,undo_tablespace等等的名字必须与手工建立的undotbs一致,此处中,undo tablespace undotbs应该改为undo tablespace undotbs1
initwelson.ora文件:
*.control_files='/u01/app/oradata/welson/control01.ctl','/u01/app/oradata/welson/control02.ctl' *.db_name='welson' *.db_block_size=8192 *.undo_management='AUTO' *.undo_tablespace='UNDOTBS1' *.sga_target=285212672
问题解决。
相关推荐
OCA-OCP考试指南合集,官方文档
1、我是此套题库的作者,对准确性负责,考试83分通过2、扔掉你手上所有的那些错误百出的题库,只保留这一份终极题库即可3、作者提供考试全周期技术答疑与指导,资料内含作者联系方式4、作者亲自爆肝整理、实操验证每...
oracle10g OCP 课程中文版 共4个PDF Fundamentals I-2
1. Flashback日志空间回收 在Oracle数据库19c及后续版本中,Flashback日志用于恢复数据到过去某个时间点,对于数据库的完整性和一致性至关重要。选项CE正确说明了回收Flashback日志所占用空间的情况: - C) 在空间...
### Oracle_OCP课程实验知识点详解 #### 一、Oracle官方网站资源 Oracle官方网站是学习和获取Oracle产品信息的第一站。它提供了各种版本的数据库和应用工具的下载,包括但不限于Oracle Database、Oracle ...
标题“OCP-1Z0-071新题”表示文档中包含了Oracle Certified Professional (OCP) 认证考试中1Z0-071主题的更新题目。这个考试是针对数据库管理员的,特别是对于那些管理Oracle数据库12c版本的专业人员。考试的主题...
1. **数据库安装与配置**:包括Oracle的安装过程、创建数据库、初始化参数文件(init.ora)的设置以及数据库的启动和关闭操作。 2. **数据存储与管理**:讲述表空间、数据文件、控制文件、重做日志文件的管理,以及...
mysql OCP 资料 1Z0-888(完整版Mysql )
1. **Oracle数据库中的节省空间功能** - A. 使用UNUSABLE属性创建的索引并没有消除其物理存储,即仍然有分段存在。实际上,UNUSABLE属性只是标记索引为不可用,但其占用的空间不会被回收。所以,这个选项是错误的。...
MySQL 5.7 OCP(1Z0-888)认证是Oracle公司为数据库管理员提供的专业认证,证明他们在MySQL 5.7版本中的技能和知识。这个认证涵盖了数据库安装与配置、性能优化、备份与恢复、安全性以及高级特性等多个方面。下面将...
根据提供的文件信息,“oracle10g ocp 真题 1z0-043.pdf”这份资料涉及Oracle 10g OCP认证考试的相关知识点。为了更好地理解和准备Oracle Database 10g Administrator Certified Professional (OCP) 认证考试,我们...
"OCP学习资料sg1-3" 提供的是一系列关于OCP考试的学习资源,旨在帮助考生系统性地准备和理解OCP认证所需的核心知识。 1. **Oracle数据库基础**:学习Oracle数据库的基础架构,包括数据文件、控制文件、重做日志文件...
资源分类:Python库 所属语言:Python 资源全名:ocp_windows_386-0.1.3-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
本课程实录涵盖了从基础到进阶的MySQL知识,主要针对的是MySQL OCP认证的学习路径。以下是根据课程标题和描述所涉及的一些关键知识点: 1. **MySQL基础**: 在第一天的课程中,通常会介绍MySQL的基本概念,包括...
【标题】"2015.2.1-OCP11G1Z051-1Z053最新题库 模拟试题有了这些必过.zip"所指的是一份针对ORACLE OCP(Oracle Certified Professional)认证考试的备考资料,其中包含了2015年2月1日更新的题库和模拟试题。...
本课程实录涵盖了从Day1到Day2的部分内容,特别是4-6阶段的重点知识,旨在帮助学习者系统地掌握MySQL数据库的核心技能。 在"MySQL OCP Day2-1.mp4"的视频中,可能会涵盖以下几个知识点: 1. **SQL语言基础**:包括...
本教程"Oracle11g OCA OCP 认证 All-in-One 英文版教程"涵盖了获得这两个认证所需的所有关键知识点,包括准备1Z0-051、1Z0-052和1Z0-053三门考试。 1Z0-051考试主要关注Oracle数据库基础,包括安装与配置、数据库...
### Oracle OCP 1z0-007 考试知识点详解 #### 一、考试简介 在《oracleOCP考试1z0-007.pdf》文档中提到的是Oracle Certified Professional (OCP) 认证考试的一个部分。这份文档包含了实际的考试题目和答案解析,...
5. **网络配置**:理解网络架构,如 TCP/IP 协议、Listener.ora 和 TNSNAMES.ora 文件的配置,以及如何解决连接问题。 6. **故障排查**:学习如何阅读数据库日志,定位错误,以及使用诊断工具如 trace 文件和 alert...