本文共 2988 字,大约阅读时间需要 9 分钟。
在对某数据库进行巡检时发现alert.log中出现了以下错误信息
OER 7451 in Load Indicator : Error Code = OSD-04500: 指定了非法选项O/S-Error: (OS 1) 函数不正确。 !OER 7451 in Load Indicator : Error Code = OSD-04500: 指定了非法选项O/S-Error: (OS 1) 函数不正确。 !
我们可以查看错误信息说明
07451, 00000, "slskstat: unable to obtain load information."// *Cause: kstat library returned an error. Possible OS failure// *Action: Check result code in sercose[0] for more information.
对于这个问题MOS上有一入篇文章OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified [ID 1060806.1]说是操作系统版本与数据库版本不匹配造成的。
OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified [ID 1060806.1]Applies to:Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.1 - Release: 10.2 to 11.2Microsoft Windows (32-bit)Microsoft Windows x64 (64-bit)***Checked for relevance on 01-Nov-2011***SymptomsThe following error repeats over and overinthe database alert log immediately after startup.OER 7451 inLoad Indicator : Error Code = OSD-04500: illegal option specifiedO/S-Error: (OS 1) Incorrectfunction. !ChangesThis is a new installation.CauseInstalled 32-bit Oracle database software on a 64-bit MS Windows OSwhichis not supported.Here is excerpt from Note: 740926.1 on this subject.Note: For the Database software, you can ONLYinstallthe x64 version on MS Windows (x64). You can NOTinstallthe 32-bit version Database software on MS Windows (x64).SolutionInstall 32-bit Oracle database software only on 32-bit MS Windows OS.
检查数据库版本,发现数据库是32位
C:\Users\Administrator>sqlplus /nologSQL*Plus: Release 10.2.0.4.0 - Production on 星期六 7月 21 18:04:28 2018Copyright (c) 1982, 2007, Oracle. All Rights Reserved.SQL> conn sys/system@abc as sysdba已连接。SQL> select * from v$version;BANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProdPL/SQL Release 10.2.0.4.0 - ProductionCORE 10.2.0.4.0 ProductionTNS for 32-bit Windows: Version 10.2.0.4.0 - ProductionNLSRTL Version 10.2.0.4.0 - ProductionSQL> exit从 Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options 断开
检查操作系统,发现操作系统是64位
C:\Users\Administrator>systeminfo 主机名: WIN-ROUOJ6ERFO2 OS 名称: Microsoft Windows Server 2008 R2 Enterprise OS 版本: 6.1.7601 Service Pack 1 Build 7601 OS 制造商: Microsoft Corporation OS 配置: 独立服务器 OS 构件类型: Multiprocessor Free 注册的所有人: Windows 用户 注册的组织: 产品 ID: 00486-OEM-8400691-20006 初始安装日期: 2016/8/25, 11:37:01 系统启动时间: 2018/7/24, 9:32:07 系统制造商: VMware, Inc. 系统型号: VMware Virtual Platform 系统类型: x64-based PC 处理器: 安装了 1 个处理器。 [01]: Intel64 Family 6 Model 26 Stepping 5 GenuineIntel ~2128 Mhz BIOS 版本: Phoenix Technologies LTD 6.00, 2014/4/14 Windows 目录: C:\Windows 系统目录: C:\Windows\system32果然是在64位的系统中安装了32位的Oracle软件,数据库版本与操作系统版需要严格遵守安装官方的support list
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26015009/viewspace-2158444/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26015009/viewspace-2158444/