免费注册 查看新帖 |

Chinaunix

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

sco 上装informix时报错,求救! [复制链接]

论坛徽章:
0
发表于 2005-04-15 18:29 |显示全部楼层
执行初始化就报错:

$ oninit -ivy
Checking group membership to determine server run modesucceeded
Reading configuration file '/u/informix/etc/onconfig.onhp6000'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/u/informix/etc/.infos.onhp6000" ... "/u/informix/etc/.conf.onhp6000" ... succeeded
Writing to infos file ... succeeded
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation
$
*******************************************
察看online.log:
18:25:14  shmat: [ENOMEM][12]: out of available data space, check system MAXMEM
                                                                                                                                               
18:25:14  mt_shm_init: can't create resident segment
********************************************

onconfig文件内容:


#**************************************************************************
#
#                          INFORMIX SOFTWARE, INC.
#
#  Title:       onconfig.std
#  Description: Informix Dynamic Server Configuration Parameters
#
#**************************************************************************
                                                                                                                                               
# Root Dbspace Configuration
                                                                                                                                               
ROOTNAME        rootdbs         # Root dbspace name
ROOTPATH        /u/informix/link6000/rootdbs
                                # Path for device containing root dbspace
ROOTOFFSET      0               # Offset of root dbspace into device (Kbytes)
ROOTSIZE        1500000         # 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                plogdbs         # Location (dbspace) of physical log
PHYSDBS         rootdbs         # Location (dbspace) of physical log
PHYSFILE        370000          # Physical log file size (Kbytes)
                                                                                                                                               
# Logical Log Configuration
                                                                                                                                               
LOGFILES        6               # Number of logical log files
LOGSIZE         20000           # Logical log size (Kbytes)
                                                                                                                                               
# Diagnostics
                                                                                                                                               
MSGPATH         /u/informix/online.log # System message log file path
CONSOLE         /dev/console    # System console message path
ALARMPROGRAM    /u/informix/etc/log_full.sh # Alarm program path
SYSALARMPROGRAM /u/informix/etc/evidence.sh # System Alarm program path
TBLSPACE_STATS  1
                                                                                                                                               
# System Archive Tape Device
                                                                                                                                               
TAPEDEV         /dev/null       # Tape device path
TAPEBLK         1024            # Tape block size (Kbytes)
                                                                                                                                               TAPESIZE        40960000        # Maximum amount of data to put on tape (Kbytes)
                                                                                                                                               
# Log Archive Tape Device
                                                                                                                                               
LTAPEDEV        /dev/null       # Log tape device path
LTAPEBLK        16              # Log tape block size (Kbytes)
LTAPESIZE       4096000         # Max amount of data to put on log tape (Kbytes)
                                                                                                                                               
# Optical
                                                                                                                                               
STAGEBLOB                       # Informix Dynamic Server/Optical staging area
                                                                                                                                               
# System Configuration
                                                                                                                                               
SERVERNUM       2               # Unique id corresponding to a Dynamic Server instance
DBSERVERNAME    onhp6000        # Name of default database server
DBSERVERALIASES on6000          # List of alternate dbservernames
NETTYPE         ipcshm,1,50,CPU # Configure poll thread(s) for nettype
NETTYPE         tlitcp,1,50,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  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           25000           # Maximum number of locks
BUFFERS         25000           # Maximum number of shared buffers
NUMAIOVPS       1               # Number of IO vps
PHYSBUFF        64              # Physical log buffer size (Kbytes)
LOGBUFF         64              # Logical log buffer size (Kbytes)
LOGSMAX         10              # Maximum number of logical log files
CLEANERS        4               # Number of buffer cleaner processes
SHMBASE         0x82000000        # Shared memory base address
SHMVIRTSIZE     5000            # 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   2               # LRU percent dirty begin cleaning limit
LRU_MIN_DIRTY   1               # 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       128             # Stack size (Kbytes)
                                                                                                                                               
# System Page Size
# BUFFSIZE - Dynamic Server no longer supports this configuration parameter.
#            To determine the page size used by Dynamic Server on your platform
#            see the last line of output from the command, 'onstat -b'.
                                                                                                                                               
                                                                                                                                               
# Recovery Variables
# OFF_RECVRY_THREADS:
# Number of parallel worker threads during fast recovery or an offline restore.
# ON_RECVRY_THREADS:
# Number of parallel worker threads during an online restore.
                                                                                                                                               
OFF_RECVRY_THREADS 15              # Default number of offline worker threads
ON_RECVRY_THREADS 2               # Default number of online worker threads
                                                                                                                                               
# Data Replication Variables
# DRAUTO: 0 manual, 1 retain type, 2 reverse type
DRAUTO          0               # DR automatic switchover
DRINTERVAL      30              # DR max time between DR buffer flushes (in sec)
DRTIMEOUT       60              # DR network timeout (in sec)
DRLOSTFOUND     /u/informix/etc/dr.lostfound # DR lost+found file path
                                                                                                                                               
# CDR Variables
CDR_LOGBUFFERS  2048            # size of log reading buffer pool (Kbytes)
CDR_EVALTHREADS 1,2             # evaluator threads (per-cpu-vp,additional)
CDR_DSLOCKWAIT  5               # DS lockwait timeout (seconds)
CDR_QUEUEMEM    4096            # Maximum amount of memory for any CDR queue (Kbytes)
CDR_LOGDELTA    30              # % of log space allowed in queue memory
CDR_NUMCONNECT  16              # Expected connections per server
CDR_NIFRETRY    300             # Connection retry (seconds)
CDR_NIFCOMPRESS 0               # Link level compression (-1 never, 0 none, 9 max)
                                                                                                                                               
# Backup/Restore variables
BAR_ACT_LOG     /usr/informix/bar_act.log # ON-Bar Log file - not in /tmp please
BAR_DEBUG_LOG   /usr/informix/bar_dbug.log
                                # ON-Bar Debug Log - not in /tmp please
BAR_MAX_BACKUP  0
BAR_RETRY       1
BAR_NB_XPORT_COUNT 10
BAR_XFER_BUF_SIZE 31
                                                                                                                                               
# Informix Storage Manager variables
ISM_DATA_POOL   ISMData         # If the data pool name is changed, be sure to
                                # update $INFORMIXDIR/bin/onbar.  Change to
                                # ism_catalog -create_bootstrap -pool <new name>;
ISM_LOG_POOL    ISMLogs
                                                                                                                                               
# Read Ahead Variables
RA_PAGES                        # Number of pages to attempt to read ahead
RA_THRESHOLD                    # Number of pages left before next group
                                                                                                                                               
# DBSPACETEMP:
# Dynamic Server equivalent of DBTEMP for SE. This is the list of dbspaces
# that the Dynamic Server SQL Engine will use to create temp tables etc.
# If specified it must be a colon separated list of dbspaces that exist
# when the Dynamic Server system is brought online.  If not specified, or if
# all dbspaces specified are invalid, various ad hoc queries will create
# temporary files in /tmp instead.
                                                                                                                                               
DBSPACETEMP                     # Default temp dbspaces
                                                                                                                                               
# DUMP*:
# The following parameters control the type of diagnostics information which
# is preserved when an unanticipated error condition (assertion failure) occurs
# during Dynamic Server operations.
# For DUMPSHMEM, DUMPGCORE and DUMPCORE 1 means Yes, 0 means No.
                                                                                                                                               
DUMPDIR         /tmp            # Preserve diagnostics in this directory
DUMPSHMEM       0               # Dump a copy of shared memory
DUMPGCORE       0               # Dump a core image using 'gcore'
DUMPCORE        0               # Dump a core image (Warning:this aborts Dynamic Server)
DUMPCNT         1               # Number of shared memory or gcore dumps for
                                # a single user's session
                                                                                                                                               
FILLFACTOR      90              # Fill factor for building indexes
                                                                                                                                               
# method for Dynamic Server to use when determining current time
USEOSTIME       0               # 0: use internal time(fast), 1: get time from OS(slow)
                                                                                                                                               
# Parallel Database Queries (pdq)
MAX_PDQPRIORITY 100             # Maximum allowed pdqpriority
DS_MAX_QUERIES                  # Maximum number of decision support queries
DS_TOTAL_MEMORY                 # Decision support memory (Kbytes)
DS_MAX_SCANS    1048576         # Maximum number of decision support scans
DATASKIP        off             # List of dbspaces to skip
                                                                                                                                               
# OPTCOMPIND
# 0 =>; Nested loop joins will be preferred (where
#      possible) over sortmerge joins and hash joins.
# 1 =>; If the transaction isolation mode is not
#      "repeatable read", optimizer behaves as in (2)
#      below.  Otherwise it behaves as in (0) above.
# 2 =>; Use costs regardless of the transaction isolation
#      mode.  Nested loop joins are not necessarily
#      preferred.  Optimizer bases its decision purely
#      on costs.
OPTCOMPIND      2               # To hint the optimizer
                                                                                                                                               
ONDBSPACEDOWN   2               # Dbspace down option: 0 = CONTINUE, 1 = ABORT, 2 = WAIT
LBU_PRESERVE    0               # Preserve last log for log backup
OPCACHEMAX      0               # Maximum optical cache size (Kbytes)
                                                                                                                                               
# HETERO_COMMIT (Gateway participation in distributed transactions)
# 1 =>; Heterogeneous Commit is enabled
# 0 (or any other value) =>; Heterogeneous Commit is disabled
HETERO_COMMIT   0
                                                                                                                                               
# Optimization goal: -1 = ALL_ROWS(Default), 0 = FIRST_ROWS
OPT_GOAL        -1
                                                                                                                                               
# Optimizer DIRECTIVES ON (1/Default) or OFF (0)
DIRECTIVES      1
                                                                                                                                               
# Status of restartable restore
RESTARTABLE_RESTORE on

************************************************
/u/informix/etc/sqlhosts:
onhp6000        onipcshm        hp6000          onhp6000
***********************************************
/etc/services中也添加了:
onhp6000        8899/tcp   #informix server
************************************************
/etc/conf/cf.d下的内核文件内容:
1.mtune:
KDBSYMSIZE      300000  50000   500000
NBUF            0       24      450000
NHBUF           0       32      524288
NMPBUF          0       12      512
MAX_INODE       0       100     64000
MAX_FILE        0       100     64000
MAX_MOUNT       0       4       4096
CTBUFSIZE       128     0       256
MAX_PROC        0       50      16000
MAX_REGION      0       500     160000
NCLIST          170     120     16640
MAXUP           100     15      16000
NOFILES         110     60      11000
NHINODE         128     64      8192
NAUTOUP         10      0       60
NGROUPS         8       0       128
BDFLUSHR        30      1       300
MAX_FLCKREC     0       50      16000
PUTBUFSZ        8000    2000    20000
MAXSLICE        100     25      100
ULIMIT          4194303 2048    4194303
SPTMAP          200     100     500
DO387CR3        0       0       1
DOWPCR0         1       0       1
NODE    "scosysv"       0       8
CMASK           0       0       0777
NSHINTR         8       2       20
* Device Driver Parameters
NUMXT           3       1       32
NUMSXT          6       1       32
NCPYRIGHT       10      10      10
NKDVTTY         8       8       8
PRFMAX          8192    2048    16384
MAX_CFGSIZE     8000    256     40000
VGA_PLASMA      0       0       1
NAHACCB         36      4       255
SDSKOUT         128     1       256
TTHOG           256     256     8192
MODE_SELECT     1       0       1
* Paging Parameters
GPGSLO          25      0       100000
GPGSHI          40      1       100000
MAXSC           8       1       8
MAXFC           8       1       8
MAXUMEM         524287  2560    1048576
MINARMEM        25      25      40
MINASMEM        25      25      40
* Streams Parameters
NSTREAM         64      1       32768
NSTRPUSH        9       9       9
NMUXLINK        192     1       4096
STRMSGSZ        16384   4096    524288
STRCTLSZ        1024    1024    1024
STRMAXBLK       524288  4096    524288
NSTRPAGES       500     0       8000
STRSPLITFRAC    80      50      100
NLOG            3       3       3
NUMSP           64      1       256
NUMTIM          16      1       8192
NUMTRW          16      1       8192
* Message Parameters
MSGMAP          512     4       32768
MSGMAX          8192    128     32767
MSGMNB          8192    128     65532
MSGMNI          50      1       1024
MSGSSZ          8       4       4096
MSGTQL          1024    32      16383
MSGSEG          1024    32      32768
* Semaphore Parameters
SEMMAP          10      10      8192
SEMMNI          10      10      8192
SEMMNS          60      60      8192
SEMMNU          30      10      100
SEMMSL          25      25      150
SEMOPM          10      10      10
SEMUME          10      10      10
SEMVMX          32767   32767   32767
SEMAEM          16384   16384   16384
* Shared Memory Parameters
SHMMAX          524288  131072  2147483647
SHMMIN          1       1       1
SHMMNI          100     100     2000
* Fast File System Parameters
BFREEMIN        0       0       100
PLOWBUFS        1024    1       10000
* Filesystem Name Cache Parameters
CACHEENTS       800     1       4096
HASHQS          267     1       8191
* Filesystem Versioning Defaults
MAXVDEPTH       0       0       65535
MINVTIME        0       0       32767
* Filesystem Root Mounting Options
ROOTCHKPT       1       0       1
ROOTLOG         1       0       1
ROOTSYNC        0       0       2
ROOTNOCOMP      0       0       1
ROOTMAXVDEPTH   0       0       65535
ROOTMINVTIME    0       0       32767
* DOS File System Parameters
DOSNMOUNT       4       0       25
DOSNINODE       40      0       300
* XENIX Parameters
DSTFLAG         1       0       1
TBLNK           0       0       32767
NSCRN           0       0       12
SCOANSI         1       0       255
SCROLLSZ        50      0       32767
CNBEEPWA        1       0       1
NEMAP           10      10      1024
TIMEZONE        480     0       1440
XSEMMAX         60      20      90
XSDSEGS         25      1       150
XSDSLOTS        3       1       10
SCRNMEM         0       9       128
KBTYPE          0       0       1
MAX_DISK        0       1       1024
EVQUEUES        8       1       256
EVDEVS          16      1       256
EVDEVSPERQ      3       1       16
NSPTTYS         16      1       256
* Extended Event Driver Parameters
EVEXTTABMIN     4       1       256
EVEXTTABMAX     256     1       65536
* DMA Parameter
DMAEXCL         0       0       1
* Security Parameters
SECLUID         0       0       1
SECSTOPIO       1       0       1
SECCLEARID      1       0       1
* Asynchronous IO Parameters
NAIOPROC        5       1       500
NAIOREQ         120     5       4000
NAIOBUF         120     5       4000
NAIOHBUF        25      1       1000
NAIOREQPP       120     30      4000
NAIOLOCKTBL     10      5       500
* Boot Load Extension Parameters
EXTRA_NDEV      10      0       30
EXTRA_NEVENT    0       0       30
EXTRA_NFILSYS   0       0       30
MAX_BDEV        100     1       255
MAX_CDEV        100     1       255
* MultiProcessing Parameters
MAXACPUS        9       1       29
* Dynamic Tables Parameters
TBLMAP          100     50      500
TBLPAGES        0       10      10000
TBLDMAPAGES     100     10      1000
TBLLIMIT        70      10      100
TBLSYSLIMIT     25      10      90
* Virtual Disk Parameters
VDJOBS          200     100     400
VDUNITJOBS      100     50      200
VDHASHMAX       1024    512     8192
VDASYNCPARITY   1       0       1
VDASYNCWRITES   1       0       1
VDASYNCMAX      20      0       64
VDWRITEBACK     0       0       1
VDRPT           3600    0       86400
VDTIMEOUT       10      3       30
VDUNITMAX       100     5       256
* Redundant Parameters, required for backward compatibility
NQUEUE          4096    4       4096
NBLK4096        2048    0       2048
NBLK2048        2048    0       2048
NBLK1024        2048    0       2048
NBLK512         2048    0       2048
NBLK256         2048    0       2048
NBLK128         2048    0       2048
NBLK64          2048    0       2048
NBLK16          2048    0       2048
NBLK4           2048    0       2048
STRLOFRAC       100     0       100
STRMEDFRAC      100     80      100
NS5INODE        300     100     1000
SHLBMAX         8       2       16
SHMSEG          6       6       15
SHMALL          512     256     15360
PIOMAP          50      50      50
PIOMAXSZ        64      4       64
NCALL           30      30      500
NCOPYBUF        50      1       300
NPBUF           20      6       60
NMPHEADBUF      100     0       10000
DMAABLEBUF      16      4       128
MAXBUF          600     0       65536
NINODE          0       100     64000
NFILE           0       100     64000
NMOUNT          0       4       256
NPROC           0       50      16000
NREGION         0       500     160000
FLCKREC         0       50      16000
NDISK           0       1       256
NSTREVENT       256     256     32768
MAXSEPGCNT      1       0       32
* POSIX_CHOWN_RESTRICTED Parameter
CHOWN_RES       0       0       1
* suds parameters
SEM_NSEMS_MAX   100     1       255
* IO Vector Parameter
IOV_MAX         512     16      1024
*
* Begin Add-On Product Parameters
*
2.stune:
NODE    "hp6000"
EVDEVS  144
EVQUEUES        136
NSPTTYS 112
NUMSP   256
NSTREAM 7168
NHINODE 1024
GPGSLO  2000
GPGSHI  6000
NSTRPAGES       6384
TTHOG   5632
NCLIST  662
NSTREVENT       8576
NUMTIM  1040
NUMTRW  1040
SECLUID 0
SECSTOPIO       1
SECCLEARID      1
SEMMAP  8192
MAXACPUS        9
NMUXLINK        384
SEMMNI  8192
SEMMNU  100
SHMMAX  409600000
NOFILES 200
MAXUMEM 1048576
**************************************
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP