Omdat dit een softwarevraag is over databases heb ik besloten deze vraag in Software Algemeen te zetten.
Ik heb een probleem met het binnenhalen van tabellen in Word XP uit een PostgreSQL 7.3 database (Slackware Linux 9.0).
Hieronder schrijf ik wat ik gedaan heb om e.e.a. klaar te zetten.
In Windows
Start > Run > ODBCAD32
tabblad "System DSN", Add >
Daar kan ik kiezen uit drie drivers
PostgreSQL
PostgreSQL Legacy
PostgreSQL Unicode (Beta)
Ik kies voor de eerste PostgreSQL.
Data Source NAW
Database NAW
Server 192.168.2.2
Username postgres
Description NAW
Port 5432
Password (wachtwoord)
View > Toolbars > Database
Pictogram Insert Database > Get Data > New Source
Next > ODBC DSN > PostgreSQL30 >
Next > Use Connection string DSN=PostgreSQL30
Username postgres
Password (wachtwoord)
Initial catalog naw
Test Connection
Test Connection failed because of an error in initializing provider.
Could not connect to server; Could not connect to remote socket.
< OK >
En daar blijf ik dus hangen. Ik heb al van alles al geprobeerd, maar krijg telkens deze melding. Als ik op Next > klik krijg ik precies dezelfde fout.
Wie o wie kan me helpen?
Hieronder de complete log van alles wat ik heb ingesteld
Ik kan met linux de database gewoon benaderen. Ik wil de linux machine blijven gebruiken als database.
LOG: database system was shut down at 2003-08-17 21:08:07 CEST
LOG: checkpoint record is at 0/86DFA0
LOG: redo record is at 0/86DFA0; undo record is at 0/0; shutdown TRUE
LOG: next transaction id: 595; next oid: 16992
LOG: database system is ready
# netstat -aptn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 *:printer *:*
LISTEN 111/
tcp 0 0 localhost:8005 *:*
LISTEN 149/java
tcp 0 0 *:time *:*
LISTEN 99/inetd
tcp 0 0 *:8009 *:*
LISTEN 149/java
tcp 0 0 *:netbios-ssn *:*
LISTEN 196/smbd
tcp 0 0 *:submission *:*
LISTEN 119/
tcp 0 0 *:sunrpc *:*
LISTEN 88/
tcp 0 0 *:8080 *:*
LISTEN 149/java
tcp 0 0 *:http *:*
LISTEN 132/httpd
tcp 0 0 *:auth *:*
LISTEN 99/inetd
tcp 0 0 *:ssh *:*
LISTEN 102/sshd
tcp 0 0 *:smtp *:*
LISTEN 119/
udp 0 0 localhost:32768 localhost:32768
ESTABLISHED 135/postmaster
udp 0 0 snake.nl:netbios-ns *:*
198/nmbd
udp 0 0 *:netbios-ns *:*
198/nmbd
udp 0 0 snake.nl:netbios-dgm *:*
198/nmbd
udp 0 0 *:netbios-dgm *:*
198/nmbd
udp 0 0 *:time *:*
99/inetd
udp 0 0 *:sunrpc *:*
88/
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program
name Path
unix 2 [ ACC ] STREAM LISTENING 270
135/postmaster /tmp/.s.PGSQL.5432
unix 2 [ ACC ] STREAM LISTENING 179 111/
/var/run/lprng
unix 2 [ ACC ] STREAM LISTENING 199 126/acpid
/var/run/acpid.socket
unix 7 [ ] DGRAM 152 94/syslogd
/dev/log
unix 2 [ ] DGRAM 319 198/nmbd
unix 2 [ ] DGRAM 315 196/smbd
unix 2 [ ] DGRAM 198 122/
unix 2 [ ] DGRAM 192 119/
unix 2 [ ] DGRAM 155 97/klogd
# netstat -ap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 0.0.0.0:515 0.0.0.0:*
LISTEN 111/
tcp 0 0 127.0.0.1:8005 0.0.0.0:*
LISTEN 149/java
tcp 0 0 0.0.0.0:37 0.0.0.0:*
LISTEN 99/inetd
tcp 0 0 0.0.0.0:8009 0.0.0.0:*
LISTEN 149/java
tcp 0 0 0.0.0.0:139 0.0.0.0:*
LISTEN 196/smbd
tcp 0 0 0.0.0.0:587 0.0.0.0:*
LISTEN 119/
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN 88/
tcp 0 0 0.0.0.0:8080 0.0.0.0:*
LISTEN 149/java
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 132/httpd
tcp 0 0 0.0.0.0:113 0.0.0.0:*
LISTEN 99/inetd
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN 102/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:*
LISTEN 119/
# ps -ef | egrep -e "postgres"
postgres 135 1 0 13:36 ? 00:00:00
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
postgres 151 135 0 13:36 ? 00:00:00 postgres: stats buffer process
postgres 152 151 0 13:36 ? 00:00:00 postgres: stats
collector process
root 211 154 0 13:44 tty1 00:00:00 grep postgres
# psql
Welcome to psql 7.3.3, the PostgreSQL interactive terminal.
..
postgres=# \d
List of relations
Schema | Name | Type | Owner
--------+------+-------+----------
public | naw | table | postgres
(1 row)
postgres=# \q
Ik heb een probleem met het binnenhalen van tabellen in Word XP uit een PostgreSQL 7.3 database (Slackware Linux 9.0).
Hieronder schrijf ik wat ik gedaan heb om e.e.a. klaar te zetten.
In Windows
Start > Run > ODBCAD32
tabblad "System DSN", Add >
Daar kan ik kiezen uit drie drivers
PostgreSQL
PostgreSQL Legacy
PostgreSQL Unicode (Beta)
Ik kies voor de eerste PostgreSQL.
Data Source NAW
Database NAW
Server 192.168.2.2
Username postgres
Description NAW
Port 5432
Password (wachtwoord)
View > Toolbars > Database
Pictogram Insert Database > Get Data > New Source
Next > ODBC DSN > PostgreSQL30 >
Next > Use Connection string DSN=PostgreSQL30
Username postgres
Password (wachtwoord)
Initial catalog naw
Test Connection
Test Connection failed because of an error in initializing provider.
Could not connect to server; Could not connect to remote socket.
< OK >
En daar blijf ik dus hangen. Ik heb al van alles al geprobeerd, maar krijg telkens deze melding. Als ik op Next > klik krijg ik precies dezelfde fout.
Wie o wie kan me helpen?
Hieronder de complete log van alles wat ik heb ingesteld
Ik kan met linux de database gewoon benaderen. Ik wil de linux machine blijven gebruiken als database.
LOG: database system was shut down at 2003-08-17 21:08:07 CEST
LOG: checkpoint record is at 0/86DFA0
LOG: redo record is at 0/86DFA0; undo record is at 0/0; shutdown TRUE
LOG: next transaction id: 595; next oid: 16992
LOG: database system is ready
# netstat -aptn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 *:printer *:*
LISTEN 111/
tcp 0 0 localhost:8005 *:*
LISTEN 149/java
tcp 0 0 *:time *:*
LISTEN 99/inetd
tcp 0 0 *:8009 *:*
LISTEN 149/java
tcp 0 0 *:netbios-ssn *:*
LISTEN 196/smbd
tcp 0 0 *:submission *:*
LISTEN 119/
tcp 0 0 *:sunrpc *:*
LISTEN 88/
tcp 0 0 *:8080 *:*
LISTEN 149/java
tcp 0 0 *:http *:*
LISTEN 132/httpd
tcp 0 0 *:auth *:*
LISTEN 99/inetd
tcp 0 0 *:ssh *:*
LISTEN 102/sshd
tcp 0 0 *:smtp *:*
LISTEN 119/
udp 0 0 localhost:32768 localhost:32768
ESTABLISHED 135/postmaster
udp 0 0 snake.nl:netbios-ns *:*
198/nmbd
udp 0 0 *:netbios-ns *:*
198/nmbd
udp 0 0 snake.nl:netbios-dgm *:*
198/nmbd
udp 0 0 *:netbios-dgm *:*
198/nmbd
udp 0 0 *:time *:*
99/inetd
udp 0 0 *:sunrpc *:*
88/
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program
name Path
unix 2 [ ACC ] STREAM LISTENING 270
135/postmaster /tmp/.s.PGSQL.5432
unix 2 [ ACC ] STREAM LISTENING 179 111/
/var/run/lprng
unix 2 [ ACC ] STREAM LISTENING 199 126/acpid
/var/run/acpid.socket
unix 7 [ ] DGRAM 152 94/syslogd
/dev/log
unix 2 [ ] DGRAM 319 198/nmbd
unix 2 [ ] DGRAM 315 196/smbd
unix 2 [ ] DGRAM 198 122/
unix 2 [ ] DGRAM 192 119/
unix 2 [ ] DGRAM 155 97/klogd
# netstat -ap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name
tcp 0 0 0.0.0.0:515 0.0.0.0:*
LISTEN 111/
tcp 0 0 127.0.0.1:8005 0.0.0.0:*
LISTEN 149/java
tcp 0 0 0.0.0.0:37 0.0.0.0:*
LISTEN 99/inetd
tcp 0 0 0.0.0.0:8009 0.0.0.0:*
LISTEN 149/java
tcp 0 0 0.0.0.0:139 0.0.0.0:*
LISTEN 196/smbd
tcp 0 0 0.0.0.0:587 0.0.0.0:*
LISTEN 119/
tcp 0 0 0.0.0.0:111 0.0.0.0:*
LISTEN 88/
tcp 0 0 0.0.0.0:8080 0.0.0.0:*
LISTEN 149/java
tcp 0 0 0.0.0.0:80 0.0.0.0:*
LISTEN 132/httpd
tcp 0 0 0.0.0.0:113 0.0.0.0:*
LISTEN 99/inetd
tcp 0 0 0.0.0.0:22 0.0.0.0:*
LISTEN 102/sshd
tcp 0 0 0.0.0.0:25 0.0.0.0:*
LISTEN 119/
# ps -ef | egrep -e "postgres"
postgres 135 1 0 13:36 ? 00:00:00
/usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
postgres 151 135 0 13:36 ? 00:00:00 postgres: stats buffer process
postgres 152 151 0 13:36 ? 00:00:00 postgres: stats
collector process
root 211 154 0 13:44 tty1 00:00:00 grep postgres
# psql
Welcome to psql 7.3.3, the PostgreSQL interactive terminal.
..
postgres=# \d
List of relations
Schema | Name | Type | Owner
--------+------+-------+----------
public | naw | table | postgres
(1 row)
postgres=# \q