Discussion:
file missing during db migrate
Christian Bajada
2014-06-26 09:37:52 UTC
Permalink
After updating my packages to latest, I have the error that the database is
the wrong version and tried openvasmd --migrate

This does not work and I'm getting the following error in the log:

md main:WARNING:2014-06-26 09h31.35 utc:1382: migrate_79_to_80: Failed to
read /var/lib/openvas/users/scanuser/uuid: Failed to open file
'/var/lib/openvas/users/scanuser/uuid': No such file or directory

Any idea how to solve this?

For reference these are the openvas packages I have installed:

openvas-1.0-13.el6.art.noarch
openvas-libraries-7.0.2-10.el6.art.x86_64
openvas-manager-5.0.2-20.el6.art.x86_64
openvas-cli-1.3.0-5.el6.art.x86_64
openvas-scanner-4.0.1-12.el6.art.x86_64

Thanks,
Chris
Mark LaCore
2014-09-02 20:11:38 UTC
Permalink
Delete the "scanuser" directory if you have other users set up. I ran into
this problem today and it was basically a temp user (mine was just called
"openvas"). The directory structure under that folder was not complete so
the migration script fails.
Post by Christian Bajada
After updating my packages to latest, I have the error that the database
is the wrong version and tried openvasmd --migrate
md main:WARNING:2014-06-26 09h31.35 utc:1382: migrate_79_to_80: Failed
to read /var/lib/openvas/users/scanuser/uuid: Failed to open file
'/var/lib/openvas/users/scanuser/uuid': No such file or directory
Any idea how to solve this?
openvas-1.0-13.el6.art.noarch
openvas-libraries-7.0.2-10.el6.art.x86_64
openvas-manager-5.0.2-20.el6.art.x86_64
openvas-cli-1.3.0-5.el6.art.x86_64
openvas-scanner-4.0.1-12.el6.art.x86_64
Thanks,
Chris
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Loading...