Chinaunix首页 | 论坛 | 博客
  • 博客访问: 812047
  • 博文数量: 167
  • 博客积分: 7173
  • 博客等级: 少将
  • 技术积分: 1671
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-04 23:07
文章分类

全部博文(167)

文章存档

2018年(1)

2017年(11)

2012年(2)

2011年(27)

2010年(88)

2009年(38)

分类: Oracle

2010-06-18 17:04:54

今天在虚拟机上安装完oracle后出现了以下几个小错误:

1.ORA-01034: ORACLE not available

  以前在真实机上安装也没发现这个错误,google查了一些发现在win上出现居多,我就奇怪
在solaris上怎么会出现这样的错误;没办法死马当活马医(毕竟也在x86平台上);sync;sync;sync;
init 6
   起后发现还真行。真正项目上还是不要这样做呵呵,偷懒而已。

在官网上查到以下信息:

  
ORA-01034: ORACLE not available
Cause: Oracle was not started up. Possible causes include the following:

- The SGA requires more space than was allocated for it.

- The operating-system variable pointing to the instance is improperly defined.

Action:    Refer to accompanying messages for possible causes and correct the

problem mentioned in the other messages. If Oracle has been initialized, then on

some operating systems, verify that Oracle was linked correctly. See the platform

specific Oracle documentation.




2. ORA-01078: failure in processing system parameters

   应该是pfile设置出问题了,我的初始库定义的是orcl,但这里提示是orac10g

   我利用我以前启动成功的spfile重新创建pfile

  
 
3. ORA-00371 not enough shared pool memory


如果进行
alter system set processes=2000 scope=spfile;
shutdown immediate
startup
或在
pfile里面修改了processes 等控制数据库线程的参数有可能导致该错误的出现。
因为share_pool的需要的大小是跟进程数有关系;oracle会根据processes参数的值在共享池中分配一定数量的内存,参数值越大,分配的内存也越多。在处理过程中不能startup nomount,只能利用比较旧的pfile进行启动。


阅读(1132) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~