Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Kodeblok
root@myserver:~# tail -f /opt/liferay/tomcat-7.0.42/logs/catalina.out
Tip

A Common problem is:

Kodeblok
09:52:53,735 INFO  [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.MySQLDialect
09:52:58,382 ERROR [localhost-startStop-1][Cache:120] Unable to set localhost. This prevents creation of a GUID. Cause was: lrserver: lrserver
java.net.UnknownHostException: lrserver: lrserver
	at java.net.InetAddress.getLocalHost(Unknown Source)
	at net.sf.ehcache.Cache.<clinit>(Cache.java:214)

This can be fixed by editing /etc/hosts, so "lrserver" is 127.0.0.1


After Restart, You can go to http://localhost:8080 (or a fitting URL):

...