下一页 上一页 目录

8. 故障排除

以下是一些故障排除的提示。

8.1 在使用 Oracle 7.2.x 时,我无法创建数据库。

Oracle 在 7.2.x 产品中提供的文件错误地假定您要设置并行服务器配置。提供的 init.ora 文件中包含以下行:


# define parallel server (multi-instance) parameters
ifile = ora_system:initps.ora

要解决此问题,只需将其注释掉即可:

# define parallel server (multi-instance) parameters
#ifile = ora_system:initps.ora

8.2 在版本 7.3.4.x 下,我在 svrmgrl 中遇到段错误。

很多人向我报告过这个问题。Gerald Weber gerald_weber@master.co.at 解决了这个问题


Hi Paul,

first of all thanks for your help,but none of the possible problems you are
thinking about were responsible for my problem.
The problem is the iBCS-emulator itself.
It seems that Oracle performs an sysconf-calls which isn't supported in the
current version of iBCS.
Look at the trace :

<7>[22]615 sysconf(34)
<7>iBCS2 unsupported sysconf call 34
<7>[22]615 sysconf error return linux=-22 -> ibcs=22 <Invalid argument>
<7>[24]615 sysconf(34)
<7>iBCS2 unsupported sysconf call 34
<7>[24]615 sysconf error return linux=-22 -> ibcs=22 <Invalid argument>

Solution:  patching the iBCS-source.apply the following diff-pach :


--- sysconf.c   Sun Apr 19 19:19:15 1998
+++ sysconf.c.ori       Sun Apr 19 19:28:45 1998
@@ -60,7 +60,6 @@
 #define _SC_JOB_CONTROL        5
 #define _SC_SAVED_IDS  6
 #define _SC_VERSION    7
-#define _SC_HACK_FOR_ORACLE 34

 #define _SC_PAGESIZE   11

@@ -97,11 +96,6 @@
                case _SC_SAVED_IDS: {
                        return (1);
                }
-
-               case _SC_HACK_FOR_ORACLE: {
-                 return (1);
-               }
-

                case _SC_PAGESIZE: {
                  return PAGE_SIZE;


下一页 上一页 目录