[Openvas-discuss] Manager can\'t update/rebuild DB: databasetable is locked

sva234@sonic.net sva234 at sonic.net
Mon Oct 25 16:18:05 CEST 2010


 I found a solution -- funny, I submitted this a couple weeks ago to
openvas-discuss, but I don't see it in the archive.  Here is is again:

 Turns out that openvasmd requires a 'recent' sqlite version.  I'm
guessing > ver 3.5, per this URL that explains the shared cache mode
differences after v3.5:

 http://www.sqlite.org/sharedcache.html [1]

 I was installing on CentOS 5, which comes with sqlite 3.3.6-5 even with
the latest yum update.   And given the dependencies of other CentOS
packages on sqlite (like yum), I dare not mess with that.

 So I installed sqlite-3.7.3 from source into /opt/sqlite, then added the
command

 export LD_LIBRARY_PATH=/opt/sqlite/lib

 to the running shell (and put it in the startup script, or add to
/etc/profile for persistence across restarts).    Then running

 openvasmd -s 9391 --rebuild

 worked just fine.

 On Wed 15/09/10 11:27 AM , "LC W" elceedub at gmail.com sent:
 No, I never figured out how to fix the problem.  Using OpenVAS-Client
instead.

 Cheers

 2010/9/15 Cristian Iconaru 

Hi, 

  

have you managed to solve this issue? 

I encountered the same thing. I installed: openvas-libraries 3.1.0,
openvas-scanner 3.1.0 and openvas-manager 1.0.2. 

  

Thanks. 

  

Regards 

Cristian  

 		cristian iconaru

 		just network services gmbh

 		klausenburger str. 2

 		81677 münchen

 		fon +49 (0)89 167856-23

 		fax +49 (0)89 167856-75

 		www.junese.de [2]

 büro nürnberg:

 		siemensstr. 3-5

 		91126 rednitzhembach

 		fon +49 (0)9122 1883-100

 		fax +49 (0)9122 1883-190

 		geht nicht gibt's nicht!

 registergericht: münchen HRB 12 41 39, Steuernummer 829/29256, UstID
DE199333706, geschäftsführer: Oliver Prebeck, Martin Baumgartner 

 Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail
oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form
der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des
Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall
mit dem Absender der E-Mail in Verbindung zu setzen. 
 The information contained in this email is intended solely for the
addressee. Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any form of disclosure, reproduction,
distribution or any action taken or refrained from in reliance on it, is
prohibited and may be unlawful. Please notify the sender immediately. 

 _______________________________________________
 Openvas-discuss mailing list
 Openvas-discuss at wald.intevation.org
 http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
[3]">http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

 

Links:
------
[1] http://www.sqlite.org/sharedcache.html
[2] http://www.junese.de
[3] http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wald.intevation.org/pipermail/openvas-discuss/attachments/20101025/02a613fd/attachment.html


More information about the Openvas-discuss mailing list