用脚本建库时:
D:\oracle\admin\huifu\scripts>mkdir d:\oracle\admin\huifu\bdump
D:\oracle\admin\huifu\scripts>mkdir d:\oracle\admin\huifu\cdump
D:\oracle\admin\huifu\scripts>mkdir d:\oracle\admin\huifu\create
D:\oracle\admin\huifu\scripts>mkdir d:\oracle\admin\huifu\pfile
D:\oracle\admin\huifu\scripts>mkdir d:\oracle\admin\huifu\udump
D:\oracle\admin\huifu\scripts>mkdir d:\oracle\ora92\database
子目录或文件 d:\oracle\ora92\database 已经存在。
D:\oracle\admin\huifu\scripts>mkdir e:\oradata\huifu
D:\oracle\admin\huifu\scripts>mkdir e:\oradata\huifu\archive
D:\oracle\admin\huifu\scripts>set ORACLE_SID=huifu
D:\oracle\admin\huifu\scripts>d:\oracle\ora92\bin\oradim.exe -new -sid HUIFU -s
tartmode m
D:\oracle\admin\huifu\scripts>d:\oracle\ora92\bin\oradim.exe -edit -sid HUIFU -
startmode a
D:\oracle\admin\huifu\scripts>d:\oracle\ora92\bin\orapwd.exe file=d:\oracle\ora9
2\database\PWDhuifu.ora password=change_on_install
D:\oracle\admin\huifu\scripts>d:\oracle\ora92\bin\sqlplus /nolog @d:\oracle\admi
n\huifu\scripts\CreateDB.sql
SQL*Plus: Release 9.2.0.1.0 - Production on 星期六 2月 11 21:12:19 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
已连接到空闲例程。
SQL> spool d:\oracle\ora92\assistants\dbca\logs\CreateDB.log
SQL> startup nomount pfile="d:\oracle\admin\huifu\scripts\init.ora";
ORACLE 例程已经启动。
Total System Global Area 72424008 bytes
Fixed Size 453192 bytes
Variable Size 54525952 bytes
Database Buffers 16777216 bytes
Redo Buffers 667648 bytes
SQL> CREATE DATABASE huifu
2 MAXINSTANCES 1
3 MAXLOGHISTORY 1
4 MAXLOGFILES 5
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 DATAFILE 'e:\oradata\huifu\system01.dbf' SIZE 200M REUSE AUTOEXTEND ON NEXT
10240K MAXSIZE UNLIMITED
8 EXTENT MANAGEMENT LOCAL
9 DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'e:\oradata\huifu\temp01.dbf' SI
ZE 4M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
10 UNDO TABLESPACE "UNDOTBS1" DATAFILE 'e:\oradata\huifu\undotbs01.dbf' SIZE 2
0M REUSE AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED
11 CHARACTER SET ZHS16GBK
12 NATIONAL CHARACTER SET AL16UTF16
13 LOGFILE GROUP 1 ('e:\oradata\huifu\redo01.log') SIZE 10K,
14 GROUP 2 ('e:\oradata\huifu\redo02.log') SIZE 10K;
就卡在这里了~~~~~~~