Solved

DHCP client fail to lease an ip address from server

Posted on 1998-11-19
4
425 Views
Last Modified: 2013-12-23
I get the message "the semaphore timeout period has expired" in the event log, with NT4.0 and SP4.
0
Comment
Question by:sunnyliu
  • 2
4 Comments
 
LVL 5

Expert Comment

by:tcalesa
ID: 1566028
Make sure you have connectivity to the DHCP server first. Assign a static IP to the workstation and see if you can ping the DHCP server. If it pings, are you on a different subnet? you may need to have the Server on your subnet (if you have one) forward DHCP requests to the DHCP server for you, or have the router perform IP helper functions.

If the server doesn't ping, Make sure the router is doing the job, and that you have the IP info set up correctly for the router.

Let us know how it goes.
0
 
LVL 6

Expert Comment

by:sgenther
ID: 1566029
Here is some info that may help:
SS ID Number: Q189356
Article last modified on 07-21-1998
 
WinNT:4.0
 
winnt
 

======================================================================
---------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft BackOffice Server version 4.0
 - Microsoft Windows NT Server version 4.0
 - Microsoft Windows NT Workstation version 4.0
 - Microsoft Windows NT Server, Enterprise Edition version 4.0
---------------------------------------------------------------------
 
SYMPTOMS
========
 
You may experience one or more of the following:
 
 - Performance problems on domain controllers in the form of lock ups,
   crashes, or console freezes.
 
 - Clients may receive the following error messages:
 
    - Semaphore timeout period has expired
 
    - Network path cannot be found.
 
    - Insufficient system resources.
 
CAUSE
=====
 
Novell's intraNetWare client for Windows NT Workstation v4.11a and previous
versions can cause SAMR pipes to be left open on domain controllers
throughout the enterprise. This can result in performance problems with
these domain controllers if the number of SAMR pipes open approaches 2048.
Nwgina.dll performs remote API operations including NetUserGetInfo to get
security information from the SAM database located on a domain controller.
 
RESOLUTION
==========
 
Because of performance design reasons, Windows NT does not directly close
an active context associated with an open SAMR file handle used to perform
a remote API operation. Once remote API calls have been performed, the
client must perform local API calls (for example, NetUserModalsGet...)
which indirectly close the handle.
 
Nwgina.dll has been modified so that the handle references are closed
successfully. Please refer to Novell TID #2939557, "Clients can't connect
to NT server," for more information.
 
After the limit of 2048 SAMR pipe references is approached, the LSASS
process may fail, requiring the system to be restarted to reinitialize the
LSASS service. However, the problem can be alleviated by monitoring the
system. Perform the following command before LSASS has failed to stop the
server service and close the file handles in question:
 
   Net Stop Server
   Net Start Server
   Net Start Netlogon
   Net Start Computer Browser
 
NOTE: This command will also stop the dependency services including
Netlogon and the Computer Browser, which must be restarted again as well.
 
MORE INFORMATION
================
 
Novell's intraNetWare client opens 4 SAMR pipes to the domain controller
that it authenticates with. This is done because NWGINA is used to perform
Microsoft Networking authentication operations. During the logon process,
the client closes 3 of the 4 pipes. This leaves one pipe open and idle.
Large domains with limited numbers of domain controllers can suffer
performance problems when large numbers of these pipes are left open.
Microsoft Windows NT has a limit of 2048 SAMR pipe references that can be
open at one time in the LSASS process.
 
Protocol Analysis using a tool such as NETMON will reveal the following
command performed to open the SAMR handle. Ordinarily, a subsequent SMB
close operation will be performed to close the file handle. A lack of the
close exhibits evidence of an application handle leak.
 
   SMB C NT create & X, file = \samr
 
The following commands will allow the SAMR pipe references to be monitored
on a domain controller. Server Manager can be used to list the references
as well by selecting Computer, Properties, and then In Use. While logged on
as an administrator, type the following to obtain a listing:
 
   Net Files > Files.txt
   Findstr samr Files.txt > Samr.txt
 
An editor such as Notepad can be used to list and enumerate Samr.txt. This
will show SAMR handle references similar to the following:
 
   9999       \PIPE\samr              UserName            0
 
For additional information, please see the following articles in the
Microsoft Knowledge Base:
 
   ARTICLE-ID: Q155601
   TITLE     : Understanding SAM Active Contexts in Windows NT [win32sdk]
 
   ARTICLE-ID: Q145583
   TITLE     : Err Msg: Insufficient System Resources Exist to Complete...
 
Refer to the following Novell KB article for further information:
 
TID #2939557:
"Clients can't connect to NT server"
 
http://support.novell.com/cgi-bin/search/tidfinder.cgi?2939557
 
Additional query words: Novell NetWare
======================================================================
Version           : WinNT:4.0
Platform          : winnt
Issue type        : kbprb
=============================================================================
Copyright Microsoft Corporation 1998.


 

0
 
LVL 5

Expert Comment

by:tcalesa
ID: 1566030
One of the better experts is having problems with DHCP on an SP 4 Server. Try uninstalling SP4 and installing SP3. I'm not sure if this is a bug, but it's worth a try.
0
 
LVL 3

Accepted Solution

by:
mpopal earned 100 total points
ID: 1566031
Their is an easy fix to your problem. Stop and restart the "Microsoft DHCP service" This is a common error with DHCP.

1. Stop the "Microsoft DHCP Server Service"
2. Start the "Microsoft DHCP Server Service"
3. Reboot the DHCP client.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question