Chinaunix

标题: informix安装过程中出现的问题 [打印本页]

作者: 平原鸿    时间: 2003-12-05 09:04
标题: informix安装过程中出现的问题
我是ml 570 服务器,4个CPU,2G内存,当安装结束以后,使用oninit -iy报一个25580的错误,其中online.log日志如下:
hu Dec  4 11:49:02 2003

11:49:02  Event alarms enabled.  ALARMPROG = '/usr/informix/etc/log_full.sh'
11:49:08  DR: DRAUTO is 0 (Off)
11:49:08  Requested shared memory segment size rounded from 692KB to 4096KB
11:49:08  (2) failure, system out of semaphores
11:54:49  Requested shared memory segment size rounded from 8000KB to 8192KB

Thu Dec  4 11:54:49 2003

11:54:49  Event alarms enabled.  ALARMPROG = '/usr/informix/etc/log_full.sh'
11:54:55  DR: DRAUTO is 0 (Off)
11:54:55  Requested shared memory segment size rounded from 692KB to 4096KB
11:54:55  (2) failure, system out of semaphores
11:56:17  Requested shared memory segment size rounded from 8000KB to 8192KB

Thu Dec  4 11:56:17 2003

11:56:17  Event alarms enabled.  ALARMPROG = '/usr/informix/etc/log_full.sh'
11:56:23  DR: DRAUTO is 0 (Off)
11:56:23  Requested shared memory segment size rounded from 692KB to 4096KB
11:56:23  (2) failure, system out of semaphores

我的onconfig如下:
#**************************************************************************
#
#   INFORMIX SOFTWARE, INC.
#
#  Titlenconfig.std
#  Description: Informix Dynamic Server Configuration Parameters
#
#**************************************************************************

# Root Dbspace Configuration

ROOTNAMErootdbs# Root dbspace name
ROOTPATH/informixdata/rchunk110
# Path for device containing root dbspace
ROOTOFFSET0# Offset of root dbspace into device (Kbytes)
ROOTSIZE2000000# Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR0# Mirroring flag (Yes = 1, No = 0)
MIRRORPATH# Path for device containing mirrored root
M# Physical Log Configuration

PHYSDBS         rootdbs         # Location (dbspace) of physical log
PHYSFILE        100000          # Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES        6               # Number of logical log files
LOGSIZE         50000           # Logical log size (Kbytes)

# Diagnostics

MSGPATH         /usr/informix/online.log # System message log file path
CONSOLE         /dev/console    # System console message path
ALARMPROGRAM    /usr/informix/etc/log_full.sh # Alarm program path
SYSALARMPROGRAM /usr/informix/etc/evidence.sh # System Alarm program path
TBLSPACE_STATS  1

# System Archive Tape Device

TAPEDEV         /dev/null       # Tape device path
TAPEBLK         16              # Tape block size (Kbytes)
IRROROFFSET0# Offset into mirrored device (Kbytes)
TAPEDEV        /dev/null       # Log tape device path
LTAPEBLK        16              # Log tape block size (Kbytes)
LTAPESIZE       10240           # Max amount of data to put on log tape (Kbytes)
                                                                               l

STAGEBLOB                       # Informix Dynamic Server/Optical staging area

# System Configuration

SERVERNUM       0               # Unique id corresponding to a Dynamic Server ie
DBSERVERNAME    wxhp01          # Name of default database server
DBSERVERALIASES bwxhp01         # List of alternate dbservernames
NETTYPE         ipcshm,1,60,CPU # Configure poll thread(s) for nettype
DEADLOCK_TIMEOUT 60              # Max time to wait of lock in distributed env.
RESIDENT        0               # Forced residency flag (Yes = 1, No = 0)
MULTIPROCESSOR  0               # 0 for single-processor, 1 for multi-processor
NUMCPUVPS       1               # Number of user (cpu) vps
SINGLE_CPU_VP   0               # If non-zero, limit number of cpu vps to one

NOAGE           0               # Process aging
AFF_SPROC       0               # Affinity start processor
AFF_NPROCS      0               # Affinity number of processors

# Shared Memory Parameters

LOCKS           2000            # Maximum number of locks
BUFFERS         200             # Maximum number of shared buffers
NUMAIOVPS                       # Number of IO vps
PHYSBUFF        32              # Physical log buffer size (Kbytes)
LOGBUFF         32              # Logical log buffer size (Kbytes)
LOGSMAX         6               # Maximum number of logical log files
CLEANERS        1               # Number of buffer cleaner processes
SHMBASE         0x82000000        # Shared memory base address
SHMVIRTSIZE     8000            # initial virtual shared memory segment size
SHMADD          8192            # Size of new shared memory segments (Kbytes)
SHMTOTAL        0               # Total shared memory (Kbytes). 0=>;unlimited
CKPTINTVL       300             # Check point interval (in sec)
LRUS            8               # Number of LRU queues
LRU_MAX_DIRTY   60              # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY   50              # LRU percent dirty end cleaning limit
LTXHWM          50              # Long transaction high water mark percentage
LTXEHWM         60              # Long transaction high water mark (exclusive)
TXTIMEOUT       0x12c             # Transaction timeout (in sec)
STACKSIZE       32              # Stack size (Kbytes)
作者: 平原鸿    时间: 2003-12-05 09:17
标题: informix安装过程中出现的问题
自己顶一下
作者: diablocom    时间: 2003-12-05 09:36
标题: informix安装过程中出现的问题
两个问题:
1,你的系统是什么?
2,ONCONFIG中有几个事情。
   ROOTDBS的路径应该是全路径
   SERVERNUM的数目为0?
SHMBASE这一项是你改的吗?
作者: 平原鸿    时间: 2003-12-05 10:11
标题: informix安装过程中出现的问题
是的,servernum数目是0,没错,shmbase 这一项是我改的,原来是0x82000000,使用这个的是,oninit -iy仍然报25580这个错误
作者: songdu    时间: 2003-12-05 10:17
标题: informix安装过程中出现的问题
调大你的信号量的配置
作者: 平原鸿    时间: 2003-12-05 10:24
标题: informix安装过程中出现的问题
怎么调整呢,我给楼上的兄弟看我的stune配置
NODE"scosysv"
EVDEVS288
EVQUEUES280
NSPTTYS 256
NUMSP256
NSTREAM 4096
NHINODE 1024
TTHOG   4096
NCLIST  2000
NSTREVENT       8192
NUMTIM  1040
NUMTRW  1040
SECLUID 0
SECSTOPIO       1
SECCLEARID      1
SDSKOUT 256
NCALL   256
MAXUP   1200
NOFILES 2000
MAX_CFGSIZE     16384
SHMMAX  1024000000
SHMMNI  8192
SHMMIN  1
MAXACPUS        9
XSDSEGS 25
XSDSLOTS        3
SEMMAP  8192
SEMMNI  8192
SEMMNU  100
XSEMMAX 60
作者: diablocom    时间: 2003-12-05 11:06
标题: informix安装过程中出现的问题
改核心参数请参照~/release/..下的IDS***文件
作者: 平原鸿    时间: 2003-12-05 11:13
标题: informix安装过程中出现的问题
其实我刚开始没改参数的时候,就报这个错误,只改SHMMAX就报25580这个错误,感到很奇怪
作者: liutao28288    时间: 2003-12-05 17:14
标题: informix安装过程中出现的问题
以前我遇到这个问题的时候,是把ROOTOFFSET 设置成了40,做了偏移,问题解决的。
作者: tyfrich    时间: 2003-12-05 17:42
标题: informix安装过程中出现的问题
你的内核参数有问题




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2