<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>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:</p>
<p>#> chown -R eprints:eprints /opt/eprints3/<br>
</p>
<div class="moz-cite-prefix">On 22/07/2020 08:35, David R Newman via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|039142f9d3239512746ebb06105bde9dw6L8aA03drn|ecs.soton.ac.uk|5505ad7b-d1f4-2359-1e24-34d58ddfb552@ecs.soton.ac.uk">
<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%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=gzgeOEpwrKYGLjX9N4JYYmNGInzJSXG5ip0O7QLfhfU%3D&reserved=0" originalSrc="https://wiki.eprints.org/w/EPrints_and_SELinux" shash="OxKJHk4mk4ADsmhB8jN6aculyfsKhIaWfJNJhQaoP3tAEDHK2rPet98VmGsYtj5m99GTwqRSMloO+xD+oC2RgWAxhWotjOqimqGMs1rjzc2RfVjjYcgdzDPUybH+QPqCWk0wKLjCYeKtGEJWOqTbEfoKUOLlcgaLiWYI/gLX9A8=" originalsrc="https://wiki.eprints.org/w/EPrints_and_SELinux" shash="dBJRF/dUnFVafyCeuV6mRVhA6U7IJckytAVK9MJUflnw/4vLjpDkJPe/cQp/pjW9V5SKnLZIxk3nnLcrzIHZNe5YMoIkuOLPJl14VhA9jmchWLCXbf9pivs90jQEXGR8vHvRPzZdCk4sJ1YNatUa9Y48TsaYLmKcnrLki6HA99I=" moz-do-not-send="true">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" moz-do-not-send="true">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%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=UpxZEbUgrexaBDKDf7MhMnQSc%2FzHFVY%2BRg1VBR4%2FoOg%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="uEZ+voles5M32JLQGlvu82ySCpmk5AJx+0JMLK4TzSdIiEEGSnXsvg9x9JpER9F6ZMyWiyehYwt3lIykvccpBhG4NoRqBw0Jt3qdYcZxAGaWr4BPvTzkEfC/TEBe/EiOwkhTAkMVeJ4Nh0pIzAo1vYyRDtrMYG4IrfETWNF9vnY=" originalsrc="http://www.eprints.org/tech.php/" shash="q+n5Q5dyDe2wdE38bZZuBgfHEWE5ZH2+lTa5nDXZ+piQ0UUe3NTPp047KIHGRkfjGky/315y4PuxCE0wAlCdKGYB6ku+7VbG8Z6Lj28Cjdgk3BUEy/2a+CQf0UA9eWFJr0HWmKKTpWSMvcqGfT853zyodX/LYFWftvCxL2GxWHs=" moz-do-not-send="true">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%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=v%2BCl8HzeoSn99O3VmFhKlGWTe7mOFaDSO%2ByP7dhrnZ0%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="QpB1iFT5jBK3tAakxm5Qi7qTRF0ggOgb/C8YFqMSi3Ak67MeztrEh2/gzuD9u3qf5X2xp1LCIdKQx6iV2sz1FJ9eBetAWQBXG/3ZGPMUVOACcJvhcARVWuG5r2bF+f00MRqv2uXv36fvndljyYogrDE2e5QtMsRRmprsYlpBPls=" originalsrc="http://wiki.eprints.org/" shash="wq71QjUqAFoOo1RGcmE09h9ZeqvoPWOt0gUA4Jbn+qdKODPsckatj1LiyK2U1EJ70sSMeJUnAOBF48SUmITJ6XCyavIV6dxkA3CgLN0I+F5eDe/OOtwrQIHW0fm/FW0xzSMnjP3+KdERKJozCaYvfW9V1PRC6aF/fmK9nRoZiTk=" moz-do-not-send="true">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
<tbody>
<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%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=g1SxFbWzlWPVVtchIdyHGAZw5cYfu%2Ffze%2BBQoAg5Sdw%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="ykhq8vbIlbkvDtXjxMO4BUHdsO1jivZA47hrN7LtI/XmDTUabAlbgXlYLfwhtbukE0bJnyxyQcKyBLzkv3uwvjfBDfOuWb0sv98XV2GDHw/OJ9blh+xjDTH/z8bBxUnPAXXuZx3OPj08+y2rFbd5ulvDHV500KC77R9cRKbkf+I=" originalsrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="LMs3rt8BbVgsqhv+zg2D6Ok/FXQqhC1gL7GRGqxZbUqbheu6vcKbG/lJb2XuTsQXSffLtz5Cqeiyb/JQtQnWwdqOFckqelrekM1IN47S4x9q1o9k3X+yVJPooQjvlmg1MD70JRi/kOFoznjkD360a8bAqSk8x/Dn1iBY0Q2uQUQ=" target="_blank" moz-do-not-send="true"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" style="width: 46px; height: 29px;" moz-do-not-send="true" width="46" height="29"></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%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=g1SxFbWzlWPVVtchIdyHGAZw5cYfu%2Ffze%2BBQoAg5Sdw%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="ykhq8vbIlbkvDtXjxMO4BUHdsO1jivZA47hrN7LtI/XmDTUabAlbgXlYLfwhtbukE0bJnyxyQcKyBLzkv3uwvjfBDfOuWb0sv98XV2GDHw/OJ9blh+xjDTH/z8bBxUnPAXXuZx3OPj08+y2rFbd5ulvDHV500KC77R9cRKbkf+I=" originalsrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="LMs3rt8BbVgsqhv+zg2D6Ok/FXQqhC1gL7GRGqxZbUqbheu6vcKbG/lJb2XuTsQXSffLtz5Cqeiyb/JQtQnWwdqOFckqelrekM1IN47S4x9q1o9k3X+yVJPooQjvlmg1MD70JRi/kOFoznjkD360a8bAqSk8x/Dn1iBY0Q2uQUQ=" target="_blank" style="color: #4453ea;" moz-do-not-send="true">www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1" moz-do-not-send="true"> </a></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%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=UpxZEbUgrexaBDKDf7MhMnQSc%2FzHFVY%2BRg1VBR4%2FoOg%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="uEZ+voles5M32JLQGlvu82ySCpmk5AJx+0JMLK4TzSdIiEEGSnXsvg9x9JpER9F6ZMyWiyehYwt3lIykvccpBhG4NoRqBw0Jt3qdYcZxAGaWr4BPvTzkEfC/TEBe/EiOwkhTAkMVeJ4Nh0pIzAo1vYyRDtrMYG4IrfETWNF9vnY=">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%7Ce21ee1ef374a47df2a2408d82e127851%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=v%2BCl8HzeoSn99O3VmFhKlGWTe7mOFaDSO%2ByP7dhrnZ0%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="QpB1iFT5jBK3tAakxm5Qi7qTRF0ggOgb/C8YFqMSi3Ak67MeztrEh2/gzuD9u3qf5X2xp1LCIdKQx6iV2sz1FJ9eBetAWQBXG/3ZGPMUVOACcJvhcARVWuG5r2bF+f00MRqv2uXv36fvndljyYogrDE2e5QtMsRRmprsYlpBPls=">http://wiki.eprints.org/</a></pre>
</blockquote>
</body>
</html>