Hi...
[[email protected] ~]# sqlite3
/var/lib/openvas/mgr/tasks.db
SQLite version 3.7.0.1
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> select count(*) from reports;
46
sqlite> select count(*) from tasks;
21
sqlite>
[[email protected] ~]# omp -u XXX -w YYY
--xml="<get_tasks/>"
<get_tasks_response status="200"
status_text="OK"><apply_overrides>0</apply_overrides><filters
id="0"><term></term></filters><sort><field>name<order>ascending</order></field></sort><tasks
start="1"
max="-1"></tasks><task_count>0<filtered>0</filtered><page>0</page></task_count></get_tasks_response>
[[email protected] ~]# rpm -qa | grep openvas
openvas-1.0-9.el6.art.noarch
openvas-manager-4.0.5-15.el6.art.x86_64
openvas-administrator-1.3.2-5.el6.art.x86_64
openvas-libraries-6.0.2-8.el6.art.x86_64
openvas-cli-1.2.0-4.el6.art.x86_64
openvas-scanner-3.4.1-8.el6.art.x86_64
[[email protected] ~]# rpm -qa | grep sqlite
sqlite-3.7.0.1-1.el6.art.x86_64
[[email protected] ~]#
-G
On 2014-04-28 23:54, Hani Benhabiles wrote:
On 2014-04-28 21:24, G Galitz wrote:
Hi.
To make a long story short, recently I had to restore my tasks.db on
an existing OpenVAS server. Everything is working ok except the old
tasks and reports are not visible in the GSA. The targets and scan
configs are all there, but not the tasks and reports.
All I did was restore via standard sqlite procedures ("sqlite
tasks.db < backup.sql") and rebuild OpenVAS.
What am I missing?
-G
Some quick checks:
* Are they really saved in the DB ?
Try these commands:
sqlite> select count(*) from reports;
sqlite> select count(*) from tasks;
* Are they "invisible" only in GSA ?
Try verifying with omp cli
eg. omp -u admin -w pass --xml="<get_tasks/>"
Also, what OpenVAS version / DB version is this ?
_______________________________________________
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