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 database query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-05-04, 23:50
praveenmaddi praveenmaddi is offline
Registered User
 
Join Date: May 2004
Posts: 1
Lightbulb informix database query

Dear All,

I have installed Informix Dynamic Server 9.4 on RedHat Linux 9
when i start the database using the command oninit -v i get the following error, pls help.

Cannot Open Primary Chunk '/wager/rootdbs', errno = 2
oninit: Cannot open chunk '/wager/rootdbs'. errno = 2
oninit: Fatal error in shared memory initialization


thanks in advance

Praveen .
Reply With Quote
  #2 (permalink)  
Old 05-07-04, 09:49
fprose fprose is offline
Registered User
 
Join Date: Apr 2003
Location: Phoenix, AZ
Posts: 177
I'm assuming that you are trying to bring up the instance the very first time?

You need the command "oninit -i" to initialize the rootdbs.

I'll also assume that the dbspace you are pointing to, '/wager/rootdbs', exists as either a cookied file or a raw device.
__________________
Fred Prose
Reply With Quote
  #3 (permalink)  
Old 05-07-04, 10:54
artemka artemka is offline
Registered User
 
Join Date: May 2004
Location: New York
Posts: 248
Make sure that the path to the rootdbs is correct
and the permisions are 660 and the user and group is informix:informix

Cheers
Reply With Quote
  #4 (permalink)  
Old 05-07-04, 14:51
tmullins tmullins is offline
Registered User
 
Join Date: Aug 2003
Posts: 68
Are you using "cooked" dbspaces? or raw?

if you do an 'ls -l /wager/rootdbs' - does the file exist?
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