(no subject)
| Newsgroups | gmane.comp.cms.opengroupware.discuss.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo, ich haben den Thread http://mail.opengroupware.org/pipermail/discuss-de/2003-July/000024.html verfolgt. Nur ohne Erfolg. Auf dem Rechner ist eine Standard-Installation Debian Woody 3.0 mit PostgreSQL 7.2.1-2woody2 installiert. Als Anleitung habe ich folgendes HOWTO verwendet. http://helms-deep.cable.nu/~rwh/howtos/OpenGroupware-Debian-HOWTO.html Als Benutzer opengroupware und dem sourcen von OpenGroupware.org.sh starte ich den Server --------- opengroupware@ntb00812:~/WOApps$ /usr/lib/opengroupware.org/WOApps/OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware -WOHttpAllowHost ntb00812 Jul 16 10:28:51 OpenGroupware [801]: SNS disabled. Jul 16 10:28:52 OpenGroupware [801]: |OpenGroupware| CTI Dialers: Jul 16 10:28:52 OpenGroupware [801]: |OpenGroupware| SKYRiX instance initialized .. Jul 16 10:28:52 OpenGroupware [801]: |OpenGroupware| WOHttpAdaptor listening on address <InetSocketAddress: *:20000> --------- Versuche ich mit Mozilla 1.2.1 über http://localhost:20000/OpenGroupware zuzugreifen erschein folgende Meldung im Log ---------- Jul 16 10:28:56 OpenGroupware [801]: could not open channel to ogo@localhost Jul 16 10:28:56 OpenGroupware [801]: LSOffice3: couldn't open adaptor channel Jul 16 10:28:56 OpenGroupware [801]: LSOffice3: couldn't open adaptor channel Jul 16 10:28:56 OpenGroupware [801]: WOCompoundElement: pool embedding is on. Jul 16 10:28:56 OpenGroupware [801]: WOCompoundElement: id logging is on. ntb00812 - - [16/Jul/2003:10:28:56 GMT] "GET /OpenGroupware HTTP/1.1" 200 2711 0.062 - - 532K ntb00812 - - [16/Jul/2003:10:28:57 GMT] "GET /OpenGroupware.woa/WebServerResources/English.lproj/homepage1.gif HTTP/1.1" 200 4051 0.008 - - 0 ntb00812 - - [16/Jul/2003:10:28:57 GMT] "GET /OpenGroupware.woa/WebServerResources/English.lproj/homepage2.gif HTTP/1.1" 200 4829 0.009 - - 0 ntb00812 - - [16/Jul/2003:10:28:57 GMT] "GET /OpenGroupware.woa/WebServerResources/English.lproj/line_left.gif HTTP/1.1" 200 264 0.007 - - 0 ntb00812 - - [16/Jul/2003:10:28:57 GMT] "GET /OpenGroupware.woa/WebServerResources/English.lproj/line_stretch.gif HTTP/1.1" 200 234 0.007 - - 0 ntb00812 - - [16/Jul/2003:10:28:57 GMT] "GET /OpenGroupware.woa/WebServerResources/English.lproj/line_right.gif HTTP/1.1" 200 262 0.007 - - 0 --------------- Und im Browser ---------------- The SKYRIX application server could not connect to the database server ! Please ensure that your database server is running and that the LSConnectionDictionary default is correctly set Current database configuration: database: ogo server: localhost user: ogo ----------------- Meine /etc/postgresql/pg_hba.conf sieht so aus. # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD local all all trust host all all 127.0.0.1 255.255.255.255 trust host all all 0.0.0.0 255.255.255.255 reject der Versuch per Telnet auf PostgrSQl zuzugreifen liefert folgendes Ergebnis. --------------- opengroupware@ntb00812:~$ telnet localhost 5432 Trying 127.0.0.1... Connected to ntb00812. Escape character is '^]'. EFATAL 1: invalid length of startup packet Connection closed by foreign host. --------------- bzw. ---------------- opengroupware@ntb00812:~$ psql -h localhost ogo ogo psql: FATAL 1: Missing or erroneous pg_hba.conf file, see postmaster log for details opengroupware@ntb00812:~$ ----------------- die Datei /var/log/postgres.log sieht so aus -------------------------/var/log/postgres.log pengroupware@ntb00812:~$ more /var/log/postgres.log parse_hba: invalid syntax in pg_hba.conf file at line 241, token "all" parse_hba: invalid syntax in pg_hba.conf file at line 241, token "all" parse_hba: invalid syntax in pg_hba.conf file at line 241, token "all" parse_hba: invalid syntax in pg_hba.conf file at line 241, token "all" opengroupware@ntb00812:~$ ------------------------- hierbei handelt es sich um folgende Zeile local all all trust darufhin habe ich die Zeile wieder in local all trust umgewandelt. Es funktioniert trotzdem nicht nur der Fehler in der /var/log/postgres.log erscheint nicht mehr. In der /etc/postgresql/postgresql.conf ist der TCP/IP access auch aktiviert. # TCP/IP access is allowed by default, but the default access given in # pg_hba.conf will permit it only from localhost, not other machines. #tcpip_socket = 1 tcpip_socket = true Kann mir bite jemand weiterhelfen. Danke Armin ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/