Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> segmentation fault when running /home/oracle/product/CRS/root.sh for CRS on Linux (RAC install with iSCSI and raw devices)

segmentation fault when running /home/oracle/product/CRS/root.sh for CRS on Linux (RAC install with iSCSI and raw devices)

From: oracleracnoob <ejohnson_at_itegranet.com>
Date: 13 Jun 2006 11:23:48 -0700
Message-ID: <1150223028.189968.18170@f14g2000cwb.googlegroups.com>


Hello List Members -

(Please tell me if I'm in the wrong list and let me know if there's a better list for this question).

I am new at installing and configuring RAC but at least somewhat familiar with Linux. However, I am not a programmer of any kind. I have followed all Oracle's recommendation for Linux RAC nodes (Disk, RAM, CPU, etc). The OSes for the nodes (and the filer) are CentOS4.2 with linux kernels 2.6.9-34.0.1.EL and 2.6.9-34.0.1.ELsmp (tried both the SMP kernel and non SMP) My machines have 2Gb of swap and 1Gb of RAM (odd, I know).

The problem I am having is when installing RAC in a two node cluster with iscsi-target and cisco's initiatiors. I can read/write to the raw devices (as oracle user) /dev/raw/raw1 (OCR 150mb) and /dev/raw/raw2 (Voting Disk 20Mb) via the "dd" command.

When I run /home/oracle/product/CRS/root.sh which calls /home/oracle/product/CRS/install/rootinstall and
/home/oracle/product/CRS/install/rootconfig I ultimately get a seg fault.

After looking closer, the seg fault comes when the rootconfig script calls /home/oracle/product/CRS/bin/clscfg

I'm at a loss on this one. There's no error other than "Segmentation fault" at STDERR

Below are the last few lines (I can include a whole trace upon request) of an 'strace /home/oracle/product/CRS/bin/clscfg'

#### STRACE SNIPPED #######
pread64(4, "", 512, 157270016) = 0 pread64(4, "ol\220W\235\272\266\243ZLK\316\220;\2067\213N\320\257J"..., 512, 157261824) = 512
pread64(4,
"\305\353\242=\10\255?\251\31n^\261V\204}8\210T\375\31\247"..., 512,
157265920) = 512
pread64(4, "\31\215\367( \207*\215:\225\t \332\24\350\257\243\270\t"..., 512, 157267968) = 512 pread64(4,
")\30(\273\244tL\275\357\303\210\304VU)\27J_\357\256.T\210"..., 512, 157268992) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
pread64(4,
"\271<\261\271U\340\272\265\360\222\2122\177\247\v\0\207"..., 512,
157269504) = 512
open("/etc/oracle/ocr.loc", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=44, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6100000
read(5, "ocrconfig_loc=/dev/raw/raw1\nloca"..., 4096) = 44

read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0xb6100000, 4096)                = 0
pread64(4, "\1\202\363/\35\0\0\0\4\0\2\0OCR\0\214\364\310\32\0\0\0"..., 4096, 102400) = 4096
pread64(4, "\1\202\363/\35\0\0\0\4\0\2\0OCR\0\214\364\310\32\0\0\0"..., 4096, 102400) = 4096
pread64(4,
"\1\202@/\36\0\0\0\4\0\2\0OCR\0\214\364\310\32\0\0\0\0\0"..., 4096,
106496) = 4096
pread64(4, "\1\202\363/\35\0\0\0\4\0\2\0OCR\0\214\364\310\32\0\0\0"..., 4096, 102400) = 4096
--- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++
Process 3715 detached

#### END STRACE ####### Any help is much appreciated!

Thanks

-Erik Received on Tue Jun 13 2006 - 13:23:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US