RPM Package on AIM Provider will not execute on RedHat Linux System- Cannot find vault.ini or cred file.

RPM Package on AIM Provider will not execute on RedHat Linux System- Cannot find vault.ini or cred file.

109
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 13:02 PM


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.
  1. The CreateCredFile was run on the Linux box to create a test.cred that contains the Vault Administrator ID and password.
  2. The Vault.ini file was edited and updated accordingly.
  3. The aimparms file was modified respectively and copied to /var/tmp/aimparms
  4. 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)
But the same error was returned. 


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
Credential Provider installation on Linux.


Cause


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.


Resolution


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.
 


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:

  1. The following files were copied to the Linux machine: aimparms.sample, the rpm package, the CreateCredFile and the Vault.ini.
  2. The CreateCredFile was run on the Linux box to create a test.cred that contains the Vault Administrator ID and password.
  3. The Vault.ini file was edited and updated accordingly.
  4. The aimparms file was modified respectively and copied to /var/tmp/aimparms
  5. 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)
But the same error was returned.


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.




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000vfpCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail