If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Informix Server down

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-04, 08:35
Aroui Aroui is offline
Registered User
 
Join Date: Feb 2004
Location: Tunisia
Posts: 17
Question Informix Server down

Hello
I have an informix server (IDS 7.31 UD2) on linux RH 7.2
I have now problem to start the server (status is offline) after the linux server is shutting down abnormally (power down)
I'm sending in attachemet the logs in text format
Need your help
Thanks
Attached Files
File Type: txt onlinelog.txt (1.2 KB, 69 views)
File Type: txt af.3f1d628.txt (89.6 KB, 136 views)
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 10:04
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

Please test in $INFORMIXDIR/etc if exist .infos..... files and delete this.
Next run oncheck -pr|grep Flags, and look for "chunk is offline". If not then
run oninit. If you have "chunk is offline" please restore from archive/ontape.

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 04-29-04, 11:21
Aroui Aroui is offline
Registered User
 
Join Date: Feb 2004
Location: Tunisia
Posts: 17
Angry

i have deleted all .infos... files

this is the result of oncheck -pr|grep Flags

Flags 0x1 No mirror chunks

Flags 0x1 No mirror chunks

Flags 0x40 Chunk is online

Flags 0x40 Chunk is online

Flags 0x40 Chunk is online

Flags 0x40 Chunk is online

Flags 0x40 Chunk is online

Flags 0x40 Chunk is online

Flags 0x40 Chunk is online

Flags 0x50 Mirror chunk

But oninit give the following errors :
Mismatch in configuration file : MIRRORPATH = /dev/online_root.m.

Root chunk was not mirrored.

Add mirroring using onspaces or onmonitor.

oninit: Fatal error in shared memory initialization

and the log file (online.log) contain these lines:
Thu Apr 29 16:12:05 2004

16:12:05 Event alarms enabled. ALARMPROG = '/usr/informix/etc/log_full.sh'

16:12:10 DR: DRAUTO is 0 (Off)

16:12:10 Informix Dynamic Server Version 7.31.UD2 Software Serial Number AAD#J321010

16:12:10 Informix Dynamic Server Stopped.

16:12:10 mt_shm_remove: WARNING: may not have removed all/correct segments

---------------onconfig----------------------------------------------------------------------
# Root Dbspace Configuration

ROOTNAME rootdbs # Root dbspace name

ROOTPATH /dev/online_root.p # Path for device containing root dbspace

ROOTOFFSET 0 # Offset of root dbspace into device (Kbytes)

ROOTSIZE 2048000 # Size of root dbspace (Kbytes)

# Disk Mirroring Configuration Parameters

MIRROR 1 # Mirroring flag (Yes = 1, No = 0)

MIRRORPATH /dev/online_root.m # Path for device containing mirrored root

MIRROROFFSET 0 # Offset into mirrored device (Kbytes)

** Any ideas please

Reply With Quote
  #4 (permalink)  
Old 04-29-04, 11:32
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

Please test the following:

Run ipcs -m|grep informix. If exist, then run ipcrm -m SegID.
Run ipcs -s|grep informix. If exist, then run ipcrm -s SegID.
Run ipcs -q|grep informix. If exist, then run ipcrm -q SegID.
Next run oninit.

Gustavo.
Reply With Quote
  #5 (permalink)  
Old 04-29-04, 11:42
Aroui Aroui is offline
Registered User
 
Join Date: Feb 2004
Location: Tunisia
Posts: 17
Hi Gustavo

thanks for your help
No there are no process with ipcs for informix.
Should I restore from archive ?
Best regards,
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On