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 > URGENT: Cannot open primary chunk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-25-04, 13:31
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
URGENT: Cannot open primary chunk

Hi,

I shutdown the database server and the server it self.

After rebooting the server, I tried to restart the database server.

I had the following error.
Cannot open Primary chunk. (Chunk number 1)
Cannot open secondary chunk. (Chunk number 2)

The server did start of course.

I did try to do the oninit -v.

The oninit command saw the chunk 1 and 2 without any problem.

But the last message has been:
fatal error: in shared memory initiallization

Is anybody has seen that kind of problem?
How can I restart our database?
Reply With Quote
  #2 (permalink)  
Old 08-25-04, 14:41
mjldba mjldba is offline
Registered User
 
Join Date: Dec 2003
Location: North America
Posts: 139
possible AIX solution

Hi,

If you're using IDS on an AIX box, have you executed the following command:

/usr/sbin/mkdev -l aio <cr>

This tripped me up once & I added it to the /etc/rc file so it's automatically run each time the box is bounced.
Reply With Quote
  #3 (permalink)  
Old 08-25-04, 17:17
matute matute is offline
Registered User
 
Join Date: Jun 2004
Location: Madrid, Spain
Posts: 47
Hi,
Check the owner, group and permissions of the chunks. it should be informix:informix, 660.
Also check that the path to the chunks is an absolute path.

BTW, send what's in your online.log file about the error, please.

Hope it helps,

Jose Luis
__________________
José Luis Matute.

Regards from Spain.
Reply With Quote
  #4 (permalink)  
Old 08-31-04, 16:44
stjacqd stjacqd is offline
Registered User
 
Join Date: Jul 2003
Location: Boisbriand, Qc, Canada
Posts: 25
We are under Linux SuSE Enterprice 8 .

The AIX solution is not applicable. ( I think )

-------------------------------

The owner:group permission was ok.
informix:informix 660

We didn't find any solution. We had to restore
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