Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
BALAJIRAJAH_PB
Participant

clish -c 'lock database override'; clish -c 'installer download 1'

 

I'm trying to run this following command on expert mode. Download is not happening. Is this normal? 

Scenario 1:

clish -c 'lock database override'; clish -c 'installer download 1'
CLINFR0771 Config lock is owned by admin. Use the command 'lock database override' to acquire the lock.
Info: Initiating download of ...
Interactive mode is enabled. Press CTRL + C to exit (this will not stop the operation)

Scenario 2:

clish -c 'lock database override'; clish -c 'installer download 1 not-interactive'
CLICMD0201 Config lock is already turned on.
Info: Initiating download of ...

 

However, when I tried to run installer install 1 it works. I'm stuck with download of the hotfix package to the CP gateway

Scenario 3:

clish -c 'lock database override'; clish -c 'installer install 1'
CLICMD0201 Config lock is already turned on.
The machine will automatically reboot after install of .
Do you want to continue? ([y]es / [n]o / [s]uppress reboot)

 

Created a CheckPoint TAC case but didn't get a proper answer/response yet.🙂

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

Each instance of clish -c runs a unique session.
To do what you’re trying to do, you need to put all the clish commands in a text file and execute it using clish -f filename.
This will treat it as a single session.

0 Kudos
BALAJIRAJAH_PB
Participant

Thanks for your response.

 

My goal is to run the 'installer download 1' from export mode.

When I trigger this specific command using clish -c or clish -f from expert mode. Nothing happens. 

My intention is to download hotfix from expert mode and it's not getting downloaded. 

0 Kudos
PhoneBoy
Admin
Admin

installer download needs to be executed interactively by design since each system could be different.
To be significantly more deterministic and scriptable, you probably want to use CDT to do the install.
See: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut... 

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events