<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Bilal,</p>
<p>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:</p>
<p>1. Created a Unix user with the username eprints</p>
<p>#> adduser eprints</p>
<p>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:</p>
<p>User eprints<br>
Group eprints</p>
<p>#> apachectl restart<br>
</p>
<p>3. Modified the user and group ownership of all files in the
/opt/eprints3/ directory path:</p>
<p>#> chown -R eprints:eprints *</p>
<p>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):</p>
<p>ls -la /opt/eprints3/lib/epm/irstats2/bin/stats/</p>
<p>The directory (i.e. '.') should ideally have permissions like:</p>
<p>drwxrwsr-x 2 eprints eprints 4096 May 30 2019 .</p>
<p>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:</p>
<p>#> chmod 2775 /opt/eprints3/lib/epm/irstats2/bin/stats</p>
<p>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:</p>
<p>#> getenforce</p>
<p>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:</p>
<p>#> setenforce 0</p>
<p>Then once IRStats2 is installed:</p>
<p>#> setenforce 1</p>
<p>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:</p>
<p><a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FEPrints_and_SELinux&data=01%7C01%7C%7C25b0765a8ee44654d41808d82e11e220%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=Xo6fyKfXGSykcoWFq8vaCW373GSqxnm76H%2BFcQKPNv0%3D&reserved=0" originalSrc="https://wiki.eprints.org/w/EPrints_and_SELinux" shash="cCpgNWCmApp49NVCysZtYIcPS1fubS0H3Xrys4X8Lu4AUjaK0yLyaThrb8UqiziLJvyV/Kwv1/v/FR+KCsHdSPvN+lqvhLZOTtnG98SRF/6HMtwOvqhAXQxxexKCuKVCxOpS/OAQzs6oCkrr/6IK5GFeogWtKRG6SMHlcsl1ATM=">https://wiki.eprints.org/w/EPrints_and_SELinux</a></p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div class="moz-cite-prefix">On 22/07/2020 03:17, Perpustakaan
Politeknik APP Jakarta via Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|63b5f7a1f99dd80d39c957ad4dffae48w6L3Kx14eprints-tech-bounces|ecs.soton.ac.uk|CAGnty4G4SrkUgBTZXmvjM_z=OYGrZHeZFeco_SXOb0ef_j878A@mail.gmail.com">
<div dir="ltr">Dear all,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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? </div>
<div><br>
</div>
<div>Many thanks,</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Bilal</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7C25b0765a8ee44654d41808d82e11e220%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=jFc0%2BDWj5wgGpKgR7Q05waOVoyTlGEZz4gDBXJm2EFU%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="XO0700gS/ZodLuesi+rNcNoGot21mkSWwOOoiky4zHR4c8zZthp8xILNaSPo/hq8fCuw/lF2iNyFpU4NCANyygpIlVYgZbvfU8ZQ3i49ZXXSIADgzcsF/JhOxciA/nKSbeudUDIfpIKtnxjURNGIVi2YttWR+ObIlyCNl0LHk8U=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7C25b0765a8ee44654d41808d82e11e220%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=lM1mihIshwCC6FHHnIi%2F3sPQNGDo779cYmYbwGzlE8M%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="mu+beL5tBECKOLYdAVEwiL7qcjDNblM+YjQjg18Qx9mlROq222LlBwDr8BpaAEbzsQm3LS47UDZ1p0WFOSGltVhNiIbpmse53iD0b5MkokbE13nNRmPSH7wevQkahttkUVuFNHkA5xRluyyfuwkbgb5lOMiHqUvpOapIqtic77k=">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
<td style="width: 55px; padding-top: 13px;"><a href="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%7C25b0765a8ee44654d41808d82e11e220%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=cR6upY1dyWAjUSJvy2ORHJdjt0NNLPjR3QgNnJYemaU%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="Ua6B6QbggKK5itJZuHuv8YXGErZjmImdsdQ2CpYckPNJHdXtUIj3g/ZZfp8nWrxIxnt+7dbcp6ASx4Rm8kDA975fZ0hrme1yCk/k8D5eQ24kZRKlMi3jN6XUrPWhVDdwhx25otPSekGooMxrQHrZVPMdRDOkByDwH58AR0jh3NI=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="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%7C25b0765a8ee44654d41808d82e11e220%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=cR6upY1dyWAjUSJvy2ORHJdjt0NNLPjR3QgNnJYemaU%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="Ua6B6QbggKK5itJZuHuv8YXGErZjmImdsdQ2CpYckPNJHdXtUIj3g/ZZfp8nWrxIxnt+7dbcp6ASx4Rm8kDA975fZ0hrme1yCk/k8D5eQ24kZRKlMi3jN6XUrPWhVDdwhx25otPSekGooMxrQHrZVPMdRDOkByDwH58AR0jh3NI=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>