<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    How did you install EPrints? I mean did you run the "configure" and
    "install" commands at some point?<br>
    <br>
    Your "epindexer" file is the same as "epindexer.in" (which the
    'install' process should have prepared for you).<br>
    <br>
    so @PREFIX@ etc.. should have a real value (eg /opt/eprints3/) -
    change them by hand if you want, but something's gone wrong there.<br>
    <br>
    Seb.<br>
    <br>
    On 17/05/12 14:53, <a class="moz-txt-link-abbreviated" href="mailto:mohdizwan8733@salam.uitm.edu.my">mohdizwan8733@salam.uitm.edu.my</a> wrote:
    <blockquote
cite="mid:OF9FD31BE2.50450782-ON48257A01.004B6EF6-48257A01.004C44CA@uitm.edu.my"
      type="cite"><font size="2" face="sans-serif">Oh sorry, wrong copy
        paste, here:</font>
      <br>
      <br>
      <font size="2" face="sans-serif">[root@eprints bin]# ./epindexer
        start</font>
      <br>
      <font size="2" face="sans-serif">bash: ./epindexer: @PERL_PATH@:
        bad
        interpreter: No such file or directory</font>
      <br>
      <br>
      <font size="2" face="sans-serif">The folder contain only
        epindexer.in
        and indexer files, how to generate the epindexer from it.</font>
      <br>
      <font size="2" face="sans-serif">Mind to share here...</font>
      <br>
      <br>
      <font size="2" face="sans-serif">Btw, the top line from that
        epindexer.in
        are:</font>
      <br>
      <br>
      <font size="2" face="sans-serif">#!@PERL_PATH@ -T -w</font>
      <br>
      <br>
      <font size="2" face="sans-serif">my $user = "@INSTALL_USER@";</font>
      <br>
      <font size="2" face="sans-serif">my $group = "@INSTALL_GROUP@";</font>
      <br>
      <font size="2" face="sans-serif">my $prefix = "@PREFIX@";</font>
      <br>
      <br>
      <font size="2" face="sans-serif">Is there anything i should
        change?</font>
      <br>
      <br>
      <br>
      <br>
      <font size="1" color="#5f5f5f" face="sans-serif">From: &nbsp; &nbsp; &nbsp;
        &nbsp;</font><font size="1" face="sans-serif">Sebastien Francois
        <a class="moz-txt-link-rfc2396E" href="mailto:sf2@ecs.soton.ac.uk">&lt;sf2@ecs.soton.ac.uk&gt;</a></font>
      <br>
      <font size="1" color="#5f5f5f" face="sans-serif">To: &nbsp; &nbsp; &nbsp;
        &nbsp;</font><font size="1" face="sans-serif"><a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a></font>
      <br>
      <font size="1" color="#5f5f5f" face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
        &nbsp;</font><font size="1" face="sans-serif">17/05/2012 05:36 PM</font>
      <br>
      <font size="1" color="#5f5f5f" face="sans-serif">Subject: &nbsp; &nbsp;
        &nbsp; &nbsp;</font><font size="1" face="sans-serif">[EP-tech] Re:
        Fw: Fail install epindexer services</font>
      <br>
      <font size="1" color="#5f5f5f" face="sans-serif">Sent by: &nbsp; &nbsp;
        &nbsp; &nbsp;</font><font size="1" face="sans-serif"><a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a></font>
      <br>
      <hr noshade="noshade">
      <br>
      <br>
      <br>
      <font size="3">On 17/05/12 10:06, </font><a
        moz-do-not-send="true"
        href="mailto:mohdizwan8733@salam.uitm.edu.my"><font size="3"
          color="blue"><u>mohdizwan8733@salam.uitm.edu.my</u></font></a><font
        size="3">
        wrote: </font>
      <br>
      <font size="2" face="sans-serif">Here..</font><font size="3"> <br>
      </font><font size="2" face="sans-serif"><br>
        [root@eprints eprints]# ls -la /etc/init.d/epindexer</font><font
        size="3">
      </font><font size="2" face="sans-serif"><br>
        lrwxrwxrwx. 1 root root 27 May 17 14:20 /etc/init.d/epindexer
        -&gt; /opt/eprints3/bin/epindexer</font><font size="3">
        <br>
      </font><font size="2" face="sans-serif"><br>
        [root@eprints eprints]# ls -la /opt/eprints3/bin/epindexer</font><font
        size="3">
      </font><font size="2" face="sans-serif"><br>
        -rwxr-xr-x. 1 root root 2400 Dec &nbsp;9 17:45
        /opt/eprints3/bin/epindexer</font><font size="3">
        <br>
      </font><font size="2" face="sans-serif"><br>
        [root@eprints bin]# epindexer start</font><font size="3"> </font><font
        size="2" face="sans-serif"><br>
        bash: epindexer: command not found...</font><font size="3"> <br>
      </font>
      <br>
      <font size="3">That should be:<br>
        <br>
        ./epindexer start<br>
        <br>
        Does it work if you run (as root):<br>
        /etc/init.d/epindexer {start|stop} <br>
        <br>
        ?<br>
        <br>
      </font>
      <br>
      <font size="2" face="sans-serif">Btw, the files in the folder was
        epindexer.in</font><font size="3">
      </font>
      <br>
      <font size="3">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).<br>
        <br>
        At the top of "epindexer", make sure that the variable $prefix
        is set correctly (to EPrints' root path eg /opt/eprints3).<br>
        <br>
        Seb<br>
      </font><tt><font size="2">*** Options: </font></tt><a
        moz-do-not-send="true"
        href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><tt><font
            size="2">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</font></tt></a><tt><font
          size="2"><br>
          *** Archive: </font></tt><a moz-do-not-send="true"
        href="http://www.eprints.org/tech.php/"><tt><font size="2">http://www.eprints.org/tech.php/</font></tt></a><tt><font
          size="2"><br>
          *** EPrints community wiki: </font></tt><a
        moz-do-not-send="true" href="http://wiki.eprints.org/"><tt><font
            size="2">http://wiki.eprints.org/</font></tt></a><tt><font
          size="2"><br>
        </font></tt>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>