locked
problem with the software update server RRS feed

  • Question

  • Hi Guys,

     

    hoping to get some help regarding my malfunctioning update server.

    what i did:

     

    I have 3 servers atm;

    ocsstandard : standard edition server

    ocsdirector : director for external acces

    ocsucupd : update server

     

    my logon netbios name is domain

    my dns zone is internal-domain.com

     

    so when i logon to windows, i use domain\useraccount

    the FQDN of my servers is ocsdirector.internal-domain.com

    so my netbios and my dns zone are different...

     

    steps i followed:

    exactly what the deployment guide said. i used wiondows 2003 R2 fully updated, WSS 3 with SP1.

    no errors whatsoever during install.

    i used the setspn -a http\ocsucupd.internal-domain.com domain/svc_ocs_rtccs

    I was unsure on which server FQDN, but i thought that it should be the ocsucupd.

    what happens?

    I can open the requesthandled\ucdevice.upx, i get:

      <?xml version="1.0" ?>
    - <Response>
      <NumOfFiles>0</NumOfFiles>
      <CurrentTime>2008-05-07T10:03:43</CurrentTime>
      <ServerVersion>3.0.6362.49</ServerVersion>
      <ServiceVersion>3.0.6362.49</ServiceVersion>
      </Response>
     
    so that seems to be working ok.
    when i try to open the management console, this happens:
     
    Please contact the server administrator.
     
    i also get loads of errors that look like this one :

    The description for Event ID ( 0 ) in Source ( Software Update Service ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Error Reading Configuration value from sharepoint for key : ImageDir

     
    So what did i do next?
    I used the /actionBig Smileeactivate option on the standard edition, and retyped it.
    cscript ConfigUpdatesServer.vbs /Action:Activate /InternalUpdatesStoreURL:https://ocsucupd.internal-domain.com/sites/ucupdateserver/ /ExternalUpdatesStoreURL:https://ocsucupd.internal-domain.com/sites/ucupdateserver/ /userTongue TiedVC_OCS_RTCCS /PasswordStick out tongueassword /ExternalWebfqdn:https://ocsupdate.externaldomain.com
     
    this is my current script.
     
    I went thru the Microsoft KB, which shows you all the steps. all the steps are completed OK, i even changed the authentication to NTLM.
    i then looked at the alternate mappings. I changed the internal and external mappings to only the url that was in my activate script.
    that did not help.
     
    I am just completely stuck, any ideas?
    Wednesday, May 7, 2008 8:12 AM

All replies

  • I have the same problem but the cscript is always claiming a wrong synthax. So i used LCSCOMMAND and set all propertys using WBMTEST. I added these hints to a document done by a microsoft Guy and have it attached here.

    But after that i have still the problem to get an error message that i am not authorized to access the upload.aspx

    What can be wrong?

     

    4.       Execute the following command:

    5.       LCSCmd.exe /Web /Role:UpdatesServer /Action:Activate /User:<RTC Component Service Account Name> /Password:<Account Password> /ExternalWebFqdn:<public fqdn of reverse proxy>/RequestHandler/ucdevice.upx /PoolName:<host name of pool>

    An Example of what I ran in my lab:

    LCSCmd.exe /Web /Role:UpdatesServer /Action:Activate /User:rtccomponentservice /PasswordStick out tongue@ssw0rd /ExternalWebFqdnTongue Tiedip.nwtraders.com/RequestHandler/ucdevice.upx /PoolNameSurpriseCS-SE

    6.       Use your favorite WMI editior to modify the following attributes on the MSFT_SIPUpdatesServerSetting


    ð  Use WBEMTEST connect to root\cimv2

     

    Select * from MSFT_SIPUpdatesServerSetting where backend="(local)\\rtc"

     

    ……… and edit the missing attributes

     

     

    WMI Attributes

     

    ExternalUpdatesDownloadURL

    https://<fqdn of revere proxy server>/RequestHandler/ucdevice.upx

    InternalUpdatesDownloadUrl

    https://<fqdn of OCS Pool or SE Server>/RequestHandler/ucdevice.upx

    ExternalUpdatesStoreURL

    https:// <fqdn of reverse proxy server>/sites/ucupdateserver

    InternalUpdatesStoreURL

    http://<hostname or FQDN of WSS Server>/sites/ucupdateserver

    MgmtConsoleURL

    https:// <fqdn of OCS Pool or SE Server>/MgmtConsole

     

    Examples

     

    ExternalUpdatesDownloadURL

    https://sip.nwtraders.com/RequestHandler/ucdevice.upx

    InternalUpdatesDownloadUrl

    https://ocs-se.nwtraders.com/RequestHandler/ucdevice.upx

    ExternalUpdatesStoreURL

    https://sip.nwtraders.com/sites/ucupdateserver

    InternalUpdatesStoreURL

    http://ocs-sus/sites/ucupdateserver

    MgmtConsoleURL

    https://ocs-se.nwtraders.com/MgmtConsole

     

     

    • Proposed as answer by jay takhar Tuesday, January 6, 2009 6:04 AM
    Wednesday, December 3, 2008 7:22 AM
  • The answer posted by Hobie16fun is correct. Only use this on the Standard Edition
     
    DO NOT RUN THE CONFIGUPDATESERVER.VBS script at all. It just doesn't work

    But a few more steps are need to done before run the LCScmd command.

    1. Get the current configuration before running the changes. Run the following command
        
    Lcscmd /web /action:ListWMISettings /poolname:poolName
    ( taken from http://support.microsoft.com/default.aspx/kb/938288)

    2. Make a note of the settings and note the HTML file as well. You will need the setting later if it all goes awary. do not delete the HTML file

    3. Open the command prompt and go to "Program Files\Common Files\Microsoft Office Communications Server 2007" directory.

    4. Run the following command for Standard Server

    LcsCmd.exe /Web /Role:UpdatesServer /Action:Activate /User:<RTC Component Service Acct Name> /Password:******** /ExternalWebfqdn:<public fqdn of ISA Server>/RequestHandler/ucdevice.upx /PoolName:<host name of pool>


    For Enterprise use this (requires guest access)

    LcsCmd.exe” /Web /Role:UpdatesServer /Action:Activate /User:<RTC Component Service Acct Name> /Password:******** /ExternalWebFQDN:<public fqdn of ISA Server>/RequestHandler/ucdevice.upx /PoolName:<host name of pool> /Guest:RTCGuestAccessUser /Password:*********

    (taken from http://waveformation.com/category/technology/)

    5. Open the WBEMTEST

    6. Connect to Root\CIMV2

    7. Enter Select * from MSFT_SIPUpdatesServerSetting where backend="(local)\\rtc"
     
    8. Edit the following settings


    ExternalUpdatesDownloadURL  https:// fqdn of ISA Server>/RequestHandler/ucdevice.upx

    InternalUpdatesDownloadUrl      https://< fqdn of OCS Pool or SE Server>/RequestHandler/ucdevice.upx

    ExternalUpdatesStoreURL  https:// <fqdn of ISA Server>/sites/ucupdateserver

    InternalUpdatesStoreURL  http://<hostname or FQDN of WSS Server>/sites/ucupdateserver

    MgmtConsolURL    https:// <fqdn of OCS Pool or SE Server>/MgmtConsole

    (3,4,5,6,7,8 from http://blogs.technet.com/toml/archive/2008/06/02/update-server-problems-with-configupdateserver-vbs.aspx and from Hobie16fun)

    9. Restart the WMI services on the OCS services

    10. Run the following command to get the new settings for the OCS servers

    Lcscmd /web /action:ListWMISettings /poolname:poolName

    11. Compare output from task 2  and task 10.

    12 If errors occur then use step 5,6,7,8 and 9 to change the settings.

    What i got was the External settings had changed to the ExternalUpdatesDownloadURL  https://fdqn of ISA Server>/RequestHandler/ucdevice.upx/ the rest of the URL.

    I used 

    Lcscmd /web /action:updatepoolurls /externalwebfqdn:contoso.com /poolname:pool2

    to change them back again and then run

    Lcscmd /web /action:ListWMISettings /poolname:poolName 

    to compare the settings


    Then see if you can connect to the InternalUpdatesDownloadURL page (https://fqdn of OCS Pool or SE Server>/RequestHandler/ucdevice.upx) and MgmtConsolURL  (https:// <fqdn of OCS Pool or SE Server>/MgmtConsole). If you see the pages then you are fine. If you get Contact the OCS 2007 Administrator, check your settings again OR the WSS permission settings

    Hope this helps anyone since I have been racking my head on a brick wall for a couple of days on this.

    Jay

    P.S. Ensure that you run the WSS settings first and that no errors occur. The problem that I had there was i did not add the Service account for the account as Server Farm Administrator before I ran the WSS script for OCS.


    jt
    Tuesday, January 6, 2009 6:59 AM
  • I am experiencing the same issue.  When attempting to access the MgmtConsole, I get "Please contact the server administrator."

    In my Application log, I am seeing errors like:

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 1/8/2009 4:18:38 AM
    Event time (UTC): 1/8/2009 12:18:38 PM
    Event ID: ea9d475550894af5b0e327056b9cef71
    Event sequence: 4
    Event occurrence: 1
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/1/Root/RequestHandler-1-128758907135792851
        Trust level: Full
        Application Virtual Path: /RequestHandler
        Application Path: C:\Program Files\Microsoft Office Communications Server 2007\Web Components\UC Device Updates\Request Handler\
        Machine name: <myserver>
     
    Process information:
        Process ID: 2852
        Process name: w3wp.exe
        Account name: <myorg>\RTCComponentService
     
    Exception information:
        Exception type: HttpException
        Exception message: Session state has created a session id, but cannot save it because the response was already flushed by the application.
     
    Request information:
        Request URL:
    https://<myorg>.com:443/RequestHandler/ucdevice.upx
        Request path: /RequestHandler/ucdevice.upx
        User host address: 192.168.1.1
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: <myorg>\RTCComponentService
     
    Thread information:
        Thread ID: 1
        Thread account name: <myorg>\RTCComponentService
        Is impersonating: False
        Stack trace:    at System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean& redirected, Boolean& cookieAdded)
       at System.Web.SessionState.SessionStateModule.CreateSessionId()
       at System.Web.SessionState.SessionStateModule.DelayedGetSessionId()
       at System.Web.SessionState.SessionStateModule.ReleaseStateGetSessionID()
       at System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
       at System.Web.SessionState.SessionStateModule.OnEndRequest(Object source, EventArgs eventArgs)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
     
    Custom event details:

    For more information, see Help and Support Center at 

    I also get:

    The description for Event ID ( 0 ) in Source ( Software Update Service ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Error Reading Configuration value from sharepoint for key : LogCleanUpCallFrequency

    Server will use default value for this key..

    I get this for many values in the ConfigSettings.xml file. I've verified that the file is accessible every which way, but I did have to manually upload it - it wasn't created using that setup tool.  I've tried reinstalling as well, and performing all of the steps above.
    Any ideas?

    Thank you!

    Thursday, January 8, 2009 12:40 PM