Solved

Portmap fails to start (Server for NFS)

Posted on 2008-06-16
3
12,624 Views
Last Modified: 2012-06-21
We have "Telserver" with Windows Server 2003 R2, and Shoretel IP telephone software installed to interface with IP phones and our PCs running Outlook.

Apparently there is an important unix interface with the phones for updating information such as date and time. (Because it's not working since a power-outage hard-boot)

The Server for NFS service fails to start, because it is dependent on PORTMAP. When attempting to start portmap with "net start portmap", I get the following error:
"A device attached to the system is not functioning"

In the system Event Log, the error is attached below.

To further complicate the matter, there appears to be no hardware issues with the server in Device Manager.

I need help with this issue. Any insight or immediate solution would be appreciated as I know very little about portmap or NFS server
Event Type:	Error

Event Source:	Portmap

Event Category:	None

Event ID:	3001

Date:		6/16/2008

Time:		9:28:05 AM

User:		N/A

Computer:	TELSERVER

Description:

The Portmap service did not start as it could not register on port UDP 111. Please ensure that no other program has registered on UDP port 111.
 

-----------------------------------------------------------------------

Event Type:	Error

Event Source:	Service Control Manager

Event Category:	None

Event ID:	7001

Date:		6/16/2008

Time:		9:28:05 AM

User:		N/A

Computer:	TELSERVER

Description:

The Server for NFS service depends on the Portmap service which failed to start because of the following error: 

A device attached to the system is not functioning.

Open in new window

0
Comment
Question by:CrashResistant
  • 2
3 Comments
 

Author Comment

by:CrashResistant
ID: 21793409
Oh, and the MS tech article in response to the 3001 error is useless. There really is nothing using port 111
0
 
LVL 1

Accepted Solution

by:
dserna earned 500 total points
ID: 21797483
Hi,

On the server, could you run the following in a CMD window and paste the output here?

rpcinfo -p
netstat -ano

Basically, there most likely is some other portmapper that has started up and bound to port 111, not the one the system is expecting. The rpcinfo -p will let you see that, look for something like:

program version protocol port
--------------------------------------------------
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper


If you see the above in your output, then something is listeing on port 111. If so, you can then run netstat -ano to find out what program is bound to the above port. E.g:

Active Connections

  Proto  Local Address          Foreign Address        State           PID
  TCP    0.0.0.0:111            0.0.0.0:0              LISTENING       724

You can then use "Task Manager" to lookup up the PID and it will tell you the program that's listening on that port. Once you find out, sometimes it'll be a backup program or some other program that talks to UNIX boxes, investigate and see if you can disable it or work with the vendor to get the issue resolved.
Here is a nice KB about this as well:

http://support.microsoft.com/kb/313621

0
 

Author Comment

by:CrashResistant
ID: 21804367
You are very helpful. Unfortunately what I found as the PID was portmap.exe. I assume this is a process that our Shoretel 7.5 phone software uses.
However if I close the portmap.exe process, I am of course able to start Server for NFS service normally.

The side effect is that we lose several features and problems arise, including this error which repeats every 30 minutes: *see code below*

I will attempt to troubleshoot- however any further insight is appreciated. I am also contacting Shoretel to document exactly why Server for NFS is required to update phone device time.
Event Type:	Warning

Event Source:	NfsSvr

Event Category:	None

Event ID:	1003

Date:		6/15/2008

Time:		8:58:49 AM

User:		N/A

Computer:	TELSERVER

Description:

Mapping information could not be obtained from User Name Mapping. Another attempt will be made after 30 minutes.

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now