Alfresco on startup in Lunix

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 02:01 PM
Hi all.
I've put alfresco startup script in my fedora core boot scripts services directory, alfresco seems to be started when the computer starts but an excepcion is thrown, the exception is related to the database connection, i have a clue about what happened, the pool isn't created but I don't know why, the mysql service is supossed to be started after alfresco, that's why i don't know what to do.
This is the stack trace:
Anybody can put me in the right direction?
Best regards.
I've put alfresco startup script in my fedora core boot scripts services directory, alfresco seems to be started when the computer starts but an excepcion is thrown, the exception is related to the database connection, i have a clue about what happened, the pool isn't created but I don't know why, the mysql service is supossed to be started after alfresco, that's why i don't know what to do.
This is the stack trace:
10:27:40,709 ERROR [org.hibernate.util.JDBCExceptionReporter] Communications link failure due to underlying exception:** BEGIN NESTED EXCEPTION **java.net.SocketExceptionMESSAGE: java.net.SocketException: Network is unreachableSTACKTRACE:java.net.SocketException: java.net.SocketException: Network is unreachable at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
Anybody can put me in the right direction?
Best regards.
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 05:44 AM
The mysql service needs to start BEFORE alfresco.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 12:09 PM
The mysql service needs to start BEFORE alfresco.Sorry, I'm not an english native-speaker. The mysql service is started before, that's why I don't know what's happening.
Best regards.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 08:21 AM
Ok.
Have a read of the following post: http://forums.alfresco.com/viewtopic.php?t=55
It has some information about half way down regarding the MYSQLD_OPTIONS="–skip-networking" configuration setting in /etc/sysconfig/mysqld
Hope that helps
Have a read of the following post: http://forums.alfresco.com/viewtopic.php?t=55
It has some information about half way down regarding the MYSQLD_OPTIONS="–skip-networking" configuration setting in /etc/sysconfig/mysqld
Hope that helps

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2006 11:58 AM
Ok.I will chek it, but my problem is a little bit different, when I start alfresco manually, it works, only fails when I try tu run at startup, I know this is more an OS config issue but i wanted to know if someone had a similar problem.
Have a read of the following post: http://forums.alfresco.com/viewtopic.php?t=55
It has some information about half way down regarding the MYSQLD_OPTIONS="–skip-networking" configuration setting in /etc/sysconfig/mysqld
Hope that helps
Best regards.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2006 08:22 AM
I have this same problem. I added alfrescoctl.sh to System V init system, but it does not work.
Anybody succeeded with this topic?
Anybody succeeded with this topic?
