search cancel

Methods run a check installation on SAM installation

book

Article ID: 229119

calendar_today

Updated On:

Products

CA Software Asset Manager (CA SAM)

Issue/Introduction

Usually, the process to run a check installation would be to access URL:

http://SAM-SERVER/prod/admin/check_installation.php

However, this URL will require that valid user credentials be provided in order to access the UI.  If the login credentials are not available or cannot be accessed, an alternate method will be to use the CLI (Command Line Interface).

Environment

Release : 4.5 and higher

Component : CA SOFTWARE ASSET MANAGER

Resolution

On the CA SAM Server, access an Admin Command prompt and run the command:

<PATH to php.exe executable>\php.exe <PATH to console.php file>\console.php check system 

In the above, please specify the path of the php.exe and console.php files on the given CA SAM Server.  For instance:

"C:\Program Files\CA\Sam\env\php\php.exe" "C:\Program Files\CA\Sam\app\htdocs\prod\admin\console.php" check system 

The above will run and generate the same Check Installation output to examine your overall environment health.

Additional Information

Execution time may vary depending on the complexity of the installation's configuration.  A timeframe of around 2 - 4 minutes is average for a base line installation.

One can also redirect the output to a file, ie:

"C:\Program Files\CA\Sam\env\php\php.exe" "C:\Program Files\CA\Sam\app\htdocs\prod\admin\console.php" check system > out1.dat

The above command example will generate an output file "out1.dat" which can be read with a text editor.

Attachments