Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-324

installconf.bat fails when logged in user name is more than two words

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Optional Optional
    • 1.2.2.Final
    • 1.2.0.Final
    • None
    • None

      When the username of the logged in user on the host is longer than two words, for example "Sven Plath", the installconf.bat fails to complete.

      The reason is, that all parameters passed to the installconf.awk are shifted as soon as the username is longer than one word.

      Solution: Use "..." to encapsulate the paramters:

      nawk.exe -f installconf.awk -v WINDOWS=1 "%HTTPD_DOMAINNAME%" "%HTTPD_SERVERNAME%" "%HTTPD_ADMIN%" "%HTTPD_PORT%" "%HTTPD_SSLPORT%" "%HTTPD_ROOT%" "%MCMPADVIP%" "%MCMPADPORT%" "%MCMPSUBIP%" "%MCMPIP%" "%MCMPPORT%"
      

              rhn-engineering-mturk Mladen Turk
              sven.plath Sven Plath (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: