<div dir="ltr"><div>I have checked the permissions but the error still persist.  So run ./bin/epadmin unit_tests and got the following error</div><div><br></div><div><div>eprints@researchdb:~$ ./bin/epadmin unit_tests</div><div>/usr/share/eprints3/tests/<a href="http://01_use.pl">01_use.pl</a> ............... 1/2 # EPrints Version: 3.3.14</div><div>/usr/share/eprints3/tests/<a href="http://01_use.pl">01_use.pl</a> ............... ok</div><div>/usr/share/eprints3/tests/<a href="http://02_session.pl">02_session.pl</a> ........... ok</div><div>/usr/share/eprints3/tests/<a href="http://03_set_value.pl">03_set_value.pl</a> ......... ok</div><div>/usr/share/eprints3/tests/<a href="http://05_bug_fixes.pl">05_bug_fixes.pl</a> ......... ok</div><div>/usr/share/eprints3/tests/<a href="http://10_xml_dom.pl">10_xml_dom.pl</a> ........... ok</div><div>/usr/share/eprints3/tests/<a href="http://10_xml_gdome.pl">10_xml_gdome.pl</a> ......... skipped: XML::GDOME missing</div><div>/usr/share/eprints3/tests/<a href="http://10_xml_libxml.pl">10_xml_libxml.pl</a> ........ ok</div><div>/usr/share/eprints3/tests/<a href="http://11_epscript.pl">11_epscript.pl</a> .......... ok</div><div>/usr/share/eprints3/tests/<a href="http://20_database_utf8.pl">20_database_utf8.pl</a> ..... ok</div><div>/usr/share/eprints3/tests/<a href="http://21_database_fields.pl">21_database_fields.pl</a> ... ok</div><div>/usr/share/eprints3/tests/<a href="http://23_cache.pl">23_cache.pl</a> ............. ok</div><div>/usr/share/eprints3/tests/<a href="http://25_mysql.pl">25_mysql.pl</a> ............. ok</div><div>/usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> ............ 1/36</div><div>#   Failed test &#39;subjects and divisions: AND(</div><div>#       in_subject($eprint.divisions,&quot;sch_mat&quot;) ... eprint_divisions,</div><div>#       in_subject($eprint.subjects,&quot;GR&quot;) ... eprint_subjects</div><div># )&#39;</div><div>#   at /usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> line 71.</div><div><br></div><div>#   Failed test &#39;search multiple name field</div><div># : SELECT `eprint`.`eprintid` FROM `eprint`, `eprint__index_grep` AS `eprint__index_grep`, `eprint__rindex` AS `eprint__rindex` WHERE `eprint`.`eprintid`=`eprint__index_grep`.`eprintid` AND `eprint`.`eprintid`=`eprint__rindex`.`eprintid` AND (`eprint__index_grep`.`fieldname`=&#39;creators_name&#39; AND (`eprint__index_grep`.`grepstring` LIKE &#39;%[neumeier]%-%[m%&#39;) AND `eprint__rindex`.`field`=&#39;creators_name&#39; AND `eprint__rindex`.`word`=&#39;neumeier&#39;) GROUP BY `eprint`.`eprintid`&#39;</div><div>#   at /usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> line 117.</div><div><br></div><div>#   Failed test &#39;satisfy-any, nomatch multiple&#39;</div><div>#   at /usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> line 132.</div><div><br></div><div>#   Failed test &#39;documents.format join path&#39;</div><div>#   at /usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> line 257.</div><div>/usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> ............ 26/36</div><div>#   Failed test &#39;compound type field query&#39;</div><div>#   at /usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> line 358.</div><div><br></div><div>#   Failed test &#39;title OR abstract: OrSubQuery(</div><div>#       AndSubQuery(</div><div>#               index($eprint.title,&quot;banded&quot;) ... eprint__rindex,</div><div>#               index($eprint.title,&quot;gecko&quot;) ... eprint__rindex</div><div>#       ),</div><div>#       AndSubQuery(</div><div>#               index($eprint.abstract,&quot;demonstration&quot;) ... eprint__rindex,</div><div>#               index($eprint.abstract,&quot;data&quot;) ... eprint__rindex</div><div>#       )</div><div># )</div><div># SELECT `eprint`.`eprintid` FROM `eprint`, (SELECT `eprint`.`eprintid` AS `eprintid` FROM `eprint`, `eprint__rindex` AS `eprint__rindex` WHERE `eprint`.`eprintid`=`eprint__rindex`.`eprintid` AND `eprint__rindex`.`field`=&#39;title&#39; AND `eprint__rindex`.`word`=&#39;banded&#39;) AS `and_209780456_0`, (SELECT `eprint`.`eprintid` AS `eprintid` FROM `eprint`, `eprint__rindex` AS `eprint__rindex` WHERE `eprint`.`eprintid`=`eprint__rindex`.`eprintid` AND `eprint__rindex`.`field`=&#39;title&#39; AND `eprint__rindex`.`word`=&#39;gecko&#39;) AS `and_209780456_1` WHERE `eprint`.`eprintid`=`and_209780456_0`.`eprintid` AND `eprint`.`eprintid`=`and_209780456_1`.`eprintid` GROUP BY `eprint`.`eprintid`&#39;</div><div>#   at /usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> line 411.</div><div><br></div><div>------------------------------------------------------------------</div><div>---------------- EPrints System Error ----------------------------</div><div>------------------------------------------------------------------</div><div>Cannot create sub-object on non-subobject field item_issues</div><div>------------------------------------------------------------------</div><div>EPrints System Error inducing stack dump</div><div> at /usr/share/eprints3/bin/../perl_lib/EPrints.pm line 147</div><div>        EPrints::abort() called at /usr/share/eprints3/bin/../perl_lib/EPrints/DataObj.pm line 377</div><div>        EPrints::DataObj::create_subdataobj(&#39;EPrints::DataObj::EPrint=HASH(0xc7e41b0)&#39;, &#39;item_issues&#39;, &#39;HASH(0xc799ec0)&#39;) called at /usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> line 427</div><div># Looks like you planned 36 tests but ran 34.</div><div># Looks like you failed 6 tests of 34 run.</div><div># Looks like your test exited with 1 just after 34.</div><div>/usr/share/eprints3/tests/<a href="http://30_search.pl">30_search.pl</a> ............ Dubious, test returned 1 (wstat 256, 0x100)</div><div>Failed 8/36 subtests</div><div>        (less 2 skipped subtests: 26 okay)</div><div>/usr/share/eprints3/tests/<a href="http://31_simple_search.pl">31_simple_search.pl</a> ..... ok</div><div>/usr/share/eprints3/tests/<a href="http://32_triples.pl">32_triples.pl</a> ........... ok</div><div>/usr/share/eprints3/tests/<a href="http://40_views.pl">40_views.pl</a> ............. 1/6 # memory footprint</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2005</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1987</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2004</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/NULL</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1989</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1990</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2014</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2007</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1991</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2002</div><div>Undefined phrase: eprint_fieldopt_thesis_type_phd (en) at line 126 in /usr/share/eprints3/bin/../perl_lib/EPrints/MetaField/Set.pm</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2013</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2000</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2011</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1996</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2009</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1999</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2015</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2012</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1993</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2010</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1994</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2008</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1988</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2001</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1997</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1985</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1998</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1992</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/1986</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2006</div><div># /tmp/o67muJW0ul/en/view/_40_views_pl/2003</div><div>/usr/share/eprints3/tests/<a href="http://40_views.pl">40_views.pl</a> ............. 3/6 #        update_view_by_path=-1B</div><div>#        update_browse_view_list=-1B</div><div>/usr/share/eprints3/tests/<a href="http://40_views.pl">40_views.pl</a> ............. ok</div><div>/usr/share/eprints3/tests/<a href="http://50_mem_usage.pl">50_mem_usage.pl</a> ......... 1/4 # LOAD=-1B</div><div># Repository-Specific Data</div><div>#       _load_config=-1B</div><div>#       _load_workflows=-1B</div><div>#       _load_namedsets=-1B</div><div>#       _load_datasets=-1B</div><div>#       _load_languages=-1B</div><div>#       _load_templates=-1B</div><div>#       _load_citation_specs=-1B</div><div>#       _load_storage=-1B</div><div>#       _load_plugins=-1B</div><div># Session=-1B</div><div>/usr/share/eprints3/tests/<a href="http://50_mem_usage.pl">50_mem_usage.pl</a> ......... ok</div><div>/usr/share/eprints3/tests/<a href="http://51_plugin_mem_usage.pl">51_plugin_mem_usage.pl</a> .. 1/3 #</div><div># Plugin Memory Usage</div><div># EPrints::Plugin::Screen::EPrint::Messages=-1B</div><div># EPrints::Plugin::Convert::Thumbnails=-1B</div><div># EPrints::Plugin::Search=-1B</div><div># EPrints::Plugin::Export::OAI_DC=-1B</div><div># EPrints::Plugin::Storage::EPM=-1B</div><div>/usr/share/eprints3/tests/<a href="http://51_plugin_mem_usage.pl">51_plugin_mem_usage.pl</a> .. ok</div><div>/usr/share/eprints3/tests/<a href="http://52_mem_cycle.pl">52_mem_cycle.pl</a> ......... 1/3 Bailout called.  Further testing stopped:  Install Test::Memory::Cycle</div><div>FAILED--Further testing stopped: Install Test::Memory::Cycle</div><div>eprints@researchdb:~$</div></div><div><br></div><div><br></div><div>Any ideas whats wrong with the system</div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 10:57 AM, Thomas Lauke <span dir="ltr">&lt;<a href="mailto:th.lauke@arcor.de" target="_blank">th.lauke@arcor.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&gt;  My problem is I don&#39;t know which rights to play around with, if the error I am getting is related to rights.<br>
for the executing user 2 access bits have to be set: read + execute ... thus as root<br>
- check the group your executer belongs to -&gt; EXEgroup<br>
- check, that the owner EprintsOwner of all relevant files belongs to EXEgroup<br>
- check, that all relevant files are owned by EprintsOwner<br>
find &lt;PathToEprints&gt; ! -user &lt;EprintsOwner&gt;<br>
- search for files rejecting the necessary access:<br>
find &lt;PathToEprints&gt; -user &lt;EprintsOwner&gt; ! -perm -u=r,g=r<br>
- add the necessary access:<br>
find &lt;PathToEprints&gt; -user &lt;EprintsOwner&gt; ! -perm -u=r,g=r -exec chmod ug+r {} \;<br>
- add execution bit only if necessary<br>
find &lt;PathToEprints&gt; -user &lt;EprintsOwner&gt; \( -type d -o -type f -perm /u=x \) ! -perm -u=x,g=x -exec chmod ug+x {} \;<br>
<br>
Good luck<br>
<span class="HOEnZb"><font color="#888888">Thomas<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre><font><font face="arial narrow, sans-serif">
</font><font face="tahoma, sans-serif" size="4">Luxmore Chiwuta</font></font></pre><pre><font><font face="tahoma, sans-serif" size="4">Skype: Luxytouch</font></font></pre><pre><font><font face="tahoma, sans-serif" size="4">Websites: <a href="http://www.researchdatabase.ac.zw" target="_blank">www.researchdatabase.ac.zw</a></font></font></pre><pre><font face="tahoma, sans-serif" size="4">Cell: 0773578278; 08644053434</font></pre><pre style="font-family:times new roman,serif"><font><span style="font-family:arial narrow,sans-serif"><br><a href="http://www.zirs.ac.zw" target="_blank"></a><br></span><b><br></b></font></pre></div></div></div></div></div></div></div></div>
</div>