[EP-tech] Re: Fw: Fail install epindexer services
mohdizwan8733 at salam.uitm.edu.my
mohdizwan8733 at salam.uitm.edu.my
Fri May 18 04:03:16 BST 2012
I follow http://wiki.eprints.org/w/Installing_Eprints_3_on_Fedora_Core_12
i download the tar files from homepage...Extract and put inside
/opt/eprints3
then follow the instruction again..
The tar itself doesn't have that epindexer files..
Btw, i try run that rpm package.
Just as you said, the folder contains both epindexer, epindexer.in
But by default it install in /usr/share/eprints folder...
Can i install it in /opt?
From: Sebastien Francois <sf2 at ecs.soton.ac.uk>
To: eprints-tech at ecs.soton.ac.uk
Date: 17/05/2012 10:11 PM
Subject: [EP-tech] Re: Fw: Fail install epindexer services
Sent by: eprints-tech-bounces at ecs.soton.ac.uk
How did you install EPrints? I mean did you run the "configure" and
"install" commands at some point?
Your "epindexer" file is the same as "epindexer.in" (which the 'install'
process should have prepared for you).
so @PREFIX@ etc.. should have a real value (eg /opt/eprints3/) - change
them by hand if you want, but something's gone wrong there.
Seb.
On 17/05/12 14:53, mohdizwan8733 at salam.uitm.edu.my wrote:
Oh sorry, wrong copy paste, here:
[root at 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 at ecs.soton.ac.uk>
To: eprints-tech at 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 at ecs.soton.ac.uk
On 17/05/12 10:06, mohdizwan8733 at salam.uitm.edu.my wrote:
Here..
[root at 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 at eprints eprints]# ls -la /opt/eprints3/bin/epindexer
-rwxr-xr-x. 1 root root 2400 Dec 9 17:45 /opt/eprints3/bin/epindexer
[root at 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/
*** 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/
*** 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120518/84d10b95/attachment-0001.html
More information about the Eprints-tech
mailing list