Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers

Not logged in
Log in | Help
 

Gemin-i Plus Troubleshooting

From Gemin-Wiki

Troubleshooting

Exeptions when starting Gemin-i Plus

If Gemin-i Plus itself refuses to start up properly, you may find some exceptions inside the log file. For instance:

Fails to make MYSQL connection

  We have a database problem:
  com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: 
  ** BEGIN NESTED EXCEPTION ** 
  java.net.SocketException
  MESSAGE: java.net.ConnectException: Connection refused[/code]

This is usually becasue the database username/password haven't been entered. Be sure you've piped makedb.sql and makedbuser.sql into the databse.

If it's still not working, it might be that although MYSQL is installed and running, it's only listening on a UNIX socket (IE a socket in the filespace like /var/run/mysql/mysql.sock) rather than the TCP port (EG 3306). Try editing the my.conf file (/etc/mysql/my.cnf in Debian at least) and commenting out the "skip-networking" line so that the network socket gets opened too. You need to do this even if you only connect to mysql on the localhost becasue we still connect through the port and not the filepath socket.

Retrieved from "http://dev.gemin-i.org/wiki/index.php/Gemin-i_Plus_Troubleshooting"

This page has been accessed 566 times. This page was last modified 11:26, 12 Nov 2007.


[Main Page]
Main Page
Recent changes
Random page
Current events

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports