|
IDS Forum
Unable to initiliaze informix instance
Posted By: Shailesh.More@ril.com Date:
Hi,
Sorry I am sending the mail again because I found that the attachment reached to you will not be in proper format.
I have installed informix 7.31 on MP-RAS 3.02 (NCR S 1600 machine, with 2GB RAM) . But I am not initialize my informix instance using "oninit -i" command if i use raw device. I tried using cooked file instead of raw and it worked fine.
Following are the Kernel parameters changed:- STRTHRESH 0 SEMMAP 522 SEMMNI 2048 SEMMNS 2048 SEMMNU 2048 SEMMSL 250 SEMUME 64 SHMMAX 209715200 SHMSEG 64 SDATLIM 0X7fffffff HDATLIM 0X7fffffff SVMMLIM 0X7fffffff HVMMLIM 0X7fffffff
Following are the permission and links created for accessing the raw device.
$ cd /dev $ ls -l online* lrwxrwxrwx 1 root other 20 May 15 15:00 online_root -> /dev/rdsk/c110t0d0se
$ ls -l rdsk/c11* cr-------- 1 root root 35,589824 May 10 13:27 rdsk/c110t0d0s0 cr-------- 2 root root 35,589825 May 10 13:27 rdsk/c110t0d0s1 cr-------- 2 root root 35,589826 May 17 12:13 rdsk/c110t0d0s2 cr-------- 1 root root 35,589827 May 12 15:10 rdsk/c110t0d0s3 cr-------- 1 root root 35,589828 May 12 15:10 rdsk/c110t0d0s4 cr-------- 1 root root 35,589830 May 10 13:27 rdsk/c110t0d0s6 cr-------- 1 root root 35,589831 May 10 13:27 rdsk/c110t0d0s7 cr-------- 1 root sys 35,589832 May 15 16:24 rdsk/c110t0d0s8 cr-------- 1 root sys 35,589833 May 12 16:06 rdsk/c110t0d0s9 cr-------- 1 root root 35,589834 May 10 13:27 rdsk/c110t0d0sa crw-rw-rw- 1 informix informix 35,589838 May 17 13:00 rdsk/c110t0d0se crw-rw---- 1 informix informix 35,589839 May 15 13:47 rdsk/c110t0d0sf
Following are the onconfig, online.log and output_of_oninit -i -v files.
**********************************************************ONCONFIG****************************************************************
#************************************************************************** # # INFORMIX SOFTWARE, INC. # # Title: onconfig.std # Description: Informix Dynamic Server Configuration Parameters # #**************************************************************************
# Root Dbspace Configuration
ROOTNAME rootdbs # Root dbspace name ROOTPATH /dev/online_root #ROOTPATH /backup/online_root # Path for device containing root dbspace
ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes) ROOTSIZE 20000 # 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 rootdbs # Location (dbspace) of physical log PHYSFILE 1000 # Physical log file size (Kbytes)
# Logical Log Configuration
LOGFILES 6 # Number of logical log files LOGSIZE 500 # Logical log size (Kbytes)
# Diagnostics
MSGPATH /informix/online.log # System message log file path CONSOLE /dev/console # System console message path ALARMPROGRAM /informix/etc/log_full.sh # Alarm program path SYSALARMPROGRAM /informix/etc/evidence.sh # System Alarm program path TBLSPACE_STATS 1
# System Archive Tape Device
TAPEDEV /dev/null # Tape device path #TAPEDEV /dev/tapedev # Tape device path TAPEBLK 16 # Tape block size (Kbytes) TAPESIZE 10240 # Maximum amount of data to put on tape (Kbytes)
# Log Archive Tape Device
LTAPEDEV /dev/null # Log tape device path #LTAPEDEV /dev/tapedev # Log tape device path LTAPEBLK 16 # Log tape block size (Kbytes) LTAPESIZE 10240 # Max amount of data to put on log tape (Kbytes)
# Optical
STAGEBLOB # Informix Dynamic Server/Optical staging area
# System Configuration
SERVERNUM 0 # Unique id corresponding to a Dynamic Server instance DBSERVERNAME ONLINE1 # Name of default database server DBSERVERALIASES # List of alternate dbservernames 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 1 # 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 0x10000000 # 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)
# 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 10 # Default number of offline worker threads ON_RECVRY_THREADS 1 # 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 30 # DR network timeout (in sec) DRLOSTFOUND /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 1 # 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
**************************************************Output_of_oninit -i -v**************************************************
$ oninit -i -y -v Checking group membership to determine server run modesucceeded Reading configuration file '/informix/etc/onconfig'...succeeded Creating /INFORMIXTMP/.infxdirs ... succeeded Creating infos file "/informix/etc/.infos.ONLINE1" ... "/informix/etc/.conf.ONLINE1" ... succeeded Writing to infos file ... succeeded Checking config parameters...succeeded Allocating and attaching to shared memory...succeeded Creating resident pool 400 kbytes...succeeded Creating buffer pool 402 kbytes...succeeded Initializing rhead structure...succeeded Initializing ASF ...succeeded Initializing Dictionary Cache and Stored Procedure Cache...succeeded Bringing up ADM VP...succeeded Creating VP classes...succeeded Onlining 0 additional cpu vps...succeeded Onlining 1 IO vps...succeeded Forking main_loop thread...succeeded Initialzing DR structures...succeeded Forking 1 'ipcshm' listener threads...succeeded Starting tracing...succeeded Initializing 1 flushers...succeeded oninit: Fatal error in shared memory initialization
***************************************************online.log*************************************************************
Mon May 17 12:16:26 2004
12:16:26 Event alarms enabled. ALARMPROG = '/informix/etc/log_full.sh' 12:16:30 DR: DRAUTO is 0 (Off) 12:16:30 Requested shared memory segment size rounded from 588KB to 4096KB 12:16:30 Informix Dynamic Server Version 7.31.UD5 Software Serial Number AAD#J373101 12:16:31 Assert Failed: I/O error, Primary Chunk '/dev/online_root' -- Offline 12:16:31 Informix Dynamic Server Version 7.31.UD5 12:16:31 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsbuff.c Line: 4154 12:16:31 Results: Chunk is now unusable 12:16:31 Action: Repair and restore from mirror or archive 12:16:31 See Also: /tmp/af.3eee55f 12:16:32 Assert Failed: Chunk 1 is being taken OFFLINE. 12:16:32 Informix Dynamic Server Version 7.31.UD5 12:16:32 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsmirror.c Line: 1784 12:16:32 Results: Dynamic Server will block at next checkpoint 12:16:32 Action: Shutdown (onmode -k) or override (onmode -O) 12:16:32 See Also: /tmp/af.3eee55f 12:16:32 I/O write chunk 1, pagenum 8, pagecnt 1 --> errno = 2 12:16:32 Informix Dynamic Server Stopped. 12:16:32 mt_shm_remove: WARNING: may not have removed all/correct segments
13:00:36 Requested shared memory segment size rounded from 8000KB to 8192KB
Mon May 17 13:00:36 2004
13:00:36 Event alarms enabled. ALARMPROG = '/informix/etc/log_full.sh' 13:00:40 DR: DRAUTO is 0 (Off) 13:00:40 Requested shared memory segment size rounded from 588KB to 4096KB 13:00:40 Informix Dynamic Server Version 7.31.UD5 Software Serial Number AAD#J373101 13:00:41 Assert Failed: I/O error, Primary Chunk '/dev/online_root' -- Offline 13:00:41 Informix Dynamic Server Version 7.31.UD5 13:00:41 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsbuff.c Line: 4154 13:00:41 Results: Chunk is now unusable 13:00:41 Action: Repair and restore from mirror or archive 13:00:41 See Also: /tmp/af.3eeefb9 13:00:42 Assert Failed: Chunk 1 is being taken OFFLINE. 13:00:42 Informix Dynamic Server Version 7.31.UD5 13:00:42 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsmirror.c Line: 1784 13:00:42 Results: Dynamic Server will block at next checkpoint 13:00:42 Action: Shutdown (onmode -k) or override (onmode -O) 13:00:42 See Also: /tmp/af.3eeefb9 13:00:42 I/O write chunk 1, pagenum 8, pagecnt 1 --> errno = 2 13:00:42 Informix Dynamic Server Stopped. 13:00:42 mt_shm_remove: WARNING: may not have removed all/correct segments
13:15:07 Requested shared memory segment size rounded from 8000KB to 8192KB
Mon May 17 13:15:07 2004
13:15:07 Event alarms enabled. ALARMPROG = '/informix/etc/log_full.sh' 13:15:11 DR: DRAUTO is 0 (Off) 13:15:11 Requested shared memory segment size rounded from 588KB to 4096KB 13:15:11 Informix Dynamic Server Version 7.31.UD5 Software Serial Number AAD#J373101 13:15:12 Assert Failed: I/O error, Primary Chunk '/dev/online_root' -- Offline 13:15:12 Informix Dynamic Server Version 7.31.UD5 13:15:12 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsbuff.c Line: 4154 13:15:12 Results: Chunk is now unusable 13:15:12 Action: Repair and restore from mirror or archive 13:15:12 See Also: /tmp/af.3eef320 13:15:13 Assert Failed: Chunk 1 is being taken OFFLINE. 13:15:13 Informix Dynamic Server Version 7.31.UD5 13:15:13 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsmirror.c Line: 1784 13:15:13 Results: Dynamic Server will block at next checkpoint 13:15:13 Action: Shutdown (onmode -k) or override (onmode -O) 13:15:13 See Also: /tmp/af.3eef320 13:15:13 I/O write chunk 1, pagenum 8, pagecnt 1 --> errno = 2 13:15:13 Informix Dynamic Server Stopped. 13:15:13 mt_shm_remove: WARNING: may not have removed all/correct segments
*************************************/tmp/af.3eef320*****************************************************************
13:15:12 mt_aio_wait(1049c090) 13:15:12 chunkio(3, 0x10071800, 0x8, 1, 0x10456210, 34, 1) errno 6 AIOREQ *a 109c1834: 00000000 00000000 00000000 00000000 ........ ........ 109c1844: 00000000 00000000 50c24910 38f24810 ........ P.I.8.H. 109c1854: 15010000 41494f72 65710000 00000000 ....AIOr eq...... 109c1864: d1070000 00000000 03000000 01040000 ........ ........ 109c1874: 0b000000 02000000 01000000 00000000 ........ ........ 109c1884: 01000000 08c14910 00000000 00000000 ......I. ........ 109c1894: 06000000 01000000 00000000 00000000 ........ ........ 109c18a4: 00000000 .... 13:15:12 13:15:12 Informix Dynamic Server Version 7.31.UD5 Software Serial Number AAD#J373101
13:15:12 Assert Failed: I/O error, Primary Chunk '/dev/online_root' -- Offline 13:15:12 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsbuff.c Line: 4154 13:15:12 Results: Chunk is now unusable 13:15:12 Action: Repair and restore from mirror or archive
--------------------------------- Begin System Alarm Program Output ---------------------------------
Assertion Failure Type: Warning Host Name: loylty Database Server Name: ONLINE1 Time of failure: Mon May 17 13:15:12 EDT 2004 AF file: /tmp/af.3eef320 Shared memory file: None System Blocking: OFF
------------------------------- End System Alarm Program Output -------------------------------
13:15:12 sh /informix/etc/evidence.sh 1 0 /tmp/af.3eef320 1 0x10458018 6 0x1040be80 1 0 0 0 0 13:15:12 See Also: /tmp/af.3eef320 13:15:12 ------------------ End of assertion failure 0 -----------------
13:15:13 13:15:13 Informix Dynamic Server Version 7.31.UD5 Software Serial Number AAD#J373101
13:15:13 Assert Failed: Chunk 1 is being taken OFFLINE. 13:15:13 Who: Session(1, informix@loylty, 0, 273154072) Thread(6, main_loop(), 10458018, 1) File: rsmirror.c Line: 1784 13:15:13 Results: Dynamic Server will block at next checkpoint 13:15:13 Action: Shutdown (onmode -k) or override (onmode -O)
--------------------------------- Begin System Alarm Program Output ---------------------------------
Assertion Failure Type: Warning Host Name: loylty Database Server Name: ONLINE1 Time of failure: Mon May 17 13:15:13 EDT 2004 AF file: /tmp/af.3eef320 Shared memory file: None System Blocking: OFF
------------------------------- End System Alarm Program Output -------------------------------
13:15:13 sh /informix/etc/evidence.sh 1 0 /tmp/af.3eef320 1 0x10458018 6 0x1040be80 1 0 0 0 0 13:15:13 See Also: /tmp/af.3eef320 13:15:13 ------------------ End of assertion failure 1 -----------------
Please go through it and suggest me solution.
Thanks & Regards, Shailesh M
Messages In This Thread
- Unable to initiliaze informix instance
Shailesh.More@ril.com -- Monday, 17 May 2004, at 6:15 a.m.
IDS Forum is maintained by Administrator with WebBBS 5.12.
|
|