postinstall error

Issue #238 resolved
Former user created an issue

OS : ubuntu 12.04 64 bit piler : 59563a31c68b.zip sphinxsearch_2.1.4-release-0ubuntu11~precise1_amd64.deb

I can run ./configure --localstatedir=/var --enable-starttls --enable-tcpwrappers --enable-clamd --enable-memcached --with-database=mysql make make install following error came make postinstall util/postinstall.sh: 384: util/postinstall.sh: Syntax error: redirection unexpected make: *** [postinstall] Error 2

Comments (6)

  1. Janos SUTO repo owner

    "piler -V" shows you the version. However in the meantime I spotted the problem. Please do the following. Edit util/postinstall.sh, and go to line 384.

    Remove that line, and replace with the following snippet, see the attachment. Then run "make postinstall" again.

  2. Nandakumar Palaniswamy

    Installation done after changes made as per your advice . but following error came at the end. "www files not copying" installing cron entries for piler... Done. installing keyfile (piler.key) to /usr/local/etc/piler.key... Done. Making an ssl certificate ... Generating a 4096 bit RSA private key ......................................................................................................................................+ ....................................++ writing new private key to '/usr/local/etc/piler.pem'


    Copying www files to /var/www/archivetest.sbainfosol.com... chgrp: cannot access `/var/www/archivetest.sbainfosol.com/system/helper/phpqrcode/cache': No such file or directory Done.

    Done post installation tasks.

  3. Log in to comment