schrieb Manfred Tremmel:
schrieb Sven Gehr:
schrieb Manfred Tremmel:
Hallo,
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Was ist hier das Problem. Ich vermute mal er kommt nicht auf den PostgreSQL, oder?
Also in die Konsole von Postgresql komme ich schon. Aber allerdinf nur wenn ich zuerst ein 'su postgres' mach und anschließend kann ich mit 'psql -u openxchange' in die Konsole un mit \l Name | Owner | Encoding -------------+-------------+----------- meinedb | postgres | SQL_ASCII openxchange | openxchange | UNICODE template0 | postgres | SQL_ASCII template1 | postgres | SQL_ASCII (4 rows) den Inhalt listen. Das scheint zu funktionieren.
Hast Du denn die Datenbank und eine entsprechende Berechtigung eingerichtet? Ich kenne openXchange nicht, kann Dir also nicht sagen, was da alles zu tun ist, aber ich denke das müsste in der Anleitung zu finden sein.
Hier der entsprechende Auszug aus der Doku: rcpostgresql start - you need to start pgsql to get the data dir initialized. vi /var/lib/pgsql/data/pg_hba.conf Make sure you have these entries, the lines are in the file you just need to uncomment them: host all all 127.0.0.1 255.255.255.255 trust local all all trust You should definitely change these for production servers!! edit /etc/sysconfig/postgresql and set : POSTGRES_OPTIONS="-i" or else postgresql wont accept network connections. Now restart postgresql: rcpostgresql restart Create user and database Take a note of the password you use, as we need it when configuring openexchange. su -l -m postgres $ createuser --pwprompt Enter name of user to add: openexchange Enter password for new user: Enter it again: Shall the new user be allowed to create databases? (y/n) y Shall the new user be allowed to create more new users? (y/n) n CREATE USER Create database: createdb -O openexchange -E UNICODE openexchange Restart/start postgresql: rcpostgresql restart Das habe ich alles so gemacht. Wo könnte das Problem liegen? Viele Grüße pixel and that the postmaster is accepting TCP/IP connections. at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:161) at org.postgresql.Driver.connect(Driver.java:120) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:171) at com.openexchange.server.DBPool.createConnection(DBPool.java:93) at com.openexchange.server.DBPool.<init>(DBPool.java:63) at Starter.<init>(Starter.java:110) at ComfireServer.main(ComfireServer.java:51) Oct 19 20:50 postgirl openexchange: bind to port 6661 Oct 19 20:50 postgirl openexchange: upload bind to port 6663 done ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Was ist hier das Problem. Ich vermute mal er kommt nicht auf den PostgreSQL, oder? In der Datei /var/lib/pgsql/data/postgresql , oder? In der Datei /var/lib/pgsql/data/postgresql , oder? In der Datei /var/lib/pgsql/data/postgresql