Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8656

It is possible to select not existing siteID on installation although installation fails - with no helpful message

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Agents-4.0.1
    • Agents-4.1.0, Agents-5.0
    • install, web agents
    • OpenAM Web Agent for IIS Server 7.5, 8.x
       Version: 4.0.1-RC4
       Revision: b099495
       Build machine: WIN-6RS21TL5R77
       Build date: Mar 21 2016 10:49:47
    • Rank:
      1|hzr92n:

      Description

      I have used this command for silent installation (note: there is not site with ID = 7!):

      PS C:\Users\Administrator> C:\web_agents\iis_agent\bin\agentadmin.exe --s "7" "http://tom-am1.internal.forgerock.com:808
      0/openam" "http://win2k12-host5.test.forgerock.com:80" "/" "WPA401" "c:\pw.txt"
      

      output:

      OpenAM Web Agent for IIS Server installation.
      
      init_ssl(): ssleay32.dll is not available (error: 126)
      init_ssl(): libeay32.dll is not available (error: 126)
      
      Validating...
      
      Validating... Success.
      
      Cleaning up validation data...
      
      Creating configuration...
      
      Installation failed.
      

      ..install.log attached


      How was the same case tried in interactive mode:

      PS C:\Users\Administrator> C:\web_agents\iis_agent\bin\agentadmin.exe --i
      
      OpenAM Web Agent for IIS Server interactive installation.
      
      
      IIS Server Site configuration:
      
      Number of Sites: 14
      
      id: 1   name: "DEFAULT WEB SITE"
      id: 2   name: "CDSSO-SITE"
      id: 3   name: "TESTSITE"
      id: 4   name: "POKUS"
      id: 5   name: "SITE01"
      id: 6   name: "SITE02"
      id: 7   name: "SITE03"
      id: 8   name: "SITE04"
      id: 9   name: "SITE05"
      id: 10  name: "SITE06"
      id: 11  name: "SITE07"
      id: 15  name: "SITE08"
      id: 13  name: "SITE09"
      id: 14  name: "SITE10"
      
      Enter IIS Server Site identification number.
      [ q or 'ctrl+c' to exit ]
      Site id: 16
      Failed to allocate memory.
      
      To set properties from an existing configuration enter path to file
      [ q or 'ctrl+c' to exit, return to ignore ]
      Existing OpenSSOAgentBootstrap.properties file:
      

      ..this time it "Failed to allocate memory" but continue with next steps.

        Attachments

          Activity

            People

            mareks Mareks Malnacs
            tomas.hejret Tomas Hejret
            Tomas Hejret Tomas Hejret
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: