MySQL - No Connection

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

maybee
Posts: 2
Joined: Sat Apr 14, 2007 5:42 pm

MySQL - No Connection

Post by maybee »

Hi there,

i have installed oEMM (latest) on Debian etch, mysql5, jdk1.5.9_06.

After installation i became the following error, when i try localhost:8081:
ocalhost: localhost STACKTRACE: java.net.UnknownHostException: localhost: localhost at java.net.InetAddress.getAllByName0(InetAddress.java:1128) at java.net.InetAddress.getAllByName0(InetAddress.java:1098) at java.net.InetAddress.getAllByName(InetAddress.java:1061) at com.mysql.jdbc.StandardSocketFactory.connect
Mysql Server is running.
Mysql is listen on ALL, also TCP is allowed.
Mysql root user can connect from all '%'
Mysql user "agnitas" can connect from all '%'

I have no Idea what i can do ... i have tinkered and tinkered, but no chance ...

I have bad JAVA knowings, i think there is my problem :)

Can anybody help me?

Many thanks,

Maybee

ps.: sorry my english is bad ...
maybee
Posts: 2
Joined: Sat Apr 14, 2007 5:42 pm

Post by maybee »

Hi @ all,

i can't find the problem. can anybody help me please?

here more infos about my distri:

debian etch
java jdk1.5.0_08
openEMM latest - OpenEMM-5.0.2.binary.tar.gz

sorry, i have no idea what i can do, my install steps:

http://www.openemm.org/wiki/Installatio ... uideDebian

And the Error message when i try http://localhost:8081:

Code: Select all

Ursache:	org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Ruler' defined in ServletContext resource [/WEB-INF/cronContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.agnitas.backend.RulerImpl]; constructor threw exception; nested exception is org.agnitas.util.ConfigException: Database setup failed: java.lang.Exception: Error initializing database connection: com.mysql.jdbc.CommunicationsException: Communications link failure
I start the Application with:

su - openemm
OpenEMM.sh start

echo $CLASSPATH says:

Code: Select all

/home/openemm/lib/openemm/xercesImpl.jar:/home/openemm/lib/openemm/xml-apis.jar:/home/openemm/lib/openemm
echo $JAVA_HOME says:

Code: Select all

/opt/openemm.org/software/java
I hope anyone can help?

Many thanks,
Maybee
Post Reply