1 2 3 Previous Next 32 Replies Latest reply on Sep 23, 2014 11:18 AM by Bill Robinson

    NSH Error "No authorization to access host"

    Pedro José Barbero Iglesias

      Hi there,

       

      When I was trying to install the BSA Dashboard I noticed the following problem.

       

      When the BSA Dashboard's installation program tries to connect to the BL Appserver where BDSA is installed on, I received the error shown below because is not able to access the server via NSH to create its work directory it needs for working.

       

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

      The NSH Script Job : BSA Dashboard Job is created with daily schedule.

      Configuring File Server...

      File Server Path : //xxx(BL File Server)xxx/bladelogic/8.0/NSH/storage/

      mkdir: Error creating directory //xxx(BL File Server)xxx/bladelogic/8.0/NSH/storage/dashboard: No authorization to access host

      mkdir: Error creating directory //xxx(BL File Server)xxx/bladelogic/8.0/NSH/storage/dashboard/reports: No authorization to access host

      cp: Unable to access file //xxx(BL File Server)xxx/bladelogic/8.0/NSH/storage/dashboard: No authorization to access host

      Error while copying dashboard zip. Exiting...

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

       

      Here the output log, where you could see how the credentials passed are right, and how it was able to authenticate with authentication service.

       

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

      ################### SCRIPT RUN AT Mon Sep 22 10:58:17 CEST 2014 - LOG START ###################

      Enter password for the user x099707 :

      Acquiring credentials...

      Trying to connect to Appserver as configured by the cached credentials, please wait ...

      true

      true

      [PSI : BSA Dashboard Script : BSA Dashboard Script

      ]

      The NSH Script BSA Dashboard Script already exists.

      void

      Adding BSA Dashboard Script to Depot

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      DBKey:SDepotObjectModelKeyImpl:2411255-1-6156020

      The NSH Script BSA Dashboard Script added to depot.

      []

      Creating the NSH Script Job : BSA Dashboard Job

      DBKey:SJobModelKeyImpl:2019592-1-6156120

      DBKey:SJobModelKeyImpl:2019592-1-6156120

      The NSH Script Job : BSA Dashboard Job is created with daily schedule.

      Configuring File Server...

      File Server Path : //xxx(BL File Server)xxx/bladelogic/8.0/NSH/storage/

      Error while copying dashboard zip. Exiting...

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

       

      I have tried to access to this server directly from NSH console run on my computer  after getting the credentials and I got the same error, shown on the screenshot attached.

       

      NSHConnectionErrorSS.png

       

      By the way I am able to run NSH Here on that server form BSA Console. A NSH Proxy is enable and running.

       

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

      ...

      [22 Sep 2014 10:58:06,812] [Client-Connections-Thread-6] [INFO] [x099707:BLAdmins:22.0.18.28] [Client] User 'x099707' assumed the role 'BLAdmins'

      [22 Sep 2014 10:58:16,269] [Client-Connections-Thread-3] [INFO] [x099707:BLAdmins:22.0.18.28] [Client] Connection disconnecting: id = 4510

      [22 Sep 2014 10:58:38,039] [Authentication-Service-Thread-2] [INFO] [x099707::22.0.18.28] [Appserver] user authentication successful: x099707

      [22 Sep 2014 10:58:38,225] [Authentication-Service-Thread-2] [INFO] [x099707::22.0.18.28] [Appserver] Authentication Connection closed

      [22 Sep 2014 10:58:45,226] [Client-Connections-Thread-2] [INFO] [x099707:BLAdmins:22.0.18.28] [Client] User 'x099707' assumed the role 'BLAdmins'

      [22 Sep 2014 10:58:56,470] [Client-Connections-Thread-6] [INFO] [x099707:BLAdmins:22.0.18.28] [Client] User 'x099707' assumed the role 'BLAdmins'

      ...

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

       

      I don't understand the reason for this to happens.

       

      My best regards.

        1 2 3 Previous Next