Maybe lead to inconsistent database? Sometimes when i stop a task in GSA while the machine running OpenVAS is under high load GSA returns error 503. I can only solve it by cleaning the scanner Redis database.
Fabio > No dia 07/10/2016, às 10:14, Eero Volotinen <[email protected]> escreveu: > > .. or just killing running openvas processes, but it's a bit brutal way to > stop openvas.. > > Eero > > 2016-10-07 11:57 GMT+03:00 Fábio Fernandes <[email protected] > <mailto:[email protected]>>: > You need to stop the task then start it. I think there is no direct way to do > that because stopping a task takes some time. I think the simplest way is to > create a small script that starts by sending the stop command then waits for > the state of the task to be stopped. > > Fabio. > >> No dia 07/10/2016, às 09:28, Shreyas M R <[email protected] >> <mailto:[email protected]>> escreveu: >> >> Hi, >> I have tried both before and it didnt yield any value for me. >> >> I'm getting bogus command, status=400 >> >> regards, >> Shreyas >> >> >> >> >> Shreyas M R >> about.me/shreyasmrs >> <http://about.me/shreyasmrs?promo=email_sig> >> >> >> On Fri, Oct 7, 2016 at 1:18 PM, Gaurav Sharma <[email protected] >> <mailto:[email protected]>> wrote: >> There are 2 things you can do >> >> Restart - Start again and Resume - start from point of pause. >> >> omp -u <userID> -w <password> --xml='<start_task task_id="taskid"/>' >> >> omp -u <userID> -w <password> --start-task '<task-id> >> >> Regards, >> Gaurav >> >> >> On Fri, Oct 7, 2016 at 12:30 PM, Shreyas M R <[email protected] >> <mailto:[email protected]>> wrote: >> Hi, >> >> I want to know the command to restart omp cli to restart the task either in >> xml or in omp normal format >> >> Thanks and regards, >> >> >> >> Shreyas M R >> about.me/shreyasmrs >> <http://about.me/shreyasmrs?promo=email_sig> >> >> >> _______________________________________________ >> Openvas-discuss mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss >> <https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss> >> >> >> _______________________________________________ >> Openvas-discuss mailing list >> [email protected] >> <mailto:[email protected]> >> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss >> <https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss> > > _______________________________________________ > Openvas-discuss mailing list > [email protected] > <mailto:[email protected]> > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss > <https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss>
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
