[unixODBC-support] Datasource not found under Fedora 6 with Postgres

Nick Gorham nick.gorham at easysoft.com
Fri Jun 15 08:05:40 BST 2007


paul_deg wrote:

>Done. Still I can't tell what the problem is, the
>trace is attached. There is a couple of places in the
>file which I am concernd of:
>
>connect(3, {sa_family=AF_FILE,
>path="/var/run/nscd/socket"}, 110) = -1 ENOENT (N
>o such file or directory)
>  
>

I will look at the log later, but I would guess this is it trying to 
connect to a local name server.

>
>and
>
>fstat(3, {st_mode=S_IFREG|0644, st_size=25706, ...}) =
>0
>lseek(3, 25706, SEEK_SET)               = 25706
>write(3, "[ODBC][26797][SQLConnect.c][3758"..., 46) =
>46
>close(3)                                = 0
>munmap(0x2aaaadfb7000, 4096)            = 0
>open("/tmp/sql.log", O_WRONLY|O_CREAT|O_APPEND, 0666)
>= 3
>fstat(3, {st_mode=S_IFREG|0644, st_size=25752, ...}) =
>0
>mmap(NULL, 4096, PROT_READ|PROT_WRITE,
>MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aa
>aadfb7000
>fstat(3, {st_mode=S_IFREG|0644, st_size=25752, ...}) =
>0
>lseek(3, 25752, SEEK_SET)               = 25752
>write(3, "[ODBC][26797][SQLError.c][424]\n\t"..., 306)
>= 306
>close(3)
>
>  
>
Thats it just writing the failure of the connect to the log.

-- 
Nick



More information about the unixODBC-support mailing list