Dear Allon,

i have add this trouble last week,
with this process :
creating config
modify config
creating target
creating task
start task
getting report
deleting task
deleting config

and again :
creating config
modify config
   and ... bad .. getting issue : Config is in use

after investigation

first, the delete-task function 'without ultimate flag set', put the task in hidden mode. (and not really delete it) then, when the 2nd config is create ... it gets the same id of the previous config that was delete... so when we try to modify the config ... it checks to see if a task is attach to the same configid .... and of course yes.. the last task was not really delete , and he got the last config id ...that is the same as new one ... (you follow me ?)


so .. now i only use delete with ultimate flag set to 1.




Le 25/09/2012 09:32, Allon Moritz - First Security a écrit :
Hello

We are migrating our openvas 4/centos environment to openvas 5/ubuntu. When I try to modify a fresh config via omp I get always the following
error message :

<modify_config_response status_text="Config is in use"
status="400"></modify_config_response>

I'm running this two commands :

OMP command:


<create_config><copy>708f25c4-7489-11df-8094-002264764cea</copy><name>Test
config</name></create_config>/>

Response :

<create_config_response id="0ec4f275-4073-4b77-a478-9238d9881f67"
status_text="OK, resource created"
status="201"></create_config_response>

OMP command:

<modify_config
config_id="0ec4f275-4073-4b77-a478-9238d9881f67"><preference><nvt
oid="1.3.6.1.4.1.25623.1.0.104000"/><name>Launch Nmap for Network
Scanning[entry]:Ports scanned in parallel
(max)</name><value>Mg==</value></preference></modify_config>

Response :

<modify_config_response status_text="Config is in use"
status="400"></modify_config_response>

I really hope that somebody can shed somelight into this, because in
openvas 4 it is working as expected.

Thanks Allon Moritz

--
"Le saviez-vous ? la technologie d'ITrust va sécuriser le cloud français"

    | Sébastien AUCOUTURIER | Software Design Engineer Lead
    | ITrust | 55 rue l'Occitane BP 67303 31673 LABEGE CEDEX
    | Email: s.aucoutur...@itrust.fr
    | Fixe Sdt. 05.67.34.67.80 | Fax. 09.80.08.37.23
    | IT Security Services & SaaS Editor
_______________________________________________
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to