On Friday, October 04, 2013 at 4:03 AM, "Hani Benhabiles"  wrote:On
2013-10-03 18:36, silence_is_b...@hushmail.com wrote:
> On Thursday, October 03, 2013 at 11:26 AM, 
> silence_is_b...@hushmail.com wrote:
>
>> Huh? Continuing on for giggles I was able to login, but attempting 
>> to do anything gets me:
>>
>> Internal error: get_many:918 (GSA 5.0+beta2)An internal error 
>> occurred while getting a resource list. The current list of
resources 
>> is not available. Diagnostics: Failure to connect to manager
daemon.
>>

Because no manager daemon was running. --first-user creates the user, 
then exits. I updated the help to mention it explicitly. You also
don't 
need the killall after the --rebuild.

>> Stopping and starting openvasmd to get new log information, now I
am 
>> unable to login with the below in openvasmd.log
>>
>> lib auth: INFO:2013-10-03 10h50.02 MDT:4007: Authentication 
>> configuration not found.
>>
>> Thoughts anyone?
> More information from openvasmd.log:
>
> md main:WARNING:2013-10-03 17h34.30 UTC:5981: init_iterator:
> sqlite3_prepare failed: no such column: reverse_lookup_only
> md main:CRITICAL:2013-10-03 17h34.31 UTC:5981: handle_sigabrt: abort
>

Thanks for the report, revision 17939 should fix this. You can 
(manually) fix your DB instead of compiling from source:

$ sqlite3 /path/to/db # eg. /usr/var/lib/openvas/mgr/tasks.db
sqlite> ALTER TABLE targets ADD COLUMN reverse_lookup_only;
sqlite> ALTER TABLE targets ADD COLUMN reverse_lookup_unify;
sqlite> UPDATE targets SET reverse_lookup_only = 0, 
reverse_lookup_unify = 0;
sqlite> ALTER TABLE targets_trash ADD COLUMN reverse_lookup_only;
sqlite> ALTER TABLE targets_trash ADD COLUMN reverse_lookup_unify;
sqlite> UPDATE targets_trash SET reverse_lookup_only = 0, 
reverse_lookup_unify = 0;
sqlite> ALTER TABLE tasks ADD COLUMN hosts_ordering;
sqlite> UPDATE tasks SET hosts_ordering = 'sequential';
Regards,

Hani.
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Thank you Hani...that did the trick :)
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to