<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">OK,<br>
<br>
First of all try to remove the two plugins one at a time and in
the meantime start apache to see which one breaks apache.<br>
<br>
Building apache from sources is not very dramatic, you just have
to find an "easy guide". I'll search later to see if I find any
and I will come back with the link. Do you run any other sites
through the same apache (which may use PHP, python or any other
server side language)?<br>
<br>
In order to check a binary's linked libraries you can do so using
the ldd command followed by the full path of the binary. In my
system (Debian), running ldd on the apache2 binary returns:<br>
<br>
# ldd /usr/sbin/apache2<br>
. linux-vdso.so.1 (0x00007fff8bce5000)<br>
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3
(0x00007f6c588ad000)<br>
libaprutil-1.so.0 =>
/usr/lib/x86_64-linux-gnu/libaprutil-1.so.0 (0x00007f6c58684000)<br>
libapr-1.so.0 => /usr/lib/x86_64-linux-gnu/libapr-1.so.0
(0x00007f6c5844e000)<br>
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f6c58231000)<br>
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
(0x00007f6c57e88000)<br>
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1
(0x00007f6c57c82000)<br>
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1
(0x00007f6c57a7a000)<br>
libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1
(0x00007f6c57843000)<br>
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
(0x00007f6c5763e000)<br>
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1
(0x00007f6c57415000)<br>
/lib64/ld-linux-x86-64.so.2 (0x00007f6c58dc9000)<br>
<br>
Moreover, to see how many versions of a library are installed in
your system you can use ldconfig with the -p option. So for
example in the same system:<br>
# ldconfig -p | grep -i expat<br>
libexpatw.so.1 (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/libexpatw.so.1<br>
libexpatw.so (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/libexpatw.so<br>
libexpat.so.1 (libc6,x86-64) =>
/lib/x86_64-linux-gnu/libexpat.so.1<br>
libexpat.so (libc6,x86-64) =>
/usr/lib/x86_64-linux-gnu/libexpat.so<br>
<br>
Using dpkg-query in a debian-based system (like Ubuntu), you can
see which file is installed by which package, so in my system
again:<br>
<br>
# dpkg-query -S /usr/lib/x86_64-linux-gnu/libexpatw.so<br>
libexpat1-dev:amd64: /usr/lib/x86_64-linux-gnu/libexpatw.so<br>
<br>
I see that libexpat1-dev package installed the library of
libexpatw in it.<br>
<br>
Maybe you can use these commands in your system to see what's
wrong.<br>
<br>
On 25/09/2015 01:01 μμ, Richard Jones wrote:<br>
</div>
<blockquote
cite="mid:EMEW3|7b3d7c76fca8fde575faa848a9b2cbacr8OB2Y14eprints-tech-bounces|ecs.soton.ac.uk|CAJaHgurVYMDKLWsSHm2yj=q4_eyuqphabXnZLs03ojwbMKtEbg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Hi George,</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div> <br>
It would be good if you could provide the relevant
apache logs. Moreover, if you uninstall the packages
you mentioned you installed yesterday, does apache
work OK?</div>
</div>
</blockquote>
<div><br>
</div>
<div>I haven't tried yet, but I would expect so - it broke
the instant I installed them! I may back them out to
confirm, but I need them installed for the XSLT import
plugins to work.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div> In the link you provided it's talking about the
expat library and I'm not sure the packages you've
mentioned are related to that. </div>
</div>
</blockquote>
<div><br>
</div>
<div>I'm not totally clear either, but they're both XML
related, so seemed like a reasonable bet.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Nonetheless, what the link implies as a solution (<b>IF</b>
this is your problem), is to install apache through
sources so as to remove the double-linking with
lib-expat. </div>
</div>
</blockquote>
<div><br>
</div>
<div>Hm, that's what I was afraid of :) I'm not sure how to
do that, or what it means to "remove the double-linking",
so I'm hesitant to go down that route just yet.</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Richard</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div> <br>
<br>
George.
<div>
<div class="h5"><br>
<br>
On 25/09/2015 12:03 μμ, Richard Jones wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>Hi Folks,</div>
<div><br>
</div>
<div>I think that I'm experiencing this error:</div>
<div><br>
</div>
<a moz-do-not-send="true"
href="http://wiki.eprints.org/w/Troubleshooting#Apache_Crashes_with_a_segmentation_fault"
target="_blank">http://wiki.eprints.org/w/Troubleshooting#Apache_Crashes_with_a_segmentation_fault</a><br
clear="all">
<div><br>
</div>
<div>Yesterday I installed libxml-libxml-perl
and libxml-libxslt-perl to fix a problem with
XSLT crosswalks not being loaded, and now I'm
unable to restart apache.</div>
<div><br>
</div>
<div>I installed apache2 on my ubuntu system via
the aptitude (so, not from source), and I
installed eprints from source and manually
installed the dependencies via aptitude.</div>
<div><br>
</div>
<div>The troubleshooting guide tells me what the
problem might be, but doesn't have a fix -
does anyone know how to resolve?</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Richard</div>
<div><br>
</div>
-- <br>
<div>
<div><br>
</div>
Richard Jones,
<div><br>
</div>
<div>Founder, Cottage Labs
<div>t: @richard_d_jones, @cottagelabs</div>
<div>w: <a moz-do-not-send="true"
href="http://cottagelabs.com"
target="_blank">http://cottagelabs.com</a><br>
<div><br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<span class="">
<pre>*** Options: <a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a moz-do-not-send="true" href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a moz-do-not-send="true" href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a moz-do-not-send="true" href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a>
</pre>
</span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<br>
<pre cols="72">--
George Mamalakis
IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)
School of Electrical and Computer Engineering
Aristotle University of Thessaloniki
phone number : +30 (2310) 994379
</pre>
</font></span></div>
<br>
*** Options: <a moz-do-not-send="true"
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"
rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a moz-do-not-send="true"
href="http://www.eprints.org/tech.php/" rel="noreferrer"
target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a moz-do-not-send="true"
href="http://wiki.eprints.org/" rel="noreferrer"
target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a moz-do-not-send="true"
href="http://forum.eprints.org/" rel="noreferrer"
target="_blank">http://forum.eprints.org/</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div><br>
</div>
Richard Jones,
<div><br>
</div>
<div>Founder, Cottage Labs
<div>t: @richard_d_jones, @cottagelabs</div>
<div>w: <a moz-do-not-send="true"
href="http://cottagelabs.com" target="_blank">http://cottagelabs.com</a><br>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
George Mamalakis
IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)
School of Electrical and Computer Engineering
Aristotle University of Thessaloniki
phone number : +30 (2310) 994379
</pre>
</body>
</html>