EPrints Technical Mailing List Archive

Message: #07680


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

Re: [EP-tech] EPrints 3.3.16 error when running apache2 restart


Hi Ajunk,

This is because you are running mpm_event Apache module rather than mpm_prefork.  I believe you can still switch this over on Ubuntu 18.04 with:

a2dismod mpm_event

a2enmod mpm_prefork

There was issues with EPrints running on Apache using mpm_event.  I have previously posted on this list asking people to try out EPrints (later 3.3.x version) on Ubuntu 16.04 and Ubuntu 18.04 using mpm_event not mpm_prefork to see if they see any issue, after removing the unrequired deb package (libxml-libxslt-perl) which caused segmentation faults when used with mpm_event.  Unfortunately, I never got any feedback at the time, so I decided to retain the message until I was confident this problem was the reason behind the message originally being added.

That all said,  the threads message is only a notice warning you that you might have issue not actually something preventing Apache from restarting.  The issue is that you do not have the version number set.  This can be fixed by copying perl_lib/EPrints/SystemSettings.pm.tmpl to perl_lib/EPrints/SystemSettings.pm.  I think this would normally happen if you were create a new archive from scratch using the "epadmin create" command but if you are upgrading then it will not.  You may need to merge some config options from your old (3.3.12) SystemSettings.pm if you modified this for some reason, (e.g. setting a specific SMTP server to use to send emails through).  Otherwise, just copying the .tmpl file across should be sufficient.

Regards

David Newman

On 30/01/2019 23:39, Ajunk Pracetio via Eprints-tech wrote:
Hi,

I just installed eprints 3.3.16 on Ubuntu 18.04 LTS. Then, I put the archives folder from my old eprints (version 3.3.12) to the location /usr/share/eprints/ archives

I have imported a database of previous eprints into the new database. the problem is, when I restart Apache2, an error appears as follows:

[Thu Jan 31 06:25:22.987237 2019] [perl:notice] [pid 11821:tid 140559951174592] Warning! Running EPrints under threads is experimental and liable to break
[Thu Jan 31 06:25:23.551255 2019] [perl:error] [pid 11821:tid 140559951174592] Invalid version format (negative version number) at (eval 509) line 1, near "package EPrints::Config::myrepo"\nsyntax error at (eval 509) line 1, near "package EPrints::Config::myrepo-"\nBEGIN not safe after errors--compilation aborted at (eval 509) line 2.\n

I've searched Google and haven't found a solution. Can anyone help with this case? I am surprised that there is a description of "Running EPrints under threads is experimental and liable to break".

thank you

Best regards,
Agung Prasetyo W.
--
Life isn't valuable if you don't have someone to care

IG & Twitter : prazetyo

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

Virus-free. www.avg.com