Re: [Openvas-discuss] Change Scanner on Task that was run
I just change the scanner to something else, modify the other scanner and change it back. On Thu, Jul 28, 2016 at 9:33 AM TN TN wrote: > Hi all, we currently can't modify the openvas scanner that's being used on > a task that has already been run. What happens (which happened to us) when > the scanner's harddrive fails and the scanner no longer exists. You would > need to create all task all over again? Can we make the Scanner variable > modifiable on tasks that have been run as well? Thanks - T > ___ > Openvas-discuss mailing list > Openvas-discuss@wald.intevation.org > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
[Openvas-discuss] Change Scanner on Task that was run
Hi all, we currently can't modify the openvas scanner that's being used on a task that has already been run. What happens (which happened to us) when the scanner's harddrive fails and the scanner no longer exists. You would need to create all task all over again? Can we make the Scanner variable modifiable on tasks that have been run as well? Thanks - T ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
Okay I did that and the install seemed to at least have me do more things this time around, but how long should the "Rebuilding NVT cache..." take? Here's the steps I took to remove and then reinstall. Let me know if I missed anything. # yum remove openvas openvas-cli openvas-cli-debuginfo openvas-gsa openvas-libraries \ openvas-libraries-debuginfo openvas-libraries-devel openvas-libraries-doc \ openvas-manager openvas-manager-debuginfo openvas-scanner openvas-scanner-debuginfo \ openvas-smb-debuginfo openvas-smb # find / -name "openvas" # rm -rf /etc/openvas/ # rm -rf /usr/include/openvas/ # rm -rf /usr/share/openvas/ # rm -rf /var/lib/openvas/ # rm -rf /var/log/openvas/ # rm -rf /var/cache/openvas/ # yum install openvas -y I then ran the "openvas-check-setup" and it had me do the following. # openvas-nvt-sync # openvas-mkcert-client -n -i It then gave me the error: ERROR No OpenVAS Manager database found. (Tried: /var/lib/openvas/mgr/tasks.db) Said my OpenVAS Scanner is NOT running, so I did the following: # openvassd I then waited for the NVT's to load before doing the following: # openvasmd --rebuild --progress And it's just sitting there so curious how long that takes? -Original Message- From: Openvas-discuss [mailto:openvas-discuss-boun...@wald.intevation.org] On Behalf Of Ralf Hildebrandt Sent: Thursday, July 28, 2016 4:12 AM To: openvas-discuss@wald.intevation.org Subject: Re: [Openvas-discuss] Reinstall Issues * Turner,Jonas : > The openvasmd --rebuild just doesn’t seem to want to work. I think if > I can rebuild that…I think it would fix itself. :/ This happened to me when I had old database files lying around. I had to deinstall, remove all files, install again. -- Ralf Hildebrandt Charite Universitätsmedizin Berlin ralf.hildebra...@charite.deCampus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
[Openvas-discuss] Sqlite database lock when login and starting scan
Hello, I'am updating openvas from openvas 7 to openvas 8 and I hava some trouble with sqlite database. I did an openvas --migrate and an openvas --rebuild without any errors but when I can login on gsa (https://myserver:9392/) but in openvasmd logs I see : md main:WARNING:2016-07-28 12h31.09 utc:10874: sql_exec_internal: sqlite3_step failed: database is locked md main:WARNING:2016-07-28 12h31.09 utc:10874: sqlv: sql_exec_internal failed md main:WARNING:2016-07-28 12h31.09 utc:10874: sql_exec_internal: sqlite3_step failed: database is locked md main:WARNING:2016-07-28 12h31.09 utc:10874: sqlv: sql_exec_internal failed md main:WARNING:2016-07-28 12h31.10 utc:10875: sql_exec_internal: sqlite3_step failed: database is locked md main:WARNING:2016-07-28 12h31.10 utc:10875: sqlv: sql_exec_internal failed md main:WARNING:2016-07-28 12h31.10 utc:10875: sql_exec_internal: sqlite3_step failed: database is locked md main:WARNING:2016-07-28 12h31.10 utc:10875: sqlv: sql_exec_internal failed I can start a task but it doesn't do the scan (I don't see any package between openvas server and the target server). Do you have any solution to unlock the sqlite database ? regards, -- rfritz ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
* Turner,Jonas : > The openvasmd --rebuild just doesn’t seem to want to work. I think if I can > rebuild that…I think it would fix itself. :/ This happened to me when I had old database files lying around. I had to deinstall, remove all files, install again. -- Ralf Hildebrandt Charite Universitätsmedizin Berlin ralf.hildebra...@charite.deCampus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss