EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09429
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
RE: [EP-tech] Migrating to Redhat Linux 8.6
- To: David R Newman <drn@ecs.soton.ac.uk>, "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: RE: [EP-tech] Migrating to Redhat Linux 8.6
- From: Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
- Date: Sun, 24 Sep 2023 10:45:58 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi David
Thank you very much for your clarifications.
Thank you also Andrew for your efforts to try to replicate and resolve the issue. We will go ahead and use the MPM prefork mode to resolve the issue.
Thanks
Maher
-------- Original message --------
From: David R Newman <drn@ecs.soton.ac.uk>
Date: 9/24/23 11:16 AM (GMT+03:00)
To: eprints-tech@ecs.soton.ac.uk, Maher Abdellatif Ahmad Qahwash <qahwash@kfupm.edu.sa>
Subject: Re: [EP-tech] Migrating to Redhat Linux 8.6
Warning: This email has been sent from outside KFUPM. Do not open links or attachments unless you are sure they are safe.
My original experience when installing the Perl module XML::LibXSLT on RHEL 8 was that you need to install the CPAN version rather than the packaged (RPM using yum or dnf) version. However, this was a much earlier version of RHEL 8 (actually it was Rocky Linux 8). The issue with XML::LibXSLT is that it uses the shared object file /usr/lib64/libxslt.so (which symlinks to a file with a filename that includes the current version) and it seems that certain versions of both this shared object and XML::LibXSLT need to be installed to work with Apache running in MPM event mode to avoid it segfaulting. Therefore, the instruction to use MPM prefork mode, which is included as advice under the Issues with RHEL / CentOS / Rocky Linux 9 [1] is also the best solution if you have similar problems on RHEL 8. If you want to run in MPM event mode you can but you will need to not install XML::LibXSLT either as a package or using CPAN. Looking at some Rocky Linux 8 servers you can still have the libxslt RPM still installed it is just the loading of XML::LibXSLT into Apache that cause the segfault. The result of not installing XML::LibXSLT is that some XSLT based import plugins will not be available: Atom XML OpenXML Bibliography It is also used on some of the OAI-PMH pages (e.g. /cgi/oai2?verb=ListRecords&metadataPrefix=oai_dc). However, here I think this is only to visualize XML within a webpage rather than OAI-PMH export harvesting functionality that may be used by third-party applications. Therefore, you have a choice to leave MPM event enabled for Apache and lose this functionality or enable MPM prefork instead (using the instructions you described) and allow XML::LibXSLT to be installed (best to do this using yum/dnf) so you have this functionality available. I will look into updating the instructions on the wiki [2] to better explain the situation for RHEL 8. If I have time, I will do some investigation to see if there is anyway to have XML::LibXSLT installed and still run Apache in MPM event mode. However, I think you and others have already done exhaustive testing of this. Regards David Newman [1] https://wiki.eprints.org/w/Installing_EPrints_on_RHEL/Fedora/CentOS#Compatibility_issues_with_XML::LibXSLT_2 [2] https://wiki.eprints.org/w/Installing_EPrints_on_RHEL/Fedora/CentOS#Compatibility_issues_with_XML::LibXSLT On 23/09/2023 4:25 pm, Maher Abdellatif Ahmad Qahwash wrote:
|
- Follow-Ups:
- Re: [EP-tech] Migrating to Redhat Linux 8.6
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] Migrating to Redhat Linux 8.6
- Prev by Date: Re: [EP-tech] Migrating to Redhat Linux 8.6
- Next by Date: Re: [EP-tech] Migrating to Redhat Linux 8.6
- Previous by thread: Re: [EP-tech] Migrating to Redhat Linux 8.6
- Next by thread: Re: [EP-tech] Migrating to Redhat Linux 8.6
- Index(es):