Foros de discusión

install/setup SO on linux

joakim seeberg, modificado hace 14 años.

install/setup SO on linux

New Member Mensajes: 4 Fecha de incorporación: 15/10/09 Mensajes recientes
Hi, I just discovered liferay SO and would like to test it but can't find anything on wiki, dokumentation or forum related to the installation and setup. I have never found it so hard to find basic information in other Open Source projeckts. What are you hiding here, I'm getting curious.
So far I have downloaded and unpacked: liferay-social-office-1.5b, chmod and run startup.sh with the following output:

$ ./startup.sh
Using CATALINA_BASE: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18
Using CATALINA_HOME: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18
Using CATALINA_TMPDIR: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18/temp
Using JRE_HOME: /usr

browsing localhost:8080: No connection to host.

But i'm just guessing here.

Regards joakim
Debian Lenny
thumbnail
Zsolt Balogh, modificado hace 14 años.

RE: install/setup SO on linux

Expert Mensajes: 463 Fecha de incorporación: 23/03/09 Mensajes recientes
Please check the logs/catalina.out file for errors. It should help, but if not, please post it here and we'll try to solve the problem.
joakim seeberg, modificado hace 14 años.

RE: install/setup SO on linux

New Member Mensajes: 4 Fecha de incorporación: 15/10/09 Mensajes recientes
Created MBeanServer with ID: -iwo1hj:g0tbmy6p.0:vega:1
Created MBeanServer with ID: -iwkl6y:g0tboxv2.0:vega:1
Created MBeanServer with ID: -ix13fj:g0tbu7jt.0:vega:1
Created MBeanServer with ID: -iw3dmn:g0tc5m6x.0:vega:1
Created MBeanServer with ID: -iv953f:g0td16p9.0:vega:1
catalina.out (END)
thumbnail
Zsolt Balogh, modificado hace 14 años.

RE: install/setup SO on linux

Expert Mensajes: 463 Fecha de incorporación: 23/03/09 Mensajes recientes
What's in that file before these lines?

We don't have any MBeanServer on the log files.

Please check if you have a portal-ext.properties in your home directory, as it's read by socialoffice too.
joakim seeberg, modificado hace 14 años.

RE: install/setup SO on linux

New Member Mensajes: 4 Fecha de incorporación: 15/10/09 Mensajes recientes
Zsolt Balogh:
What's in that file before these lines?

Nothing

We don't have any MBeanServer on the log files.

hmm!

Please check if you have a portal-ext.properties in your home directory, as it's read by socialoffice too.


There is a "lportal.properties" in hsql folder.
thumbnail
Zsolt Balogh, modificado hace 14 años.

RE: install/setup SO on linux

Expert Mensajes: 463 Fecha de incorporación: 23/03/09 Mensajes recientes
That's not problem if it's in the social office directory. I was thinking, that you have another instance and somehow the social office finds it.

Can you attach the full catalina.out here?
joakim seeberg, modificado hace 14 años.

RE: install/setup SO on linux

New Member Mensajes: 4 Fecha de incorporación: 15/10/09 Mensajes recientes
I already did, but i'll try again.

$ ./shutdown.sh
Using CATALINA_BASE: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18
Using CATALINA_HOME: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18
Using CATALINA_TMPDIR: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18/temp
Using JRE_HOME: /usr
Created MBeanServer with ID: -kesmp3:g0u0i8zl.0:vega:1

$ ./startup.sh
Using CATALINA_BASE: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18
Using CATALINA_HOME: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18
Using CATALINA_TMPDIR: /home/joakim/Desktop/liferay-social-office-1.5b/liferay-social-office-1.5b/tomcat-6.0.18/temp
Using JRE_HOME: /usr

$ less catalina.out:
Created MBeanServer with ID: -iwo1hj:g0tbmy6p.0:vega:1
Created MBeanServer with ID: -iwkl6y:g0tboxv2.0:vega:1
Created MBeanServer with ID: -ix13fj:g0tbu7jt.0:vega:1
Created MBeanServer with ID: -iw3dmn:g0tc5m6x.0:vega:1
Created MBeanServer with ID: -iv953f:g0td16p9.0:vega:1
Created MBeanServer with ID: -kfmwgj:g0u0n0yd.0:vega:1
Marco Bolzan, modificado hace 14 años.

RE: install/setup SO on linux

Junior Member Mensajes: 47 Fecha de incorporación: 3/09/09 Mensajes recientes
joakim seeberg:

So far I have downloaded and unpacked: liferay-social-office-1.5b, chmod and run startup.sh with the following output:
...


One problem is that in bundle version there is a windows jre version, so you have to install jre on linux before.

High level list of steps to install liferay so in a linux environment is:
  • install jre (rpm install and configure a java.sh file with var environment JAVA_HOME, JRE_HOME, CLASSPATH, PATH)
  • move liferay so bundle (where you want)
  • configure tomcat bundle in a tomcat.sh file with TOMCAT_DIR var
  • (optional) put db connector jar, db creation and db configuration in portal-ext.properties


Most documentation on Liferay Portal is valid for Liferay Social Office, I think is important to read liferay-administration-guide-5.2.pdf for example and other wiki documentation.

I hope to help.

Bolzan