473,586 Members | 2,555 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Nov 12 '05 #1
12 2931
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" <fh**********@s torchenmuehle.d e> schrieb im Newsbeitrag
news:c8******** *****@news.t-online.com...
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

Nov 12 '05 #2
Ian
Frank Hauptlorenz wrote:
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.


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! =-----
Nov 12 '05 #3
Uninstall, then reinstall. You probably decided to omit the LDAP support on
your original installation.

"Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@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 is this?

Frank

"Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> schrieb im Newsbeitrag news:c8******** *****@news.t-online.com...
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


Nov 12 '05 #4
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" <my************ ***********@nos pam.org> schrieb im Newsbeitrag
news:c8******** **@ngspool-d02.news.aol.co m...
Uninstall, then reinstall. You probably decided to omit the LDAP support on your original installation.

"Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@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 is this?

Frank

"Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> schrieb im

Newsbeitrag
news:c8******** *****@news.t-online.com...
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



Nov 12 '05 #5
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" <ia*****@mobile audio.com> schrieb im Newsbeitrag
news:40******** **@corp.newsgro ups.com...
Frank Hauptlorenz wrote:
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.
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! =-----

Nov 12 '05 #6
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" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@news.t-online.com...
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" <my************ ***********@nos pam.org> schrieb im Newsbeitrag news:c8******** **@ngspool-d02.news.aol.co m...
Uninstall, then reinstall. You probably decided to omit the LDAP support

on
your original installation.

"Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@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 is this?
Frank

"Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> schrieb im

Newsbeitrag
news:c8******** *****@news.t-online.com...
> 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
>
>



Nov 12 '05 #7
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" <my************ ***********@nos pam.org> schrieb im Newsbeitrag
news:c8******** **@ngspool-d02.news.aol.co m...
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" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@news.t-online.com...
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" <my************ ***********@nos pam.org> schrieb im

Newsbeitrag
news:c8******** **@ngspool-d02.news.aol.co m...
Uninstall, then reinstall. You probably decided to omit the LDAP support
on
your original installation.

"Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@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 is

this? >
> Frank
>
> "Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> schrieb im
Newsbeitrag
> news:c8******** *****@news.t-online.com...
> > 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
> >
> >
>
>



Nov 12 '05 #8
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" <fh**********@s torchenmuehle.d e> schrieb im Newsbeitrag
news:c8******** *****@news.t-online.com...
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" <my************ ***********@nos pam.org> schrieb im Newsbeitrag news:c8******** **@ngspool-d02.news.aol.co m...
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" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@news.t-online.com...
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" <my************ ***********@nos pam.org> schrieb im

Newsbeitrag
news:c8******** **@ngspool-d02.news.aol.co m...
> Uninstall, then reinstall. You probably decided to omit the LDAP

support on
> your original installation.
>
> "Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> wrote in message > news:c8******** *****@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 is

this?
> >
> > Frank
> >
> > "Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> schrieb im
> Newsbeitrag
> > news:c8******** *****@news.t-online.com...
> > > 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
> > >
> > >
> >
> >
>
>



Nov 12 '05 #9
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" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@news.t-online.com...
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" <fh**********@s torchenmuehle.d e> schrieb im Newsbeitrag news:c8******** *****@news.t-online.com...
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" <my************ ***********@nos pam.org> schrieb im

Newsbeitrag
news:c8******** **@ngspool-d02.news.aol.co m...
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" <fh**********@s torchenmuehle.d e> wrote in message
news:c8******** *****@news.t-online.com...
> 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" <my************ ***********@nos pam.org> schrieb im
Newsbeitrag
> news:c8******** **@ngspool-d02.news.aol.co m...
> > Uninstall, then reinstall. You probably decided to omit the LDAP

support
> on
> > your original installation.
> >
> > "Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> wrote in message > > news:c8******** *****@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
is this?
> > >
> > > Frank
> > >
> > > "Frank Hauptlorenz" <fh**********@s torchenmuehle.d e> schrieb im
> > Newsbeitrag
> > > news:c8******** *****@news.t-online.com...
> > > > 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
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 12 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
6522
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help Workshop program: hcw.exe that's included with Visual Basic. This exact same file compiled perfectly with no notes, warnings or errors prior to...
9
4392
by: Tom | last post by:
A question for gui application programmers. . . I 've got some GUI programs, written in Python/wxPython, and I've got a help button and a help menu item. Also, I've got a compiled file made with the microsoft HTML workshop utility, lets call it c:\path\help.chm. My question is how do you launch it from the GUI? What logic do I put behind...
4
3340
by: Sarir Khamsi | last post by:
Is there a way to get help the way you get it from the Python interpreter (eg, 'help(dir)' gives help on the 'dir' command) in the module cmd.Cmd? I know how to add commands and help text to cmd.Cmd but I would also like to get the man-page-like help for classes and functions. Does anyone know how to do that? Thanks. Sarir
2
6442
by: Sudheer Kareem | last post by:
Dear All Please tell me how to assosiate help files with my Vb.net Project. Regards Sudheer
6
4322
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing result in any way. Who can help me, I thank you very very much. list.cpp(main program)...
5
2981
by: Craig Keightley | last post by:
Please help, i have attached my page which worksin IE but i cannnot get the drop down menu to fucntion in firefox. Any one have any ideas why? Many Thanks Craig <<<<<<<<<<<<<<CODE>>>>>>>>>>>>>>>> <html>
5
3256
by: Steve | last post by:
I have written a help file (chm) for a DLL and referenced it using Help.ShowHelp My expectation is that a developer using my DLL would be able to access this help file during his development time using "F1" help within the VB IDE. Is this expectation achievable In trying to test my help file in the IDE, I have a solution with 2 projects:...
9
2240
by: JJ | last post by:
Do you all use HTML help workshop to create your help system. I am finding it quite clumsy to use. Mayeb because I am not used to using it. Do any of you use any other techniques to create help for your progs? Whats the current popular approach to creating help? I am only wanting a straight help file accessible from a menu - no context...
10
3347
by: JonathanOrlev | last post by:
Hello everybody, I wrote this comment in another message of mine, but decided to post it again as a standalone message. I think that Microsoft's Office 2003 help system is horrible, probably the worst I ever seen. I almost cannot find anything I need, including things I
6
2855
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
7912
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8202
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8216
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5390
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.