Page 1 of 1

backup for nsclient

Posted: Mon Dec 16, 2019 8:46 pm
by grayloglearn
Hi Team,

Sometime we need to uninstall the agent and install the agent.
As per client process we will go with Change process management by raising the change and getting approval then we will start the agent uninstall,

Some time when we uninstall the agent it will not uninstall properly and we will get some errors. To avoid such things do we have any plans like
if take this backup for nsclient then if we restore the same backup nsclient service should work.Do we have such way to avoid.

Because sometime when it will not uninstall properly we need to restart the server where we don't have permission. If uninstall go successfully sometime we can't install agent. such time if we take this back before uninstall and if we restore then it should work.

Re: backup for nsclient

Posted: Tue Dec 17, 2019 11:43 am
by mbellerue
This may end up being an issue for the NSClient devs. But Let's see if we can make some progress. Do you have the error messages?

Re: backup for nsclient

Posted: Wed Dec 18, 2019 2:14 am
by grayloglearn
We have couple of errors 1053 windows errors at that time they restarted the server and again installed its worked. But usually we don't get any permission to restart the server if any issues will happen while uninstall so when we uninstall the agent if issues occur if we can take something backup if we again restore if it is work that will be good on backup plan.

Re: backup for nsclient

Posted: Wed Dec 18, 2019 10:24 am
by mbellerue
The 1053 errors may be related to NSClient trying to service a check while you are running the uninstall. If the uninstall is complete, and the NSClient++ service is removed from Services, you can find the process at the command line and kill the process there. Open a cmd window as administrator and run tasklist /svc | findstr nscp and you will get the PID. Then you can use taskkill /PID <processID> to kill the process. Would that helP?

Re: backup for nsclient

Posted: Wed Dec 18, 2019 9:22 pm
by grayloglearn
The error 1053 is fine. We have resolved it
But can you help us with query like below

Some time when we uninstall the agent it will not uninstall properly and we will get some errors. To avoid such things do we have any plans like
if take this backup for nsclient then if we restore the same backup nsclient service should work.Do we have such way to avoid.

Re: backup for nsclient

Posted: Thu Dec 19, 2019 10:45 am
by mbellerue
No, we don't have a backup plan for NSClient, as it is developed by a 3rd party. But off of the top of my head, I would recommend backing up at least the nsclient.ini file, the security directory, and any custom plugins in your scripts directory.