EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #00571
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Fw: Fail install epindexer services
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Fw: Fail install epindexer services
- From: mohdizwan8733@salam.uitm.edu.my
- Date: Thu, 17 May 2012 21:53:05 +0800
Oh sorry, wrong copy paste, here:
[root@eprints bin]# ./epindexer start
bash: ./epindexer: @PERL_PATH@: bad interpreter: No such file or directory
The folder contain only epindexer.in and indexer files, how to generate the epindexer from it.
Mind to share here...
Btw, the top line from that epindexer.in are:
#!@PERL_PATH@ -T -w
my $user = "@INSTALL_USER@";
my $group = "@INSTALL_GROUP@";
my $prefix = "@PREFIX@";
Is there anything i should change?
From: Sebastien Francois <sf2@ecs.soton.ac.uk>
To: eprints-tech@ecs.soton.ac.uk
Date: 17/05/2012 05:36 PM
Subject: [EP-tech] Re: Fw: Fail install epindexer services
Sent by: eprints-tech-bounces@ecs.soton.ac.uk
On 17/05/12 10:06, mohdizwan8733@salam.uitm.edu.my wrote:
Here..
[root@eprints eprints]# ls -la /etc/init.d/epindexer
lrwxrwxrwx. 1 root root 27 May 17 14:20 /etc/init.d/epindexer -> /opt/eprints3/bin/epindexer
[root@eprints eprints]# ls -la /opt/eprints3/bin/epindexer
-rwxr-xr-x. 1 root root 2400 Dec 9 17:45 /opt/eprints3/bin/epindexer
[root@eprints bin]# epindexer start
bash: epindexer: command not found...
That should be:
./epindexer start
Does it work if you run (as root):
/etc/init.d/epindexer {start|stop}
?
Btw, the files in the folder was epindexer.in
You should have both: "epindexer", "epindexer.in" (and also "indexer") - I think "epindexer.in" is just used to generate "epindexer" (diff the two to check).
At the top of "epindexer", make sure that the variable $prefix is set correctly (to EPrints' root path eg /opt/eprints3).
Seb
*** 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/
- Follow-Ups:
- [EP-tech] Re: Fw: Fail install epindexer services
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Fw: Fail install epindexer services
- References:
- [EP-tech] Fw: Fail install epindexer services
- From: mohdizwan8733@salam.uitm.edu.my
- [EP-tech] Re: Fw: Fail install epindexer services
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Fw: Fail install epindexer services
- From: mohdizwan8733@salam.uitm.edu.my
- [EP-tech] Re: Fw: Fail install epindexer services
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Fw: Fail install epindexer services
- Prev by Date: [EP-tech] query regarding compatibility to Zotero
- Next by Date: [EP-tech] Re: Fw: Fail install epindexer services
- Previous by thread: [EP-tech] Re: Fw: Fail install epindexer services
- Next by thread: [EP-tech] Re: Fw: Fail install epindexer services
- Index(es):