Ran into another issue on our new Ubuntu 12.04 / Barracuda 2.0.3 install... It looks like specifying SLR in the options did not install SOLR. Other options (Chive, PDNSd) were installed just fine.

My logs for this install are in http://drupal.org/node/1589052.

Is there any easy way to 'tack this on'?

Comments

obrienmd’s picture

Title: BOA 2.0.3 clean install on Ubuntu 12.04, SLR didn't install SOLR » BOA 2.0.3 clean install on Ubuntu 12.04, SOLR doesn't start

Hrm, looks like it was installed, but is erroring out... Perhaps another path bug?

In /opt/tomcat6/logs, tons of these:
/opt/tomcat6/bin/catalina.sh: 332: /opt/tomcat6/bin/catalina.sh: /usr/lib/jvm/java-6-openjdk/jre/bin/java: not found

bennos’s picture

on debian squeeze.
solr is not installed on a fresh install.

how can I install it?

bennos’s picture

got ist installed, with a force install.

Anonymous’s picture

How do you do a forced install of SLR on Percise?

Peace,
Michael

bennos’s picture

look at
https://github.com/omega8cc/nginx-for-drupal/blob/master/BARRACUDA.sh.txt
below line 396

_NGX_FORCE_REINSTALL=NO
_PHP_FORCE_REINSTALL=NO
_SQL_FORCE_REINSTALL=NO
_FULL_FORCE_REINSTALL=NO

there are come variables. Just set it to yes.
you can set these variables in the
.barracuda.cnf and start the BARRACUDA.sh.txt.

Anonymous’s picture

Thanks for sharing!

Peace,
Michael

omega8cc’s picture

It is not about forcing anything. Normally you should be able to pre-configure anything you wish by creating /root/.barracuda.cnf file before running command line wrappers, so there is no need to edit the script and run it directly. Just add SLR to _XTRAS_LIST in /root/.barracuda.cnf and run the install or upgrade with new wrappers. We should probably include /root/.barracuda.cnf template to make this pre-install configuration easier.

obrienmd’s picture

Title: BOA 2.0.3 clean install on Ubuntu 12.04, SOLR doesn't start » Barracuda 2.0.3, 2.0.4-dev clean install on Ubuntu 12.04 x86_64, Solr doesn't start

I ran another install using 2.0.4-dev, and although Solr installs, it doesn't properly start.

In /opt/tomcat6/logs/catalina.out, the following line is repeated:

/opt/tomcat6/bin/catalina.sh: 332: /opt/tomcat6/bin/catalina.sh: /usr/lib/jvm/java-6-openjdk/jre/bin/java: not found

On Ubuntu 12.04 after Barracuda installation, that path indeed does not exist. Instead of /usr/lib/jvm/java-6-openjdk, /usr/lib/jvm/java-6-openjdk-amd64 and /usr/lib/jvm/java-6-openjdk-common.

Alternatives are set properly, java and javac both work perfectly from the command line.

obrienmd’s picture

I had mentioned that the FMG apt failures might have been causing this, but they weren't. Now that that's fixed, this is still an issue on a clean install.

Notes in #8 still apply, will do a bit more digging today but I'm already over my head :)

omega8cc’s picture

Status: Active » Fixed
obrienmd’s picture

Status: Fixed » Reviewed & tested by the community

Your last github fix resolves this, thanks :)

obrienmd’s picture

Status: Reviewed & tested by the community » Fixed

Sorry, stale page. Back to fixed :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.