Re: Win32 The RPC server is unavailable



Thank you for the assistance. I did not reply sooner because I imported the
physical server to a virtual machine to try it from a wide open subnet. I
checked the DNS IPs and they are correct. This is an AD enviroment. I could
not get a screen shot of ipconfig /all to paste into this box so I am not
sure how to get it to you. I have checked and they are pointed at the
correct DNS servers and the port are unblocked. If there is any other
information you need please let me know. Again I appreciate the assistance.

"Ace Fekay [MVP]" wrote:

In news:2D2868A5-2881-4CB6-AFBB-92B5ECF1129D@xxxxxxxxxxxxx,
kalamiti <kalamiti@xxxxxxxxxxxxxxxxxxxxxxxxx> stated, which I commented on
below:
I am trying to run an inventory program and it is failing because of
WMI errors the seem to be RPC related. I have been testing the
problem with wbemtest. I get the RPC unavailable error and in the
event viewer it shows up with this error DCOM was unable to
communicate with the computer name using any of the configured
protocols. All od the port are unblocked between the servers and the
one I am using and I have tested some ports with telnet: 135,139,445.
The account has admin access and can be used to remote and of the
servers I am trying to inventory. Please help

Usually RPC errors are due to name resolution or blocked ports. Keep in
mind, the ports you mentioned are not the only ports required. Besides
authentication traffic ports (Kerberos, LDAP, GC, etc), it also needs UDP
>1023 wide open.

Back to name resolution: What DNS addresses is the workstation running the
app using in it's IP properties? Is this all setup in an AD environment? If
so, and using the wrong DNS addresses, this can be the cause. But there are
other issues that can cause it to that is related to DNS and AD
misconfiguration.

So it depends on your environment, configuration and infrastructure. If you
can elaborate and offer an ipconfig /all of this workstation for starters,
and possibly of one of your local DCs, we can see if that part is configured
correctly. If going across a router to authenticate/connect, then also make
sure all ports are opened as well as leaving the MTU settings to 1500. ADSL
is also known to cause RPC issues across a VPN using ADSL as one of the
endpoints.

--
Ace
Innovative IT Concepts, Inc (IITCI)
Willow Grove, PA

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft MVP - Directory Services
Microsoft Certified Trainer

Having difficulty reading or finding responses to your post?
Instead of the website you're using, I suggest to use OEx (Outlook Express
or any other newsreader), and configure a news account, pointing to
news.microsoft.com. This is a direct link to the Microsoft Public
Newsgroups. It is FREE and requires NO ISP's Usenet account. OEx allows you
to easily find, track threads, cross-post, sort by date, poster's name,
watched threads or subject.
It's easy:

How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164

Infinite Diversities in Infinite Combinations
Assimilation Imminent. Resistance is Futile
"Very funny Scotty. Now, beam down my clothes."

The only constant in life is change...



.



Relevant Pages

  • Re: iptables, NAT, DNS & Dan Kaminsky
    ... in RFC-compliant DNS caching servers the successful execution of which ... I.e. boxes within the NATted LAN which use ... random UDP ports are secure and neither the 2.4.x nor the 2.6.x series ...
    (Linux-Kernel)
  • Re: Metabase Cleanup
    ... failing due to RPC. ... If you are unable to ping it then the guid record in DNS may be wrong. ... > The attempt to establish a replication link with parameters ... > properly, its the next entries where it states no servers, ...
    (microsoft.public.windows.server.active_directory)
  • Re: unmanageable DNS
    ... the problem was due to RPC port limitation in the following registry key: ... My serves are standing in DMZ zone so I've got blocked many ports. ... connect to DNS via MMC. ...
    (microsoft.public.windows.server.dns)
  • Re: unmanageable DNS
    ... MMC due to RPC problems ... My serves are standing in DMZ zone so I've got blocked many ports. ... connect to DNS via MMC. ... How shoudl I configure DNS to work with static rpc. ...
    (microsoft.public.windows.server.dns)
  • Re: Really Odd TCP/IP Issue - Help!
    ... Telnetting into any of the ports gives an unable to connect error. ... The site's been up for years so DNS entries are fully propagated. ... >> and have eliminated DNS issues by using the ISP's servers. ...
    (microsoft.public.win2000.networking)