EPrints Technical Mailing List Archive

Message: #00564


< 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


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