EPrints Technical Mailing List Archive

Message: #04345


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Eprints Indexer


Can you do:

	ls -l /usr/share/eprints/bin

And let me know what comes out?

--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
+44 (0)23 8059 8814





On 22 Jun 2015, at 03:01, Shaharom Nizam Mohamed wrote:

> Hello,
> 
> 
> 
> Below are the result:
> 
> 
> 
> What user does your Apache run as?
> 
> Can you run the indexer from the commandline as that user?
> 
> - It run as eprints and able to run the command.
> 
>  
> Are there any indexer files in /usr/share/eprints/var/ - e.g. indexer.log or indexer.tick – and who are they owned by?
> 
> - Yes, owned by eprints
> 
>  
> If you do:
> 
> /usr/share/eprints/bin/indexer stop
> 
> And then try starting it from the web interface, does it work?
> - Still not working.. :(
> 
> Thanks
> 
> 
> On Fri, Jun 19, 2015 at 4:56 PM, John Salter <J.Salter@leeds.ac.uk> wrote:
> OK – it does look like a permissions thing.
> 
>  
> 
> What user does your Apache run as?
> 
> Can you run the indexer from the commandline as that user?
> 
>  
> 
> Are there any indexer files in /usr/share/eprints/var/ - e.g. indexer.log or indexer.tick – and who are they owned by?
> 
>  
> 
> If you do:
> 
> /usr/share/eprints/bin/indexer stop
> 
> And then try starting it from the web interface, does it work?
> 
>  
> 
> Cheers,
> 
> John
> 
>  
> 
>  
> 
> From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Shaharom Nizam Mohamed
> Sent: 19 June 2015 03:37
> To: eprints
> Subject: [EP-tech] Re: Eprints Indexer
> 
>  
> 
> Hello,
> 
> The result as follows:
> 
> ls -l /usr/share/eprints/perl_lib/EPrints/Update/Views.pm
> -rw-rw----. 1 nizam root 55940 Oct 15  2014 /usr/share/eprints/perl_lib/EPrints/Update/Views.pm
> 
> However, I found out that I'm able to run the indexer through command and not through web interface.
> 
> thanks
> 
>  
> 
>  
> 
> On Thu, Jun 18, 2015 at 7:28 PM, Field A.N. <af05v@ecs.soton.ac.uk> wrote:
> 
> I'd echo what John asked.  If you can get on the command line, try typing:
> 
>         ls -l /usr/share/eprints/perl_lib/EPrints/Update/Views.pm
> 
> ...and report back exactly what the output is.  It might be that the file isn't there, but it might also be a permissions issue.
> 
> --
> Adam Field
> Business Relationship Manager and Community Lead
> EPrints Services
> +44 (0)23 8059 8814
> 
> 
> 
> 
> 
> 
> On 18 Jun 2015, at 09:32, Shaharom Nizam Mohamed wrote:
> 
> > thanks for your reply. I'm running the indexer though web interface and for your info. the web site seems to be okay, just cannot start the indexer.
> >
> > regards
> > nizam
> >
> > On Thu, Jun 18, 2015 at 4:24 PM, John Salter <J.Salter@leeds.ac.uk> wrote:
> > I’m guessing you’ve checked that the file /usr/share/eprints/perl_lib/EPrints/Update/Views.pm does actually exist?
> >
> > Who are you running the indexer as, and are you starting it from the command line, or web interface?
> >
> >
> >
> > Cheers,
> >
> > John
> >
> >
> >
> >
> >
> > From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Shaharom Nizam Mohamed
> > Sent: 18 June 2015 06:24
> > To: eprints
> > Subject: [EP-tech] Eprints Indexer
> >
> >
> >
> > Hey guys, I have a question.
> >
> >
> >
> > I've problem when start my eprints (3.3.12) indexer and the error something like this:
> >
> >
> >
> > Can't locate EPrints/Update/Views.pm in @INC (@INC contains: /usr/share/eprints/site_lib/plugins /usr/share/eprints/lib/plugins /usr/share/eprints/perl_lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/eprints/perl_lib/EPrints.pm line 322.
> >
> > Warning
> >
> >
> >
> > BEGIN failed--compilation aborted at /usr/share/eprints/perl_lib/EPrints.pm line 322.
> >
> >
> >
> > Compilation failed in require at -e line 1.
> >
> >
> >
> > BEGIN failed--compilation aborted at -e line 1.
> >
> >
> >
> > Can anyone help me to solve this problem?
> >
> >
> >
> > Thanks a alot!
> >
> >
> >
> > --
> >
> > "Inquire, Inspire and Innovate"
> >
> > Best Regards,
> >
> > Mr. Shaharom Nizam Mohamed
> > Assistant Manager,
> > Marketing & Information Development Unit,
> > Siti Hasmah Digital Library,
> > Multimedia University,
> > Persiaran Multimedia,
> > 63100 Cyberjaya,
> > Selangor Darul Ehsan.
> > Tel:603-8312 5862
> > Fax:603-8312 5866
> > Email:nizam.mohamed@mmu.edu.my
> > URL : http://vlib.mmu.edu.my
> >
> >
> > *** 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/
> > *** EPrints developers Forum: http://forum.eprints.org/
> >
> >
> >
> >
> > --
> > "Inquire, Inspire and Innovate"
> >
> > Best Regards,
> >
> > Mr. Shaharom Nizam Mohamed
> > Assistant Manager,
> > Marketing & Information Development Unit,
> > Siti Hasmah Digital Library,
> > Multimedia University,
> > Persiaran Multimedia,
> > 63100 Cyberjaya,
> > Selangor Darul Ehsan.
> > Tel:603-8312 5862
> > Fax:603-8312 5866
> > Email:nizam.mohamed@mmu.edu.my
> > URL : http://vlib.mmu.edu.my
> > *** 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/
> > *** EPrints developers Forum: http://forum.eprints.org/
> 
> 
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/
> 
> 
> 
> 
> --
> 
> "Inquire, Inspire and Innovate"
> 
> Best Regards,
> 
> Mr. Shaharom Nizam Mohamed
> Assistant Manager,
> Marketing & Information Development Unit,
> Siti Hasmah Digital Library,
> Multimedia University,
> Persiaran Multimedia,
> 63100 Cyberjaya,
> Selangor Darul Ehsan.
> Tel:603-8312 5862
> Fax:603-8312 5866
> Email:nizam.mohamed@mmu.edu.my
> URL : http://vlib.mmu.edu.my
> 
> 
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/
> 
> 
> 
> 
> -- 
> "Inquire, Inspire and Innovate"
> 
> Best Regards,
> 
> Mr. Shaharom Nizam Mohamed
> Assistant Manager,
> Marketing & Information Development Unit,
> Siti Hasmah Digital Library,
> Multimedia University,
> Persiaran Multimedia,
> 63100 Cyberjaya,
> Selangor Darul Ehsan.
> Tel:603-8312 5862
> Fax:603-8312 5866
> Email:nizam.mohamed@mmu.edu.my
> URL : http://vlib.mmu.edu.my
> *** 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/
> *** EPrints developers Forum: http://forum.eprints.org/