免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2138 | 回复: 7

初始化数据库的问题 [复制链接]

论坛徽章:
0
发表于 2012-04-11 14:22 |显示全部楼层
执行oninit-ivy后报错误信息:

         Could not fork a virtual processor: errno = 12

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
发表于 2012-04-11 14:44 |显示全部楼层
系统配置,参数配置。。online.log信息。。PLS

论坛徽章:
0
发表于 2012-04-11 15:35 |显示全部楼层
在linux上
#define ENOMEM          12      /* Out of memory */
应该是配置有问题,看看BUFFER和SHMVIRTSIZE。
内核的shmmax设置

论坛徽章:
0
发表于 2012-04-11 16:21 |显示全部楼层
# Root Dbspace Configuration

ROOTNAME        rootdbs         # Root dbspace name
ROOTPATH        /informix/dbs/rootdbs # Path for device containing root dbspace
ROOTOFFSET      4               # Offset of root dbspace into device (Kbytes)
ROOTSIZE        547112         # Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR          0               # Mirroring flag (Yes = 1, No = 0)
MIRRORPATH                      # Path for device containing mirrored root
MIRROROFFSET    0               # Offset into mirrored device (Kbytes)

# Physical Log Configuration

PHYSDBS         phydbs          # Location (dbspace) of physical log
PHYSFILE        547112         # Physical log file size (Kbytes)

# Logical Log Configuration

LOGFILES        3              # Number of logical log files
LOGSIZE         1000            # Logical log size (Kbytes)

# Diagnostics

MSGPATH         /informix/online.log # System message log file path
CONSOLE         /dev/console    # System console message path

# To automatically backup logical logs, edit alarmprogram.sh and set
# BACKUPLOGS=Y
ALARMPROGRAM    /informix/etc/alarmprogram.sh # Alarm program path
TBLSPACE_STATS  1               # Maintain tblspace statistics

# System Archive Tape Device

TAPEDEV         /dev/null       # Tape device path
TAPEBLK         32              # Tape block size (Kbytes)


TAPESIZE        10240           # Maximum amount of data to put on tape (Kbytes)

# Log Archive Tape Device

LTAPEDEV        /dev/tapedev    # Log tape device path
LTAPEBLK        32              # Log tape block size (Kbytes)
LTAPESIZE       10240           # Max amount of data to put on log tape (Kbytes)

# Optical

STAGEBLOB                       # Informix Dynamic Server staging area

# System Configuration

SERVERNUM       0               # Unique id corresponding to a OnLine instance
DBSERVERNAME    cibsv           # Name of default database server
DBSERVERALIASES                 # List of alternate dbservernames
NETTYPE         ipcshm,1,150,CPU #soctcp,1,150,NET # 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  1               # 0 for single-processor, 1 for multi-processor
NUMCPUVPS       2               # 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           800000           # Maximum number of locks
BUFFERS         1000000          # Maximum number of shared buffers
NUMAIOVPS       2               # Number of IO vps
PHYSBUFF        128              # Physical log buffer size (Kbytes)
LOGBUFF         128             # Logical log buffer size (Kbytes)
CLEANERS        55555             # Number of buffer cleaner processes
SHMBASE         0x700000010000000 # 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            12              # Number of LRU queues
LRU_MAX_DIRTY   60.000000       # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY   50.000000       # LRU percent dirty end cleaning limit
TXTIMEOUT       0x12c             # Transaction timeout (in sec)
STACKSIZE       64

# Dynamic Logging
# DYNAMIC_LOGS:
#    2 : server automatically add a new logical log when necessary. (ON)

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
发表于 2012-04-11 20:09 |显示全部楼层
硬件有多少内存、CPU?操作系统是什么?执行oninit -i 后,online.log里是怎么写的?

论坛徽章:
0
发表于 2012-04-12 14:39 |显示全部楼层
AIX操作系统;
lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active Auto  Type Chksum
hd6             hdisk0            rootvg       16384MB     6   yes   yes    lv     0

online.log错误提示:

14:35:57  Loading Module <CNULL>
14:35:57  Booting Language <builtin> from module <>
14:35:57  Loading Module <BUILTINNULL>
14:36:00  Dynamically allocated new virtual shared memory segment (size 8192KB)
14:36:02  Could not fork a virtual processor: errno = 12

14:36:02  Could not fork a virtual processor: errno = 12

14:36:02  Could not fork a virtual processor: errno = 12

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
发表于 2012-04-12 16:11 |显示全部楼层
。。。。似乎你的空间存在些问题
ROOTSIZE > PHYSFILE  + LOGFILES * LOGSIZE ,并且还需要有空间。。。

论坛徽章:
0
发表于 2012-04-13 23:21 |显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP