[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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.


David Newman

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

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

Blog : https://agungprasetyo.net/<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fagungprasetyo.net%2F&data=01%7C01%7C%7Cfbfc388083004362185e08d68711b9fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=S7U29gdP68nWi63ZpcB%2BjT5OmsoO6NZtIJocxpUNLBM%3D&reserved=0>
IG & Twitter : prazetyo

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7Cfbfc388083004362185e08d68711b9fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=nVb1xVOGfIdC6pIU7XIu5j2XFOFux8iO%2B4wwy82OSWk%3D&reserved=0>
*** EPrints community wiki: http://wiki.eprints.org/<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7Cfbfc388083004362185e08d68711b9fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=l1v76ku1O3gu3JPVV9johaPIykvLAfYnP%2FNY2Cb24C0%3D&reserved=0>
*** EPrints developers Forum: http://forum.eprints.org/<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7C%7Cfbfc388083004362185e08d68711b9fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=6ivRU%2ByVNfwc4QL4%2BLVMKyKg6buPvW3F1bnGE2xxp74%3D&reserved=0>

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=01%7C01%7C%7Cfbfc388083004362185e08d68711b9fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=ZUjS%2BYlYREr9m2zVWe731JyMQ%2FHe5Fl0V7EoJa6tsdk%3D&reserved=0>      Virus-free. www.avg.com<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=01%7C01%7C%7Cfbfc388083004362185e08d68711b9fb%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=ZUjS%2BYlYREr9m2zVWe731JyMQ%2FHe5Fl0V7EoJa6tsdk%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190131/7a60b06a/attachment-0001.html