[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Error installing IRStats2 from eprints bazaar admin menu
- Subject: [EP-tech] Error installing IRStats2 from eprints bazaar admin menu
- From: drn at ecs.soton.ac.uk (David R Newman)
- Date: Wed, 22 Jul 2020 08:40:11 +0100
- In-reply-to: <EMEW3|039142f9d3239512746ebb06105bde9dw6L8aA03drn|ecs.soton.ac.uk|5505ad7b-d1f4-2359-1e24-34d58ddfb552@ecs.soton.ac.uk>
- References: <CAGnty4G4SrkUgBTZXmvjM_z=OYGrZHeZFeco_SXOb0ef_j878A@mail.gmail.com> <CAGnty4G4SrkUgBTZXmvjM_z=OYGrZHeZFeco_SXOb0ef_j878A@mail.gmail.com> <EMEW3|63b5f7a1f99dd80d39c957ad4dffae48w6L3Kx14eprints-tech-bounces|ecs.soton.ac.uk|CAGnty4G4SrkUgBTZXmvjM_z=OYGrZHeZFeco_SXOb0ef_j878A@mail.gmail.com> <5505ad7b-d1f4-2359-1e24-34d58ddfb552@ecs.soton.ac.uk> <EMEW3|039142f9d3239512746ebb06105bde9dw6L8aA03drn|ecs.soton.ac.uk|5505ad7b-d1f4-2359-1e24-34d58ddfb552@ecs.soton.ac.uk> <195fcc1e-8217-9cdf-73b9-357607d06c86@ecs.soton.ac.uk>
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&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=gzgeOEpwrKYGLjX9N4JYYmNGInzJSXG5ip0O7QLfhfU%3D&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&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=UpxZEbUgrexaBDKDf7MhMnQSc%2FzHFVY%2BRg1VBR4%2FoOg%3D&reserved=0
>> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=v%2BCl8HzeoSn99O3VmFhKlGWTe7mOFaDSO%2ByP7dhrnZ0%3D&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&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=g1SxFbWzlWPVVtchIdyHGAZw5cYfu%2Ffze%2BBQoAg5Sdw%3D&reserved=0>
> Virus-free. https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2F&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=j0dB8O86LgN64OZOS1K8NhWTH%2B8hGetqcx%2FHSvdpbKk%3D&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&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=g1SxFbWzlWPVVtchIdyHGAZw5cYfu%2Ffze%2BBQoAg5Sdw%3D&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&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=UpxZEbUgrexaBDKDf7MhMnQSc%2FzHFVY%2BRg1VBR4%2FoOg%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=v%2BCl8HzeoSn99O3VmFhKlGWTe7mOFaDSO%2ByP7dhrnZ0%3D&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&data=01%7C01%7C%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ilqp9oF%2B7H47AfBI4%2FJu8ocWrd5rV4dYl88bYBS6GME%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200722/8a6a5783/attachment.html