| |
|
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.
|
 |

03-17-06, 05:34
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 7
|
|
shared memory not initialized for INFORMIXSERVER 'handel'
|
|
Hi all,
when i ran the cmd $onstat - and then i got the error
"shared memory not initialized for INFORMIXSERVER 'handel' "
what happended? i set the parameters DBSERVERNAME,SERVERNUM,
ONCONFIG,INFORMIXDIR,INFORMIXSERVER already.
I used ids 10 on linux as4
Thks for advance
Chara
|
|

03-17-06, 11:01
|
|
Registered User
|
|
Join Date: May 2004
Location: New York
Posts: 248
|
|
please post your online.log
plese run oninit with -v option
are there any additional messages?
|
|

03-18-06, 01:39
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 7
|
|
|
|
Quote:
|
Originally Posted by chara_c
Hi all,
when i ran the cmd $onstat - and then i got the error
"shared memory not initialized for INFORMIXSERVER 'handel' "
what happended? i set the parameters DBSERVERNAME,SERVERNUM,
ONCONFIG,INFORMIXDIR,INFORMIXSERVER already.
I used ids 10 on linux as4
Thks for advance
Chara
|
oninit -v
oninit: Cannot open chunk '/home/informix/dbspaces/rootdbs'. errno = 2
oninit: Fatal error in shared memory initialization
but there are file '/home/informix/dbspaces/rootdbs'
thks for response
|
|

03-18-06, 01:43
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 7
|
|
oninit -v
oninit: Cannot open chunk '/home/informix/dbspaces/rootdbs'. errno = 2
oninit: Fatal error in shared memory initialization
online.log
13:45:59 IBM Informix Dynamic Server Version 10.00.UC4
13:45:59 Who: Session(1, informix@handel, 0, 0x44d7e018)
Thread(7, main_loop(), 44d54018, 1)
File: rspartn.c Line: 8671
13:45:59 Results: Chunk 1 is being taken OFFLINE.
13:45:59 Action: Restore chunk from archive.
13:45:59 stack trace for pid 32512 written to /home/informix/tmp/af.3ef5567
13:45:59 See Also: /home/informix/tmp/af.3ef5567
13:46:00 chunk failed sanity check
13:46:00 I/O error, Primary Chunk '/home/informix/dbspaces/rootdbs' -- Offline (sanity)
13:46:00 IBM Informix Dynamic Server Stopped.
13:46:00 mt_shm_remove: WARNING: may not have removed all/correct segments
but there are '/home/informix/dbspaces/rootdbs'
thks for response
|
|

03-18-06, 09:25
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Argentina
Posts: 780
|
|
Hi,
The IDS, not start-up because the chunk '/home/informix/dbspaces/rootdbs', not exist.
Please check the ONCONFIG file and definition allocate espace, before start-up, run oncheck - pr to see errors posibles.
Gustavo.
|
|

03-19-06, 22:09
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 7
|
|
Quote:
|
Originally Posted by gurey
Hi,
The IDS, not start-up because the chunk '/home/informix/dbspaces/rootdbs', not exist.
Please check the ONCONFIG file and definition allocate espace, before start-up, run oncheck - pr to see errors posibles.
Gustavo.
|
Hi,
here is the example of rootspace in onconfig :
# Root Dbspace Configuration
ROOTNAME rootdbs
ROOTPATH /home/informix/dbspaces
ROOTOFFSET 0
ROOTSIZE 30000
and i touch rootdbs file in ROOTPATH already but i still got the error
pls help me and thks for advance
Rgds,
Chara_c
|
|

03-20-06, 01:24
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 143
|
|
Hello,
Ddi you give the permission to the file rootdbs to informix after touching it? Give 770 to informix.
Bye
Nitin
|
|

03-20-06, 01:45
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 7
|
|
Quote:
|
Originally Posted by nitin_math
Hello,
Ddi you give the permission to the file rootdbs to informix after touching it? Give 770 to informix.
Bye
Nitin
|
Hi,
Yes, here is the permission file :
[informix@handel dbspaces]$ ls -al
-rwxrwx--- 1 informix informix 0 Mar 18 11:11 rootdbs
Thks for advance
Chara_c
|
|

03-20-06, 03:08
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 143
|
|
Hello,
Is this the first time that the informix instance is coming up? Or it was running earrlier and suddenly the instance is down. If the instance has crashed and then you have touch the rootdbs file, then I suppose you will have to restore the last level 0 and start the instance.
If it is the 1st time you are initializing the instance, then change the name of the root chunk to say ifxroot in onconfig file, touch a new file in the directory and give permission as 770 to informix and start the instance with oninit -iv (remember, it will delete all the data and initialize the instance).
Bye
Nitin
|
|

03-20-06, 03:12
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 143
|
|
Hello,
I feel you have not given the ROOTPATH correctly. It should be:
ROOTPATH /home/informix/dbspaces/rootdbs
bye
Nitin
|
|

03-20-06, 03:41
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 7
|
|
Quote:
|
Originally Posted by chara_c
Hi all,
when i ran the cmd $onstat - and then i got the error
"shared memory not initialized for INFORMIXSERVER 'handel' "
what happended? i set the parameters DBSERVERNAME,SERVERNUM,
ONCONFIG,INFORMIXDIR,INFORMIXSERVER already.
I used ids 10 on linux as4
Thks for advance
Chara
|
Hi,
Thank you very much.It's work fine !.I 'm in first installed
Rdgs,
Chara_c
|
|

03-20-06, 06:43
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Argentina
Posts: 780
|
|
Hi,
Please change following:
ROOTNAME rootdbs
ROOTPATH /home/informix/dbspaces/rootdbs.
The file /home/informix/dbspaces/rootdbs, must exist and permissions 660 (chmod 660 /home/informix/dbspaces/rootdbs )
Next run oninit -v
Gustavo.
|
|

03-20-06, 06:46
|
|
Registered User
|
|
Join Date: Aug 2003
Location: Argentina
Posts: 780
|
|
Hi,
Excuse me, must be:
ROOTPATH /home/informix/dbspaces, then run chmod 660 /home/informix/dbspaces.
Gustavo
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|