[index] [prev] [next] [options] [help]

eprints_tech messages

Re: [EP-tech] Error installing IRStats2 from eprints bazaar admin menu

From: David R Newman via Eprints-tech <eprints-tech AT ecs.soton.ac.uk>
Date: Wed, 22 Jul 2020 08:40:11 +0100


Threading: Re: [EP-tech] Error installing IRStats2 from eprints bazaar admin menu from eprints-tech AT ecs.soton.ac.uk
      • This Message


A quick amendment for point 3 below it is safer to run the following 
command rather than assuming you are already in the /opt/eprints3/ 
directory where * would be sufficient:

#> chown -R eprints:eprints /opt/eprints3/

On 22/07/2020 08:35, David R Newman via Eprints-tech wrote:
>
> Hi Bilal,
>
> Welcome to the mailing list.  The error you see suggests there is a 
> file permission issue.  Based on your EPrints path being 
> /opt/eprints3, you have installed from source, which means you will 
> have manually needed to do the following things:
>
> 1. Created a Unix user with the username eprints
>
> #> adduser eprints
>
> 2. Edited either /etc/apache2/envvars (on Debian/Ubuntu) or 
> /etc/httpd/conf/httpd.conf to set the User and Group lines to eprints 
> and after doing this restart the webserver:
>
> User eprints
> Group eprints
>
> #> apachectl restart
>
> 3. Modified the user and group ownership of all files in the 
> /opt/eprints3/ directory path:
>
> #> chown -R eprints:eprints *
>
> If you have done all three of these things you will need to check the 
> permissions of the directory itself (as Yuri suggested in his email):
>
> ls -la /opt/eprints3/lib/epm/irstats2/bin/stats/
>
> The directory (i.e. '.') should ideally have permissions like:
>
> drwxrwsr-x  2 eprints eprints  4096 May 30  2019 .
>
> As long as the first four characters are drwx, then this should be 
> fine. If this is not the case then you should change the permissions 
> as follow:
>
> #> chmod 2775 /opt/eprints3/lib/epm/irstats2/bin/stats
>
> Once, doing this try installing IRStats2 from the Bazaar again.  You 
> may need to uninstall before reinstalling.  If you are still having 
> problems you may need to check if you have SELinux enabled:
>
> #> getenforce
>
> If the command above say "enforcing", then you should 
temporarily 
> disabled this will the following command to allow you to install 
> IRStats2 from the Bazaar:
>
> #> setenforce 0
>
> Then once IRStats2 is installed:
>
> #> setenforce 1
>
> SELinux can cause various issues with running EPrints.  If you have to 
> run SELinux the approach to installing and running EPrints needs to be 
> a little different.  A while back I wrote a page to help people do this:
>
> 
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_and_SELinux&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=gzgeOEpwrKYGLjX9N4JYYmNGInzJSXG5ip0O7QLfhfU%3D&amp;reserved=0
>
> Regards
>
> David Newman
>
> On 22/07/2020 03:17, Perpustakaan Politeknik APP Jakarta via 
> Eprints-tech wrote:
>> Dear all,
>>
>> First of all I'm so glad to be connected with you all in this mailing 

>> list. I'm Bilal from Polytechnic APP Jakarta in Indonesia. Our 
>> institution using Eprints ver. 3.4.1 as institutional repository 
>> software. Thank you for all the people that made this software 
>> available freely.
>>
>> Second, I want to ask all of you, that might know, about a problem 
>> that I encountered recently. As we are still in the early stage of 
>> development, right now I'm trying to install IRStats2 add-on via 
>> eprints bazaar menu. But in the process I got an error message: 
>> "Error operating on /opt/eprints3/lib/epm/irstats2/bin/stats/: 
>> Permission denied" (pic attached). Is this error related to the 
>> permission setting in the server or something else?
>>
>> Many thanks,
>>
>> Regards,
>>
>> Bilal
>>
>> *** 
Options:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> *** 
Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=UpxZEbUgrexaBDKDf7MhMnQSc%2FzHFVY%2BRg1VBR4%2FoOg%3D&amp;reserved=0
>> *** EPrints community 
wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=v%2BCl8HzeoSn99O3VmFhKlGWTe7mOFaDSO%2ByP7dhrnZ0%3D&amp;reserved=0
>
> 
<https://eur03.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&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=g1SxFbWzlWPVVtchIdyHGAZw5cYfu%2Ffze%2BBQoAg5Sdw%3D&amp;reserved=0> 
> 	Virus-free. 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=j0dB8O86LgN64OZOS1K8NhWTH%2B8hGetqcx%2FHSvdpbKk%3D&amp;reserved=0 
> 
<https://eur03.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&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=g1SxFbWzlWPVVtchIdyHGAZw5cYfu%2Ffze%2BBQoAg5Sdw%3D&amp;reserved=0> 
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=UpxZEbUgrexaBDKDf7MhMnQSc%2FzHFVY%2BRg1VBR4%2FoOg%3D&amp;reserved=0
> *** EPrints community wiki: 
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=v%2BCl8HzeoSn99O3VmFhKlGWTe7mOFaDSO%2ByP7dhrnZ0%3D&amp;reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&amp;data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=ilqp9oF%2B7H47AfBI4%2FJu8ocWrd5rV4dYl88bYBS6GME%3D&amp;reserved=0

ATTACHMENT: message.html!

*** 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/

[index] [prev] [next] [options] [help]