Dear Fernandes, Many thanks the the hints, now I can create targets and tasks using xml commands. Indeed the hosts name was missing and I think the ip address of the VM changed. But I still have the errors below in the logs --
*lib serv:WARNING:2016-09-02 12h23.25 CEST:19448: Failed to gnutls_bye: Error in the push function.* *md main:WARNING:2016-09-02 12h26.22 CEST:19503: read_from_client: failed to read from client: A TLS packet with unexpected length was received.* Though these are WARNINGS, could there be some negative impacts...maybe someone has similar experience ? Regards, Ken On Fri, Sep 2, 2016 at 12:39 AM, Fábio Fernandes <[email protected]> wrote: > You have not specified the host (-h). > > No dia 01/09/2016, às 16:32, Ken <[email protected]> escreveu: > > Hello everyone, > > I have error in my Ubuntu OpenVAS when I try to either create a new task > or target from the terminal or using a Java API. For example, > > omp -u admin -w admin --xml="<create_task><name> > OfficeCommandLineTest</name><comment>Created From Command > Line</comment><config id="daba56c8-73ec-11df-a475-002264764cea"/><target > id="7e7d65a2-3ee0-4587-9572-6b1c04f05736"/><scanner > id="08b69003-5fc2-4037-a479-93b440211c73"/></create_task>" > > gives the error :" *Failed to read response*". > Also in openvasmd.log, I have the following : > > " *read_from_client: failed to read from client: A TLS packet with > unexpected length was received.* > *".* > > > Would anyone kindly point me to the right direction. > I tried the command " openvas-mkcert-client -n om -i " but this didnt > change things. > > Many thanks, > Regards.. > > Ken > > > > > _______________________________________________ > Openvas-discuss mailing list > [email protected] > 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
