EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #10255


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

RE: [EP-tech] New site still inaccessible


CAUTION: This e-mail originated outside the University of Southampton.

Subject:
EPrints 3.4.7: mod_perl “abort” method error after clean install (Internal Server Error)


 

 

Hi

 

I think my previous message can now be augmented with more detail.

 

I’m setting up a clean install of EPrints 3.4.7 on a local-only Ubuntu VM (Apache 2.4.58, mod_perl 2.0.13, Perl 5.38.2).
I’ve followed the standard installation steps and generated the Apache config using generate_apacheconf.
Apache is running as root (via systemd), and I’m using the default EPrints tarball (not a system package).

Key config details:

  • Apache is listening on port 80.
  • /etc/hosts maps arcomtest to 127.0.1.1.
  • My <VirtualHost *:80> block includes:
    • PerlSwitches -I/opt/eprints3/perl_lib
    • PerlSetEnv PERL5LIB /opt/eprints3/perl_lib
    • ServerName arcomtest
    • The standard EPrints handler and aliases.

Problem:
When I visit http://arcomtest/, I get an Internal Server Error.
The Apache error log shows:

Can't locate object method "abort" via package "EPrints" at /opt/eprints3/perl_lib/EPrints/Apache/Rewrite.pm line 74.

However:

  • /opt/eprints3/perl_lib/EPrints.pm does contain the abort method (I see three sub abort lines).
  • There is only one EPrints install on this VM.
  • Permissions on /opt/eprints3/perl_lib are correct and readable by Apache.
  • PerlSwitches and PERL5LIB are set globally and in the VirtualHost.
  • mod_perl is enabled and working for other test handlers.

 

Has anyone seen this before?
Is there a known issue with EPrints 3.4.7 and mod_perl, or something subtle I might have missed in the environment setup?

 

Any advice or troubleshooting tips would be much appreciated!

 

Thanks,

Will Hughes

 

 

From: eprints-tech-request@ecs.soton.ac.uk <eprints-tech-request@ecs.soton.ac.uk> On Behalf Of Will Hughes
Sent: 19 September 2025 15:04
To: EPrints.org Technical List <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] New site still inaccessible

 

CAUTION: This e-mail originated outside the University of Southampton.

CAUTION: This e-mail originated outside the University of Southampton.

Hi

 

I wonder is anyone can help me. I have set up a VM with Eprints 3.4.7 and all seems OK, except that I cannot access it through a browser on my PC. I have been srabbling around with ports.conf, eprints.conf, virtual hosts, and goodness know what. I recall that my real installation (3.4.5) was equally impossible to resolve by myself. I mistakenly thought that this one would be easier, having no requirement for https. No such luck!

To test the web pages, I have been trying curl inside the console, and seem unable to get beyond this:
curl -I http://localhost:8080/

curl: (52) Empty reply from server

Help, please!

 

Best wishes

 

Will   

 

Will Hughes

Emeritus Professor of Construction Management and Economics

School of the Built Environment     

University of Reading, PO Box 219, Whiteknights

Reading, RG6 6DF, UK