Hi all,
This may be obvious to a more seasoned linux user but I had a task recently to apply a syslog filter file to many servers. After testing the filter file successfully, I opted to use Commvault to deploy the filter file to the destination servers using the same path (which worked fine).
I included the command below to restart the rsyslog service after the restore in the Advanced > Pre/Post > Post Recovery Command and I checked the “Use local system account” option to run as root.
systemctl restart rsyslog.service
I received the error below:
Unable to run [systemctl] on the client. Internal Error [12345678] in CVSession while communicating with remote host [Remote system [RHEL8.domain.name]. Remote execute request returned error: [Executable file not found.].]. []
I did not find the answer at the reference documentation link below or on a general search so I thought this Q&A was relevant.
I’m guessing I need to run that command from /sbin/bash or just use the full path to systemctl. Ideally I’d like the result of the command be recorded in the restore job log and the status of the restore job.
The Commserve is ver 11.26 and the linux client is 11.24.