Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Informix instance startup error

Status
Not open for further replies.

testhandle

Technical User
Mar 14, 2003
42
GB
Hi,

Created new config file and a raw logical volume for a new instance.
Received the following message during the startup through tbmonitor.

__________
tbinit: cannot open chunk '/dev/vguv/rtest_informix', errno = 13
tbinit: fatal error in shared memory initialization
15:02:23 semop failed. errno : 36, proc id 4829
15:02:23 semop failed. errno : 36, proc id 4830
15:02:23 semop failed. errno : 36, proc id 4831
15:02:23 semop failed. errno : 36, proc id 4833
15:02:23 semop failed. errno : 36, proc id 4834
15:02:23 semop failed. errno : 36, proc id 4836
15:02:23 semop failed. errno : 36, proc id 4837
15:02:23 semop failed. errno : 36, proc id 4838
15:02:23 semop failed. errno : 36, proc id 4835
15:02:23 semop failed. errno : 36, proc id 4832
_______

Following are the messages from log file

Tue Oct 7 15:02:23 2003

15:02:23 Cannot Open Primary Chunk '/dev/vguv/rtest_informix', errno = 13
15:02:23 INFORMIX-OnLine Stopped

Any help please.

Thanks

 
Hi,

did you set the needed rights to all directories involved in that raw-partition ???

rgds
Uwe
 
Hi,

Following are settings for the raw LV.

# lvdisplay /dev/vguv/test_informix
--- Logical volumes ---
LV Name /dev/vguv/test_informix
VG Name /dev/vguv
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
 
but which user:group does this belong to ??? It should be informix:informix
 
sorry, guess your right. I work too much on cooked devices.
Also Logical Vols, but cooked directories and devices.
 
Hi,

I am not an Operating System Admin so my views may go wrong, But I feel that the raw LV name can not used directly for the IDS dbspace purpose. One need to link a piece of raw disk fragment using ln command. Also an unmounted piece of disk must be owned and grouped to informix user.

Steps:
1. ln /dev/vguv/test_informix /dev/rawspace1
2. chmod 660 /dev/rawspace1
3. chgrp informix /dev/rawspace1
4. chown informix /dev/rawspace1

Steps 3 & 4 can be combined in one step. example:
chown informix:informix /dev/rawspace1

Now the raw device file /dev/rawspace1 is ready for informix usage.

Regards,
Shriyan

"The learning and knowledge that we have, is, at the most, but little compared with that of which we are ignorant."
 
Shriyan,

I tried setting the permissions & privileges for the LV /dev/vguv/test_informix without creating the link which worked fine.

Thanks for your help.

Thanks
John Jayaseelan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top