RPM Package on AIM Provider will not execute on RedHat Linux System- Cannot find vault.ini or cred file.
Symptom
Terminal Console Error:
"/var/tmp/aimparms" [dos] 8L, 269C written
[root]:{tuldltas04}: rpm -i CARKaim-4.50-111.i386.rpm
Installation process is starting...
] doesn't exist.e [/home/cgood/vault.ini
] doesn't exist.l file [/home/cgood/test.cred
error: %pre(CARKaim-4.50-111.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping CARKaim-4.50-111
[root]:{tuldltas04}:
Here are the steps that were taken prior to the error:
The following files were copied to the Linux machine: aimparms.sample, the rpm package, the CreateCredFile and the Vault.ini.
-
The CreateCredFile was run on the Linux box to create a test.cred that contains the Vault Administrator ID and password.
-
The Vault.ini file was edited and updated accordingly.
-
The aimparms file was modified respectively and copied to /var/tmp/aimparms
-
The RPM package was run (and failed)
-
dos2unix was run on the Vault.ini and Cred file
-
The Vault.ini was renamed to vault.ini (and modified the aimparms file accordingly)
Environment
10.5;10.10;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.4;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Credential Provider
Cause
Resolution
At a terminal session run the following:
Additional Information
Details
SYMPTOM:
When trying to execute the RPM for the App Provider on a Redhat Linux machine the following error message is returned:
Terminal Console Error:
"/var/tmp/aimparms" [dos] 8L, 269C written
[root]:{tuldltas04}: rpm -i CARKaim-4.50-111.i386.rpm
Installation process is starting...
] doesn't exist.e [/home/cgood/vault.ini
] doesn't exist.l file [/home/cgood/test.cred
error: %pre(CARKaim-4.50-111.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping CARKaim-4.50-111
[root]:{tuldltas04}:
Here are the steps that were taken prior to the error:
- The following files were copied to the Linux machine: aimparms.sample, the rpm package, the CreateCredFile and the Vault.ini.
- The CreateCredFile was run on the Linux box to create a test.cred that contains the Vault Administrator ID and password.
- The Vault.ini file was edited and updated accordingly.
- The aimparms file was modified respectively and copied to /var/tmp/aimparms
- The RPM package was run (and failed)
Note: the following was also done:
- dos2unix was run on the Vault.ini and Cred file
- The Vault.ini was renamed to vault.ini (and modified the aimparms file accordingly)
PROBLEM:
The aimparms file that was modified and copied over to /var/tmp/aimparms must have dos2unix -n run on it as well. All 3 files must have dos2unix run on it: Vault.ini, xxx.cred, and aimparms
SOLUTION:
At a terminal session run the following:
> dos2unix -n aimparms aimparms
You will then see converting to UNIX format and then you should be able to execute the rpm package.