
November 12th, 2005, 07:25 AM
| | | HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Hello Out there!
I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was before a
NT 4 based Domain -
now it is a Win 2000 Domain. The database server is a domain member. Now
sometimes Win 2000 Clients
can't connect to the database. They connect over TCP/IP. The db2log says
that the function getHostByName
failed. It seems to be only on new installed win 2000 Workstations. Already
installed WS have NOT this problem.
What can I do? Please Help! I now configure the clients to connect over
named pipes. Can this help?
Thank you all,
Frank | 
November 12th, 2005, 07:25 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
I have found a difference to alle other computers. If I add a database with
the client configurator there is a page LDAP on all other
computers (also Win 2000 Prof). this page does not exist! What is this?
Frank
"Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im Newsbeitrag
news:c81v29$tk3$06$1@news.t-online.com...[color=blue]
> Hello Out there!
>
> I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was before[/color]
a[color=blue]
> NT 4 based Domain -
> now it is a Win 2000 Domain. The database server is a domain member. Now
> sometimes Win 2000 Clients
> can't connect to the database. They connect over TCP/IP. The db2log says
> that the function getHostByName
> failed. It seems to be only on new installed win 2000 Workstations.[/color]
Already[color=blue]
> installed WS have NOT this problem.
>
> What can I do? Please Help! I now configure the clients to connect over
> named pipes. Can this help?
>
> Thank you all,
> Frank
>
>[/color] | 
November 12th, 2005, 07:25 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2KComputers!
Frank Hauptlorenz wrote:[color=blue]
> Hello Out there!
>
> I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was before a
> NT 4 based Domain -
> now it is a Win 2000 Domain. The database server is a domain member. Now
> sometimes Win 2000 Clients
> can't connect to the database. They connect over TCP/IP. The db2log says
> that the function getHostByName
> failed. It seems to be only on new installed win 2000 Workstations. Already
> installed WS have NOT this problem.[/color]
This is a DNS problem. The clients can't resolve the hostname for your DB2
server.
Talk to your Windows Admins to find out what the DNS issue is with these
hosts (Win 2000 active directory uses DNS).
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =----- | 
November 12th, 2005, 07:25 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Uninstall, then reinstall. You probably decided to omit the LDAP support on
your original installation.
"Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
news:c8207l$mv7$02$1@news.t-online.com...[color=blue]
> I have found a difference to alle other computers. If I add a database[/color]
with[color=blue]
> the client configurator there is a page LDAP on all other
> computers (also Win 2000 Prof). this page does not exist! What is this?
>
> Frank
>
> "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im[/color]
Newsbeitrag[color=blue]
> news:c81v29$tk3$06$1@news.t-online.com...[color=green]
> > Hello Out there!
> >
> > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was[/color][/color]
before[color=blue]
> a[color=green]
> > NT 4 based Domain -
> > now it is a Win 2000 Domain. The database server is a domain member. Now
> > sometimes Win 2000 Clients
> > can't connect to the database. They connect over TCP/IP. The db2log says
> > that the function getHostByName
> > failed. It seems to be only on new installed win 2000 Workstations.[/color]
> Already[color=green]
> > installed WS have NOT this problem.
> >
> > What can I do? Please Help! I now configure the clients to connect over
> > named pipes. Can this help?
> >
> > Thank you all,
> > Frank
> >
> >[/color]
>
>[/color] | 
November 12th, 2005, 07:25 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Hello Mark,
what should I reinstall? The client or the server? Reinstalling the client
does not change anything.
Of course I omit installing LDAP support on the server because there was no
LDAP at this time available...
But why should it not work anymore and why the connect fails only once a
day?
Greetings,
Frank
"Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im Newsbeitrag
news:c878l4$rbf$1@ngspool-d02.news.aol.com...[color=blue]
> Uninstall, then reinstall. You probably decided to omit the LDAP support[/color]
on[color=blue]
> your original installation.
>
> "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
> news:c8207l$mv7$02$1@news.t-online.com...[color=green]
> > I have found a difference to alle other computers. If I add a database[/color]
> with[color=green]
> > the client configurator there is a page LDAP on all other
> > computers (also Win 2000 Prof). this page does not exist! What is this?
> >
> > Frank
> >
> > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im[/color]
> Newsbeitrag[color=green]
> > news:c81v29$tk3$06$1@news.t-online.com...[color=darkred]
> > > Hello Out there!
> > >
> > > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was[/color][/color]
> before[color=green]
> > a[color=darkred]
> > > NT 4 based Domain -
> > > now it is a Win 2000 Domain. The database server is a domain member.[/color][/color][/color]
Now[color=blue][color=green][color=darkred]
> > > sometimes Win 2000 Clients
> > > can't connect to the database. They connect over TCP/IP. The db2log[/color][/color][/color]
says[color=blue][color=green][color=darkred]
> > > that the function getHostByName
> > > failed. It seems to be only on new installed win 2000 Workstations.[/color]
> > Already[color=darkred]
> > > installed WS have NOT this problem.
> > >
> > > What can I do? Please Help! I now configure the clients to connect[/color][/color][/color]
over[color=blue][color=green][color=darkred]
> > > named pipes. Can this help?
> > >
> > > Thank you all,
> > > Frank
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | 
November 12th, 2005, 07:25 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Hello Ian,
hm, I can ping the server without problem and nslookup does also work. And
by the way:
I am the Administrator. And why the connect fails only once a day?
Greetings,
Frank
"Ian" <ianbjor@mobileaudio.com> schrieb im Newsbeitrag
news:40a63ce4$1_1@corp.newsgroups.com...[color=blue]
> Frank Hauptlorenz wrote:[color=green]
> > Hello Out there!
> >
> > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was[/color][/color]
before a[color=blue][color=green]
> > NT 4 based Domain -
> > now it is a Win 2000 Domain. The database server is a domain member. Now
> > sometimes Win 2000 Clients
> > can't connect to the database. They connect over TCP/IP. The db2log says
> > that the function getHostByName
> > failed. It seems to be only on new installed win 2000 Workstations.[/color][/color]
Already[color=blue][color=green]
> > installed WS have NOT this problem.[/color]
>
> This is a DNS problem. The clients can't resolve the hostname for your[/color]
DB2[color=blue]
> server.
>
> Talk to your Windows Admins to find out what the DNS issue is with these
> hosts (Win 2000 active directory uses DNS).
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----[/color] | 
November 12th, 2005, 07:26 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
It seems to me that you've answered your own question - reinstall the server
(where you omitted LDAP the first time).
At this stage, I cannot answer your final question ("why does it only fail
once a day, rather than all the time?") - you've gitten too little
information as to why your DNS lookup is failing. Does your server have a
fixed IP address or does it use DHCP? What about the clients? Does your DHCP
server include the DNS record(s), or are they hard configured into (some of)
the client(s)?
"Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
news:c89gtn$74n$04$1@news.t-online.com...[color=blue]
> Hello Mark,
>
> what should I reinstall? The client or the server? Reinstalling the client
> does not change anything.
> Of course I omit installing LDAP support on the server because there was[/color]
no[color=blue]
> LDAP at this time available...
> But why should it not work anymore and why the connect fails only once a
> day?
>
> Greetings,
> Frank
>
> "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im[/color]
Newsbeitrag[color=blue]
> news:c878l4$rbf$1@ngspool-d02.news.aol.com...[color=green]
> > Uninstall, then reinstall. You probably decided to omit the LDAP support[/color]
> on[color=green]
> > your original installation.
> >
> > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
> > news:c8207l$mv7$02$1@news.t-online.com...[color=darkred]
> > > I have found a difference to alle other computers. If I add a database[/color]
> > with[color=darkred]
> > > the client configurator there is a page LDAP on all other
> > > computers (also Win 2000 Prof). this page does not exist! What is[/color][/color][/color]
this?[color=blue][color=green][color=darkred]
> > >
> > > Frank
> > >
> > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im[/color]
> > Newsbeitrag[color=darkred]
> > > news:c81v29$tk3$06$1@news.t-online.com...
> > > > Hello Out there!
> > > >
> > > > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It was[/color]
> > before[color=darkred]
> > > a
> > > > NT 4 based Domain -
> > > > now it is a Win 2000 Domain. The database server is a domain member.[/color][/color]
> Now[color=green][color=darkred]
> > > > sometimes Win 2000 Clients
> > > > can't connect to the database. They connect over TCP/IP. The db2log[/color][/color]
> says[color=green][color=darkred]
> > > > that the function getHostByName
> > > > failed. It seems to be only on new installed win 2000 Workstations.
> > > Already
> > > > installed WS have NOT this problem.
> > > >
> > > > What can I do? Please Help! I now configure the clients to connect[/color][/color]
> over[color=green][color=darkred]
> > > > named pipes. Can this help?
> > > >
> > > > Thank you all,
> > > > Frank
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | 
November 12th, 2005, 07:26 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Hello Mark,
hm, if I set the db2 variable DB2_ENABLE_LDAP to NO all is working again on
these clients...
Seems to me, as there is a bug, if LDAP on the server is not installed but
on the clients?
My infrastructure is very simple. All IP adresses are fixed with no DHCP
Server. Nslookup
and ping are working from the client to the db2server. There is also no
problem with group policies,
so I think DNS is working...
Cheers,
Frank
"Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im Newsbeitrag
news:c8c8bk$mpm$1@ngspool-d02.news.aol.com...[color=blue]
> It seems to me that you've answered your own question - reinstall the[/color]
server[color=blue]
> (where you omitted LDAP the first time).
>
> At this stage, I cannot answer your final question ("why does it only fail
> once a day, rather than all the time?") - you've gitten too little
> information as to why your DNS lookup is failing. Does your server have a
> fixed IP address or does it use DHCP? What about the clients? Does your[/color]
DHCP[color=blue]
> server include the DNS record(s), or are they hard configured into (some[/color]
of)[color=blue]
> the client(s)?
>
> "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
> news:c89gtn$74n$04$1@news.t-online.com...[color=green]
> > Hello Mark,
> >
> > what should I reinstall? The client or the server? Reinstalling the[/color][/color]
client[color=blue][color=green]
> > does not change anything.
> > Of course I omit installing LDAP support on the server because there was[/color]
> no[color=green]
> > LDAP at this time available...
> > But why should it not work anymore and why the connect fails only once a
> > day?
> >
> > Greetings,
> > Frank
> >
> > "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im[/color]
> Newsbeitrag[color=green]
> > news:c878l4$rbf$1@ngspool-d02.news.aol.com...[color=darkred]
> > > Uninstall, then reinstall. You probably decided to omit the LDAP[/color][/color][/color]
support[color=blue][color=green]
> > on[color=darkred]
> > > your original installation.
> > >
> > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
> > > news:c8207l$mv7$02$1@news.t-online.com...
> > > > I have found a difference to alle other computers. If I add a[/color][/color][/color]
database[color=blue][color=green][color=darkred]
> > > with
> > > > the client configurator there is a page LDAP on all other
> > > > computers (also Win 2000 Prof). this page does not exist! What is[/color][/color]
> this?[color=green][color=darkred]
> > > >
> > > > Frank
> > > >
> > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im
> > > Newsbeitrag
> > > > news:c81v29$tk3$06$1@news.t-online.com...
> > > > > Hello Out there!
> > > > >
> > > > > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It[/color][/color][/color]
was[color=blue][color=green][color=darkred]
> > > before
> > > > a
> > > > > NT 4 based Domain -
> > > > > now it is a Win 2000 Domain. The database server is a domain[/color][/color][/color]
member.[color=blue][color=green]
> > Now[color=darkred]
> > > > > sometimes Win 2000 Clients
> > > > > can't connect to the database. They connect over TCP/IP. The[/color][/color][/color]
db2log[color=blue][color=green]
> > says[color=darkred]
> > > > > that the function getHostByName
> > > > > failed. It seems to be only on new installed win 2000[/color][/color][/color]
Workstations.[color=blue][color=green][color=darkred]
> > > > Already
> > > > > installed WS have NOT this problem.
> > > > >
> > > > > What can I do? Please Help! I now configure the clients to connect[/color]
> > over[color=darkred]
> > > > > named pipes. Can this help?
> > > > >
> > > > > Thank you all,
> > > > > Frank
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | 
November 12th, 2005, 07:26 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Oh no, just discovered that DB2_ENABLE_LDAP=NO does also not work.
I'm trying now NAMED PIPES again. If this also will not work - I must
reinstall the server.
Frank
"Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im Newsbeitrag
news:c8ccom$tej$00$1@news.t-online.com...[color=blue]
> Hello Mark,
>
> hm, if I set the db2 variable DB2_ENABLE_LDAP to NO all is working again[/color]
on[color=blue]
> these clients...
> Seems to me, as there is a bug, if LDAP on the server is not installed but
> on the clients?
>
> My infrastructure is very simple. All IP adresses are fixed with no DHCP
> Server. Nslookup
> and ping are working from the client to the db2server. There is also no
> problem with group policies,
> so I think DNS is working...
>
> Cheers,
> Frank
>
> "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im[/color]
Newsbeitrag[color=blue]
> news:c8c8bk$mpm$1@ngspool-d02.news.aol.com...[color=green]
> > It seems to me that you've answered your own question - reinstall the[/color]
> server[color=green]
> > (where you omitted LDAP the first time).
> >
> > At this stage, I cannot answer your final question ("why does it only[/color][/color]
fail[color=blue][color=green]
> > once a day, rather than all the time?") - you've gitten too little
> > information as to why your DNS lookup is failing. Does your server have[/color][/color]
a[color=blue][color=green]
> > fixed IP address or does it use DHCP? What about the clients? Does your[/color]
> DHCP[color=green]
> > server include the DNS record(s), or are they hard configured into (some[/color]
> of)[color=green]
> > the client(s)?
> >
> > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
> > news:c89gtn$74n$04$1@news.t-online.com...[color=darkred]
> > > Hello Mark,
> > >
> > > what should I reinstall? The client or the server? Reinstalling the[/color][/color]
> client[color=green][color=darkred]
> > > does not change anything.
> > > Of course I omit installing LDAP support on the server because there[/color][/color][/color]
was[color=blue][color=green]
> > no[color=darkred]
> > > LDAP at this time available...
> > > But why should it not work anymore and why the connect fails only once[/color][/color][/color]
a[color=blue][color=green][color=darkred]
> > > day?
> > >
> > > Greetings,
> > > Frank
> > >
> > > "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im[/color]
> > Newsbeitrag[color=darkred]
> > > news:c878l4$rbf$1@ngspool-d02.news.aol.com...
> > > > Uninstall, then reinstall. You probably decided to omit the LDAP[/color][/color]
> support[color=green][color=darkred]
> > > on
> > > > your original installation.
> > > >
> > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in[/color][/color][/color]
message[color=blue][color=green][color=darkred]
> > > > news:c8207l$mv7$02$1@news.t-online.com...
> > > > > I have found a difference to alle other computers. If I add a[/color][/color]
> database[color=green][color=darkred]
> > > > with
> > > > > the client configurator there is a page LDAP on all other
> > > > > computers (also Win 2000 Prof). this page does not exist! What is[/color]
> > this?[color=darkred]
> > > > >
> > > > > Frank
> > > > >
> > > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im
> > > > Newsbeitrag
> > > > > news:c81v29$tk3$06$1@news.t-online.com...
> > > > > > Hello Out there!
> > > > > >
> > > > > > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional. It[/color][/color]
> was[color=green][color=darkred]
> > > > before
> > > > > a
> > > > > > NT 4 based Domain -
> > > > > > now it is a Win 2000 Domain. The database server is a domain[/color][/color]
> member.[color=green][color=darkred]
> > > Now
> > > > > > sometimes Win 2000 Clients
> > > > > > can't connect to the database. They connect over TCP/IP. The[/color][/color]
> db2log[color=green][color=darkred]
> > > says
> > > > > > that the function getHostByName
> > > > > > failed. It seems to be only on new installed win 2000[/color][/color]
> Workstations.[color=green][color=darkred]
> > > > > Already
> > > > > > installed WS have NOT this problem.
> > > > > >
> > > > > > What can I do? Please Help! I now configure the clients to[/color][/color][/color]
connect[color=blue][color=green][color=darkred]
> > > over
> > > > > > named pipes. Can this help?
> > > > > >
> > > > > > Thank you all,
> > > > > > Frank
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | 
November 12th, 2005, 07:26 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Also try DB2LDAPCACHE=NO on the client machine (default is YES).
If LDAP is not enabled on the server, it will not be possible to catalogue
the server's database in the AD (I assume you're using AD for your LDAP,
otherwise there is additional configuration work to do). Hence client side
LDAP won't do anything.
Also, check your node and database directories. For LDAP you want to ensure
you have NO (overriding) entries in local directories - drop them to go the
LDAP route.
"Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
news:c8eqv8$d01$02$1@news.t-online.com...[color=blue]
> Oh no, just discovered that DB2_ENABLE_LDAP=NO does also not work.
> I'm trying now NAMED PIPES again. If this also will not work - I must
> reinstall the server.
>
> Frank
>
>
> "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im[/color]
Newsbeitrag[color=blue]
> news:c8ccom$tej$00$1@news.t-online.com...[color=green]
> > Hello Mark,
> >
> > hm, if I set the db2 variable DB2_ENABLE_LDAP to NO all is working again[/color]
> on[color=green]
> > these clients...
> > Seems to me, as there is a bug, if LDAP on the server is not installed[/color][/color]
but[color=blue][color=green]
> > on the clients?
> >
> > My infrastructure is very simple. All IP adresses are fixed with no DHCP
> > Server. Nslookup
> > and ping are working from the client to the db2server. There is also no
> > problem with group policies,
> > so I think DNS is working...
> >
> > Cheers,
> > Frank
> >
> > "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im[/color]
> Newsbeitrag[color=green]
> > news:c8c8bk$mpm$1@ngspool-d02.news.aol.com...[color=darkred]
> > > It seems to me that you've answered your own question - reinstall the[/color]
> > server[color=darkred]
> > > (where you omitted LDAP the first time).
> > >
> > > At this stage, I cannot answer your final question ("why does it only[/color][/color]
> fail[color=green][color=darkred]
> > > once a day, rather than all the time?") - you've gitten too little
> > > information as to why your DNS lookup is failing. Does your server[/color][/color][/color]
have[color=blue]
> a[color=green][color=darkred]
> > > fixed IP address or does it use DHCP? What about the clients? Does[/color][/color][/color]
your[color=blue][color=green]
> > DHCP[color=darkred]
> > > server include the DNS record(s), or are they hard configured into[/color][/color][/color]
(some[color=blue][color=green]
> > of)[color=darkred]
> > > the client(s)?
> > >
> > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
> > > news:c89gtn$74n$04$1@news.t-online.com...
> > > > Hello Mark,
> > > >
> > > > what should I reinstall? The client or the server? Reinstalling the[/color]
> > client[color=darkred]
> > > > does not change anything.
> > > > Of course I omit installing LDAP support on the server because there[/color][/color]
> was[color=green][color=darkred]
> > > no
> > > > LDAP at this time available...
> > > > But why should it not work anymore and why the connect fails only[/color][/color][/color]
once[color=blue]
> a[color=green][color=darkred]
> > > > day?
> > > >
> > > > Greetings,
> > > > Frank
> > > >
> > > > "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im
> > > Newsbeitrag
> > > > news:c878l4$rbf$1@ngspool-d02.news.aol.com...
> > > > > Uninstall, then reinstall. You probably decided to omit the LDAP[/color]
> > support[color=darkred]
> > > > on
> > > > > your original installation.
> > > > >
> > > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in[/color][/color]
> message[color=green][color=darkred]
> > > > > news:c8207l$mv7$02$1@news.t-online.com...
> > > > > > I have found a difference to alle other computers. If I add a[/color]
> > database[color=darkred]
> > > > > with
> > > > > > the client configurator there is a page LDAP on all other
> > > > > > computers (also Win 2000 Prof). this page does not exist! What[/color][/color][/color]
is[color=blue][color=green][color=darkred]
> > > this?
> > > > > >
> > > > > > Frank
> > > > > >
> > > > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im
> > > > > Newsbeitrag
> > > > > > news:c81v29$tk3$06$1@news.t-online.com...
> > > > > > > Hello Out there!
> > > > > > >
> > > > > > > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional.[/color][/color][/color]
It[color=blue][color=green]
> > was[color=darkred]
> > > > > before
> > > > > > a
> > > > > > > NT 4 based Domain -
> > > > > > > now it is a Win 2000 Domain. The database server is a domain[/color]
> > member.[color=darkred]
> > > > Now
> > > > > > > sometimes Win 2000 Clients
> > > > > > > can't connect to the database. They connect over TCP/IP. The[/color]
> > db2log[color=darkred]
> > > > says
> > > > > > > that the function getHostByName
> > > > > > > failed. It seems to be only on new installed win 2000[/color]
> > Workstations.[color=darkred]
> > > > > > Already
> > > > > > > installed WS have NOT this problem.
> > > > > > >
> > > > > > > What can I do? Please Help! I now configure the clients to[/color][/color]
> connect[color=green][color=darkred]
> > > > over
> > > > > > > named pipes. Can this help?
> > > > > > >
> > > > > > > Thank you all,
> > > > > > > Frank
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | 
November 12th, 2005, 07:26 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Hello Mark,
hm, will try this. But I have not seen this variable
yet. There are only 2 existing on the client:
DB2INSTPROF
DB2_ENABLE_LDAP
Greets,
Frank
"Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im Newsbeitrag
news:c8f1bv$s5e$1@ngspool-d02.news.aol.com...[color=blue]
> Also try DB2LDAPCACHE=NO on the client machine (default is YES).
>
> If LDAP is not enabled on the server, it will not be possible to catalogue
> the server's database in the AD (I assume you're using AD for your LDAP,
> otherwise there is additional configuration work to do). Hence client side
> LDAP won't do anything.
>
> Also, check your node and database directories. For LDAP you want to[/color]
ensure[color=blue]
> you have NO (overriding) entries in local directories - drop them to go[/color]
the[color=blue]
> LDAP route.
>
> "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in message
> news:c8eqv8$d01$02$1@news.t-online.com...[color=green]
> > Oh no, just discovered that DB2_ENABLE_LDAP=NO does also not work.
> > I'm trying now NAMED PIPES again. If this also will not work - I must
> > reinstall the server.
> >
> > Frank
> >
> >
> > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb im[/color]
> Newsbeitrag[color=green]
> > news:c8ccom$tej$00$1@news.t-online.com...[color=darkred]
> > > Hello Mark,
> > >
> > > hm, if I set the db2 variable DB2_ENABLE_LDAP to NO all is working[/color][/color][/color]
again[color=blue][color=green]
> > on[color=darkred]
> > > these clients...
> > > Seems to me, as there is a bug, if LDAP on the server is not installed[/color][/color]
> but[color=green][color=darkred]
> > > on the clients?
> > >
> > > My infrastructure is very simple. All IP adresses are fixed with no[/color][/color][/color]
DHCP[color=blue][color=green][color=darkred]
> > > Server. Nslookup
> > > and ping are working from the client to the db2server. There is also[/color][/color][/color]
no[color=blue][color=green][color=darkred]
> > > problem with group policies,
> > > so I think DNS is working...
> > >
> > > Cheers,
> > > Frank
> > >
> > > "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im[/color]
> > Newsbeitrag[color=darkred]
> > > news:c8c8bk$mpm$1@ngspool-d02.news.aol.com...
> > > > It seems to me that you've answered your own question - reinstall[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > server
> > > > (where you omitted LDAP the first time).
> > > >
> > > > At this stage, I cannot answer your final question ("why does it[/color][/color][/color]
only[color=blue][color=green]
> > fail[color=darkred]
> > > > once a day, rather than all the time?") - you've gitten too little
> > > > information as to why your DNS lookup is failing. Does your server[/color][/color]
> have[color=green]
> > a[color=darkred]
> > > > fixed IP address or does it use DHCP? What about the clients? Does[/color][/color]
> your[color=green][color=darkred]
> > > DHCP
> > > > server include the DNS record(s), or are they hard configured into[/color][/color]
> (some[color=green][color=darkred]
> > > of)
> > > > the client(s)?
> > > >
> > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in[/color][/color][/color]
message[color=blue][color=green][color=darkred]
> > > > news:c89gtn$74n$04$1@news.t-online.com...
> > > > > Hello Mark,
> > > > >
> > > > > what should I reinstall? The client or the server? Reinstalling[/color][/color][/color]
the[color=blue][color=green][color=darkred]
> > > client
> > > > > does not change anything.
> > > > > Of course I omit installing LDAP support on the server because[/color][/color][/color]
there[color=blue][color=green]
> > was[color=darkred]
> > > > no
> > > > > LDAP at this time available...
> > > > > But why should it not work anymore and why the connect fails only[/color][/color]
> once[color=green]
> > a[color=darkred]
> > > > > day?
> > > > >
> > > > > Greetings,
> > > > > Frank
> > > > >
> > > > > "Mark Yudkin" <myudkinATcompuserveDOTcom@nospam.org> schrieb im
> > > > Newsbeitrag
> > > > > news:c878l4$rbf$1@ngspool-d02.news.aol.com...
> > > > > > Uninstall, then reinstall. You probably decided to omit the LDAP
> > > support
> > > > > on
> > > > > > your original installation.
> > > > > >
> > > > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> wrote in[/color]
> > message[color=darkred]
> > > > > > news:c8207l$mv7$02$1@news.t-online.com...
> > > > > > > I have found a difference to alle other computers. If I add a
> > > database
> > > > > > with
> > > > > > > the client configurator there is a page LDAP on all other
> > > > > > > computers (also Win 2000 Prof). this page does not exist! What[/color][/color]
> is[color=green][color=darkred]
> > > > this?
> > > > > > >
> > > > > > > Frank
> > > > > > >
> > > > > > > "Frank Hauptlorenz" <fhauptlorenz@storchenmuehle.de> schrieb[/color][/color][/color]
im[color=blue][color=green][color=darkred]
> > > > > > Newsbeitrag
> > > > > > > news:c81v29$tk3$06$1@news.t-online.com...
> > > > > > > > Hello Out there!
> > > > > > > >
> > > > > > > > I have a DB2 V7.2 Database (Fix11) on Win 2000 Professional.[/color][/color]
> It[color=green][color=darkred]
> > > was
> > > > > > before
> > > > > > > a
> > > > > > > > NT 4 based Domain -
> > > > > > > > now it is a Win 2000 Domain. The database server is a domain
> > > member.
> > > > > Now
> > > > > > > > sometimes Win 2000 Clients
> > > > > > > > can't connect to the database. They connect over TCP/IP. The
> > > db2log
> > > > > says
> > > > > > > > that the function getHostByName
> > > > > > > > failed. It seems to be only on new installed win 2000
> > > Workstations.
> > > > > > > Already
> > > > > > > > installed WS have NOT this problem.
> > > > > > > >
> > > > > > > > What can I do? Please Help! I now configure the clients to[/color]
> > connect[color=darkred]
> > > > > over
> > > > > > > > named pipes. Can this help?
> > > > > > > >
> > > > > > > > Thank you all,
> > > > > > > > Frank
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | 
November 12th, 2005, 07:27 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2KComputers!
Frank Hauptlorenz wrote:
[color=blue]
> Hello Mark,
>
> hm, will try this. But I have not seen this variable
> yet. There are only 2 existing on the client:
> DB2INSTPROF
> DB2_ENABLE_LDAP
>[/color]
Frank,
Are you actually trying to use LDAP in your environment? Or are you just
getting an error that mentions LDAP? (I ask, because I've seen LDAP errors
before, in relation to DNS issues, and you indicated you had errors
relating to getHostByName()).
Can you post the actual error message that you see, or the snippet from the
db2diag.log?
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =----- | 
November 12th, 2005, 07:28 AM
| | | Re: HELP! Connection does SOMETIMES not work on new installed Win2K Computers!
Hi Ian,
of course I can post:
In the db2 log there are following error codes:
2004-04-27-13.50.13.082000 Instance:DB2 Node:000
PID:1480(CRM.exe) TID:812 Appid:
common_communication sqlcctcpconnr Probe:42
DIA3207E Der TCP/IP-Aufruf "gethostbyname" gab h_errno="11001" zurück.
Ping and nslookup does work. If I reconfig the client to connect over named
pipes all is working again.
This error only shows up once a day (for 10 minutes? If the client is
restarted (the pc) it is connecting again)
I will try V7.2 Fix 12. In the apar is written there is something changed
with GetHostByName
Grüße
Frank
"Ian" <ianbjor@mobileaudio.com> schrieb im Newsbeitrag
news:40ac4046_1@corp.newsgroups.com...[color=blue]
> Frank Hauptlorenz wrote:
>[color=green]
> > Hello Mark,
> >
> > hm, will try this. But I have not seen this variable
> > yet. There are only 2 existing on the client:
> > DB2INSTPROF
> > DB2_ENABLE_LDAP
> >[/color]
>
> Frank,
>
> Are you actually trying to use LDAP in your environment? Or are you just
> getting an error that mentions LDAP? (I ask, because I've seen LDAP[/color]
errors[color=blue]
> before, in relation to DNS issues, and you indicated you had errors
> relating to getHostByName()).
>
>
> Can you post the actual error message that you see, or the snippet from[/color]
the[color=blue]
> db2diag.log?
>
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 100,000 Newsgroups - 19 Different Servers! =-----[/color] | | Thread Tools | Search this Thread | | | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | What is Bytes?
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 205,248 network members.
|