Announcement

Collapse
No announcement yet.

java.net connection refused

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • java.net connection refused

    second try to get this great peace of software working.
    host: gentoo x86
    all jars are in /opt/open-xchange/lib:
    -rwxrwx--- 1 root root 28324 Jul 28 20:03 commons-cli-1.0.jar
    -rw-r--r-- 1 root root 46725 Jul 28 19:56 commons-codec-1.3.jar
    -rw-r--r-- 1 root root 45330 Jul 28 19:56 commons-fileupload.jar
    -rw-r--r-- 1 root root 222977 Jul 28 19:56 commons-httpclient-2.0.2.jar
    -rw-r--r-- 1 root root 83662 Jul 28 19:56 commons-io.jar
    -rw-r--r-- 1 root root 47731 Jul 28 19:56 commons-logging.jar
    -rw-r--r-- 1 root root 190285 Jul 28 19:56 concurrent.jar
    -rwxrwx--- 1 root root 172727 Jul 28 19:56 jakarta-slide-webdavlib-2.1.jar
    -rw-r--r-- 1 root root 303640 Jul 28 19:57 jcs-1.2.7.9.2.jar
    -rw-r--r-- 1 root root 454148 Jul 28 19:57 jdbc-mysql.jar
    -rw-r--r-- 1 root root 146940 Jul 28 19:57 jdom.jar
    -rw-r--r-- 1 root root 40245 Jul 28 19:12 json.jar
    -rw-r--r-- 1 root root 184524 Jul 28 19:57 junit-4.1.jar
    -rw-r--r-- 1 root root 280390 Jul 28 19:57 mail.jar
    -rwxrwx--- 1 root root 456729 Jul 28 19:57 mysql-connector-java-3.1.13-bin.jar
    -rw-r--r-- 1 root root 873526 Jul 28 21:02 org.eclipse.osgi_3.2.2.ox.jar
    -rw-r--r-- 1 root root 27224 Jul 28 21:03 ox_admin_console_ee.jar
    -rw-r--r-- 1 root root 13008 Jul 28 21:03 ox_admin_plugin_ca_mgmt_simple.jar
    -rw-r--r-- 1 root root 32912 Jul 28 21:03 ox_admin_plugin_context_light.jar
    -rw-r--r-- 1 root root 14767 Jul 28 21:03 ox_admin_plugin_imap.jar
    -rw-r--r-- 1 root root 85086 Jul 28 21:03 ox_admin_plugin_mail.jar
    -rw-r--r-- 1 root root 74039 Jul 28 21:03 ox_admin_plugin_mailfilter.jar
    -rw-r--r-- 1 root root 325422 Jul 28 21:03 ox_admindaemon.jar
    -rw-r--r-- 1 root root 8458 Jul 28 20:05 ox_languages.jar
    -rw-r--r-- 1 root root 3183018 Jul 28 20:05 ox_server.jar
    -rwxrwx--- 1 root root 3733422 Jul 28 19:57 saxon8.jar
    -rw-r--r-- 1 root root 97221 Jul 28 19:57 servlet-api-2.4.jar
    -rwxrwx--- 1 root root 230640 Jul 28 19:57 spring-beans_1.2.7.jar
    -rwxrwx--- 1 root root 121409 Jul 28 19:57 spring-core_1.2.7.jar
    -rwxrwx--- 1 root root 51286 Jul 28 19:57 tnef.jar

    build process ok, but oxinstaller fails:

    initializing database (step 1/2)
    done
    Configuring services
    setting readUrl in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting writeUrl in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting readProperty.1 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting readProperty.2 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting writeProperty.1 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting writeProperty.2 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting readUrl in /opt/open-xchange/etc/groupware/configdb.properties
    setting writeUrl in /opt/open-xchange/etc/groupware/configdb.properties
    setting readProperty.1 in /opt/open-xchange/etc/groupware/configdb.properties
    setting readProperty.2 in /opt/open-xchange/etc/groupware/configdb.properties
    setting writeProperty.1 in /opt/open-xchange/etc/groupware/configdb.properties
    setting writeProperty.2 in /opt/open-xchange/etc/groupware/configdb.properties
    setting CREATE_HOMEDIRECTORY in /opt/open-xchange/etc/admindaemon/User.properties
    setting SetupLink in /opt/open-xchange/etc/groupware/system.properties
    (Re)Starting Admin Daemon
    Error: Connection refused to host: localhost; nested exception is:
    java.net.ConnectException: Connection refused

    admindaemon startup still in progress, waiting...
    done
    initializing database (step 2/2)
    Server response:
    Authentication failed
    done
    setting up the system
    creating certificates
    certificate could not be created:
    Server response:
    Authentication failed
    chmod: cannot access `/etc/ssl/certs/eecert.pem': No such file or directory
    chmod: cannot access `/etc/ssl/private/eekey.pem': No such file or directory
    chgrp: cannot access `/etc/ssl/private/eekey.pem': No such file or directory
    configuring ox admin gui
    configuring mail system
    using mail.muster.com as FQHN of the mail server
    Server response:
    Authentication failed
    done

    mysql:
    mysql -h localhost -u openexchange -p configdb
    Enter password:
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 82
    Server version: 5.0.44-log Gentoo Linux mysql-5.0.44

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql>

    tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 12516/mysqld

    not correct seems the cyrus sql thing:
    master[20909]: about to exec /usr/lib/cyrus/imapd
    Jul 28 22:37:20 pejevdr imap[20909]: executed
    Jul 28 22:37:20 pejevdr imap[20909]: sql auxprop plugin using mysql engine
    Jul 28 22:37:20 pejevdr imap[20909]: accepted connection
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin Parse the username postmaster
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin try and connect to a host
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin trying to open db 'configdb' on host '127.0.0.1'
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin could not connect to host 127.0.0.1
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin couldn't connect to any host
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin Parse the username postmaster
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin try and connect to a host
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin trying to open db 'configdb' on host '127.0.0.1'
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin could not connect to host 127.0.0.1
    Jul 28 22:37:20 pejevdr imap[20909]: sql plugin couldn't connect to any host
    Jul 28 22:37:20 pejevdr imap[20909]: login: localhost [127.0.0.1] postmaster plaintext User logged in

    but an login via shell as oxadmin works

    any hints? thanx peje

  • #2
    these safe of to have initiated the administrator of open-xchange?

    /etc/init.d/open-xchange-admin start


    and these safe that your version of java is the one of sun (1,5 or superior)

    cyrus-imapd this installed .....
    Last edited by Guest; 07-31-2007, 05:13 PM.

    Comment

    Working...
    X