Hi Bruno,
On 09/11/2014 01:43, Bruno SyncopeDev wrote:
Hi,
I tried to install syncope with the installer on postgresql on
OpenSuse distro.
And I had some difficulties to figure out why it doesn't work well.
####################################################
CONFIGURATION
####################################################
postgresql-9.3.5-3-linux-x64.run
syncope-installer-1.2.0-uber.jar
apache-tomcat-7.0.56
apache-maven-3.2.3
openjdk version "1.8.0_40"
OpenJDK Runtime Environment (build 1.8.0_40-b10)
OpenJDK 64-Bit Server VM (build 25.40-b14, mixed mode)
Surprisingly, at the end of the install, I discovered 104 tables in
the database instance.
All tables are empty.
Is it normal ?
No, and this is the reason why you are not able to log in in the admin
console, as you suspect.
Then when I go to the syncope console, the admin/password login go to
a session expired.
It is certainly due to the emptiness of the database tables.
Also, I got Exception and Error into file logs
Here are the log files.
Do you understand what is going wrong please?
Sure: almost all of your log files complain about a single fact (and its
consequences):
01:22:00.037 ERROR org.quartz.impl.StdSchedulerFactory - Couldn't
generate instance Id!
org.quartz.SchedulerException: Couldn't get host name!
[...]
Caused by: java.net.UnknownHostException: linux-g4nv.site: unknown error
In your OpenSUSE box the network configuration is not set up completely:
you have some issues with your host name.
This error brings to the very serious:
01:22:00.071 WARN
org.springframework.web.context.support.XmlWebApplicationContext -
Exception encountered during context initialization - cancelling
refresh attempt
[...]
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'scheduler' defined in file
[/home/myuser/apache-tomcat-7.0.56/webapps/syncope/WEB-INF/classes/schedulingContext.xml]:
Invocation of init method failed; nested exception is
java.lang.IllegalStateException: Cannot run without an instance id.
which barely means that no Spring initialization can complete (so, the
whole Syncope core webapp cannot start successfully) because there is a
failure with Quartz which cannot generate the instance id, and as one
may suspect, this is due to the unresolved issue above.
This problem and its resolution are reported in our FAQ wiki page [1].
HTH
Regards.
[1]
https://cwiki.apache.org/confluence/display/SYNCOPE/FAQ#FAQ-Igettheerror"org.quartz.impl.StdSchedulerFactory-Couldn'tgenerateinstanceId!org.quartz.SchedulerException:Couldn'tgethostname!"
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/