Thank you. This is the same error that I see.
Custom action EditCondorConfig script error -2146828218, Microsoft _vbscript_ runtime error: Permission denied Line 1, Column 1,
The _vbscript_ that should be customizing the condor_config files is getting permission denied.
-tj
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Fabrice Bouye <FabriceB@xxxxxxx>
Sent: Thursday, August 26, 2021 7:14 PM To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx> Subject: Re: [HTCondor-users] Issues with HTCondor 9.0.x MSI installer on Windows Hi, Please find attached the requested files and outputs.
> icacls c:\condor c:\condor BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
Successfully processed 1 files; Failed processing 0 files
> icacls c:\condor\* c:\condor\admintoken.log BUILTIN\Administrators:(I)(F) NT AUTHORITY\SYSTEM:(I)(F) BUILTIN\Users:(I)(RX) NT AUTHORITY\Authenticated Users:(I)(M)
c:\condor\bin BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\condor_config BUILTIN\Administrators:(OI)(CI)(F) NT AUTHORITY\SYSTEM:(OI)(CI)(F)
c:\condor\condor_config.local BUILTIN\Administrators:(OI)(CI)(F) NT AUTHORITY\SYSTEM:(OI)(CI)(F)
c:\condor\etc BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\execute BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\include BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\lib BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\log BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\man BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\spool BUILTIN\Administrators:(I)(OI)(CI)(F) NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F) BUILTIN\Users:(I)(OI)(CI)(RX) NT AUTHORITY\Authenticated Users:(I)(M) NT AUTHORITY\Authenticated Users:(I)(OI)(CI)(IO)(M)
c:\condor\tokens.d: Access is denied. Successfully processed 11 files; Failed processing 1 files
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– As part of our emissions reduction strategy, please only print this email if necessary
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
On Behalf Of John M Knoeller
Hi Fabrice.
From an Administrator command prompt can you run the installer with logging enabled ?
msiexec /log inst905.1.log /i condor-9.0.5-Windows-x64.msi
Once installation is complete (or failed) can you then query the ACLs on the files in the install directory?
icacls c:\condor
and
icacls c:\condor\*
and send me the output?
I have tried a fresh install and I think I'm seeing the same thing that you did. It looks like the recent Windows update has disabled the ability of installers to run _vbscript_, which is what we use to take the questions the installer asks and use the answers to customize the condor config files.
The good news is that Condor is actually installed, and once you fix the ACLs on condor_config and condor_config.local and edit the config as needed, Condor will work.
The bad news is that the questions that the installer asked aren't doing any good. condor_config will not have any of those customizations, and it will also not be readable by ordinary users.
You can fix the ACL's of the condor_config files by running this command from an administrator command prompt
icacls condor_config* /grant BUILTIN\Users:RX
After that you have will have to configure condor by editing the condor config files by hand.
It is probably still less work to do this than to use the tarball installer.
I have added this as a bug ticket to our ticket tracking system.
-tj
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Fabrice Bouye <FabriceB@xxxxxxx>
Hi, I am starting preliminary tests to see how condor 9.0.x behave before attempting further upgrades to our 8.8.x flock. As part of the tests I am setting up HTCondor anew on a test Linux CM and a couple of selected Windows/Linux/macOS submit/execute machine to form a new mini test flock. However I have issues with the provided MSI installer which fails to install properly on Windows 10.
Note: I have searched the issue before and some had it occurring in previous versions when attempting to install HTCondor in directories containing space in their name. Here I am just installing into c:\condor\ Installation was done with an account that has administrative permissions on the computer. Also the HTCondor 8.8.12 MSI installer just installs fine without any error on the same Windows 10 machine.
The HTCondor 9.0.5 MSI installer proceeds OK through the license, pool, behavior, accounting domain, email settings, Java settings, permissions settings, universe settings, destination folder and ready to install screens. It then asked for elevated access and proceeds with installation, but, near the end of the installation, it fails and issues the following error:
> There is a problem with this Windows Install package. A script required for this install to complete could not be run. Contact your support personnel or package vendor.
The install wizard then lands on the following screen:
> condor-9.0.5 Setup Wizard ended prematurely > > condor-9.0.5 Setup Wizard ended prematurely because of an error. Your system has not been modified. To install this program at a later time, run Setup Wizard again. Click the Finish button to exit the Setup Wizard.
However at this stage, modifications have been made to the system:
* the c:\condor\ has been created and filled * The condor service has been registered * the condor uninstallation has been registered (and working) * some files, such as condor_config and condor_config.local seem to have incoherent access permissions (ie: they are not accessible by the account who performed the installation).
I will have a look into deploying the ZIP archive as an alternative even tough it’s not what the manual recommends and the instructions at https://htcondor.readthedocs.io/en/latest/admin-manual/windows-installer.html#manual-installation-of-htcondor-on-windows are a bit lacking…
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– As part of our emissions reduction strategy, please only print this email if necessary
|