Thank you for your answer Max, I tried using /bin/bash instead of /bin/sh but the segfault is still thrown. I found out the line of bin/openca-configure that causes the problem (it is the one highlighted below):
## load and translate file my @stat = stat $ARGV[1]; my $file = $tools->getFile($ARGV[1], "utf8"); ## "utf8" without "-" is essential here (perldoc Encode) if (not $file) { print "Error: ".$OpenCA::TRIStateCGI::errno."\n"; print "Message: ".$OpenCA::TRIStateCGI::errval."\n"; exit 0; } where $ARGV = ('/usr/local/openCA/etc/openca/config.xml', './openca_stop.template', './openca_stop') I tried to use openca-base-1.1.0 since with openca-base-1.1.1 I had some compilation issues. This time everything went fine with compilation and installation but when I try to generate the configuration files I face the same problem again. Thank you again for your suggestion. Cheers, Katerina Massimiliano Pala-7 wrote: > > Hello, > > This is a very strange error.. it seems like it is tied to some XML > parsing > issue.. which should not happened :D It seems like you have a problem with > the shell.. you can try doing the following. > > In the top part of the script, change /bin/sh into /bin/bash and see if > this > solves the problem... the line of the segfault is a simple "do" so.. I > have > no clue about what the real issue is there.. > > Cheers, > Max > > > On 08/05/2011 12:38 AM, kbag wrote: >> >> Hello everyone, >> >> I am new to openCA and linux. I have tried to install openCA-base-1.1.1 >> from >> sources on CentOS 5.5. During the configuration of the sources to be >> installed I chose as prefix the directory /usr/local/openCA >> I have installed all the prerequisite modules and programs (perl and perl >> modules,mod_ssl etc) and generally I followed the instructions of the >> guide >> "Open Source PKI with OpenCA". >> >> I have reached the point where I run ./configure_etc.sh >> >> The result is the following: >> >> ================================================================= >> fixing directory: /usr/local/openCA/etc/openca >> ================================================================= >> -------------begin file----------------- >> template: ./openca_stop.template >> target: ./openca_stop >> UPDATE => 1 >> status: To be updated >> ./configure_etc.sh: line 45: 13428 Segmentation fault >> ${exec_prefix}/bin/openca-configure >> /usr/local/openCA/etc/openca/config.xml >> $H $H_RESULT >> >> >> As you can see I get a Segmentation fault after the openca_stop.template. >> Why do I get this fault? Is this a bug?? Could someone help me with this >> a >> bit?? >> >> Thanks very much in advance. >> > > -- > > http://member.acm.org/~openca/ > > Massimiliano Pala, Ph.D. > Director, OpenCA Labs > Professor, NYU Poly > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Openca-Users mailing list > Openca-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openca-users > > -- View this message in context: http://old.nabble.com/Segmentation-fault-when-running-.-configure_etc.sh-tp32178142p32217713.html Sent from the openca-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Openca-Users mailing list Openca-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-users