Wednesday, October 05, 2005

RPC server is unavailable

SSO -> RPC server is unavailable.

I had problems with the Single Sign On (SSO) to get authentication to execute a SOAP request (or so I thought)
In one of my actions of trying to resolve it, I tried to reset the SSO server name to the machine name. This is something I absolutely should not have done!


C:\Program Files\Common Files\Enterprise Single Sign-On>ssomanage.exe –serverall Namgang

C:\Program Files\Common Files\Enterprise Single Sign-On>ssomanage.exe –server Namgang


This did result in the error “The RPC server is unavailable” for almost all of the ssomanage.exe and ssoconfig.exe commands:



C:\Program Files\Common Files\Enterprise Single Sign-On>ssomanage.exe -displaydb
Using SSO server : sso

SQL Server                                               : namgang
SSO database                                             : ssodb

ERROR: 0x800706BA : The RPC server is unavailable.



The google searches on “RPC server is unavailable” and “BizTalk”  or “SSO” did not give me any clue what kind of trouble I just created. So here is my little contribution for others:

I thought the SSO server name would be my machine name, but after hours (almost days) I found out that the original sso server name was not my machine name, but the IP address!
I found this by running the rpcdump.exe utility. After resetting the SSO server name to the IP address for –serverall and –server, I had it up and running again.

C:\Program Files\Common Files\Enterprise Single Sign-On>ssomanage.exe -server 192.168.1.101
The operation completed successfully.

C:\Program Files\Common Files\Enterprise Single Sign-On>ssomanage.exe -serverall 192.168.1.101
The operation completed successfully.


C:\Program Files\Common Files\Enterprise Single Sign-On>ssomanage.exe -displaydb
Using SSO server : 192.168.1.101

SQL Server                                               : namgang
SSO database                                             : ssodb
SSO secret server name                                   : NAMGANG
SSO Admin account name                                   : SSO Administrators
SSO Affiliate Admin account name                         : SSO Affiliate Administrators
Size of audit table for deleted applications             : 1000
Size of audit table for deleted mappings                 : 1000
Size of audit table for external credential lookups      : 1000
Ticket timeout (in minutes)                              : 2
Credential cache timeout (in minutes)                    : 60
SSO status                                               : Enabled
Tickets allowed                                          : No
Validate tickets                                         : Yes



Sent the rpddump.exe to a output.txt file, and you can examine the dump with notepad.


C:\Program Files\Resource Kit>rpcdump.exe /V > output.txt


Or look specific at an IP address and notice the SSO servers

C:\Program Files\Resource Kit>rpcdump.exe /s 192.168.1.101
Querying Endpoint Mapper Database...
78 registered endpoints found.

ncacn_ip_tcp(Connection-oriented TCP/IP)
  192.168.1.101[1030] [1b6a54d8-0f2a-47b2-b934-e876b711eb19] SSOSecretServer :NOT_PINGED
  192.168.1.101[1030] [87632da4-2f1c-4e92-953a-41306b36c095] SSOCSServer :NOT_PINGED
  192.168.1.101[1030] [87a18bff-b7a4-4d79-a996-b9811cd73c94] SSOLookupServer :NOT_PINGED
  192.168.1.101[1030] [416767be-be19-433e-91c3-4ad2ed88dede] SSOAdminServer :NOT_PINGED
  192.168.1.101[1030] [906b0ce0-c70b-1067-b317-00dd010662da]  :NOT_PINGED
  192.168.1.101[1030] [fe1bcf2e-700c-47ca-b47b-7d1c8688307f] SSOMappingServer :NOT_PINGED
  192.168.1.101[1025] [82ad4280-036b-11cf-972c-00aa006887b0]  :NOT_PINGED

              […deleted…]

rpcdump.exe completed sucessfully after 1 seconds

2 comments:

Avinash said...

Thank you very much..

Unknown said...

unexpectedly, ssomanage didnt evolve much since 2005. this just saved me from a random headache that had been going on for MONTHS.

thank oyu internet stranger. cheers from canada

xdg-open; vscode acts as default application for html

Opening html files stopped launching the browser, but launched the vscode application. > xdg-mime query default text/html code-url-h...