Comments (5)
Hi there,
It sounds like there's a newer version of one or more of the feeds that it's using. The simplest solution is to leave the thing running and online for more than 24 hours. The install script sets automated jobs to check for feed updates at random times once a day.
If you don't want to wait; what I usually do, is open the web interface and navigate to Administration-->Feed Status. Then open up a terminal window and ssh into the machine running GVM. Once there, become root with sudo -i
then su to become the 'gvm' user with su gvm
. Once there, you can take a look at the 'gvm' user's crontab with crontab -l
.
Here's what mine looks like:
gvm@ubuntu-gvm-vm:/root$ crontab -l
3 4 * * * /opt/gvm/sbin/greenbone-feed-sync --type SCAP
35 7 * * * /opt/gvm/bin/greenbone-nvt-sync
59 11 * * * /opt/gvm/sbin/greenbone-feed-sync --type CERT
1 19 * * * /opt/gvm/sbin/greenbone-feed-sync --type GVMD_DATA
32 4 * * * /usr/bin/sudo /opt/gvm/sbin/openvas --update-vt-info
The numbers before the asterisks will be different on yours but it's the bits after them that we need for this.
Here's what I mean:
You can run each of the commands from the crontab manually in the terminal as the 'gvm' user. For example to run the first one enter /opt/gvm/sbin/greenbone-feed-sync --type SCAP
into the terminal and press enter. When you do, the feed status in the web interface will change to 'Update in progress'. The command will finish in the terminal before that changes in the web interface. You need to wait until it stops saying 'Update in progress in the web interface before running the next command.
While you're looking at the crontab check to see what the numbers are before the asterisks. They represent the time of day that the command should run. In the install script, I had it pick random times for each to avoid having everyone who uses this clobbering the update server at the same time. The downside to this approach is that there is a chance yours are too close together. For example, if my CERT update is scheduled to happen at 11:59 as above, if my nvt-sync were to be scheduled at 11:57 I'd have a problem because it wouldn't be finished by the time my CERT update happened. This would cause the CERT update to fail. It's possible this is what you're running into.
kev.
from gvm_install.
Thank you!!! I'm going to do it today!
How can I set up crontab correctly on time?
from gvm_install.
It's my crontab file:
gvm@SCAN:/root$ crontab -l
37 20 * * * /opt/gvm/sbin/greenbone-scapdata-sync
24 15 * * * /opt/gvm/bin/greenbone-nvt-sync
45 10 * * * /opt/gvm/sbin/greenbone-certdata-sync
7 18 * * * /usr/bin/sudo /opt/gvm/sbin/openvas --update-vt-info
Why are our files different?
from gvm_install.
Hi again,
They changed how it does it between version 11 and version 20 so what you see is how it was supposed to work in version 11. I should really get rid of the version 11 option from the installer as it's now past it's end-of-life according to Greenbone (https://community.greenbone.net/t/gvm-11-end-of-life-initial-release-2019-10-14/3674). So it really shouldn't be an option anymore.
kev.
from gvm_install.
I just pushed a commit that removes the option to install version 11. They may not be updating the feeds for it anymore which may also be why you're seeing the message about it being out of date.
If it were me I'd start a fresh install, have it install version 20 then go from there.
I'm going to close this issue off on github for now but we can re-open it if we want to later on.
kev.
from gvm_install.
Related Issues (20)
- Scans interrupted with error "Cannot connect to Scanner" HOT 1
- Certain Optional Dependencies Missing HOT 1
- What's the recommended way to update versions? HOT 4
- Unable to install GVM/Open-Vas HOT 6
- Unable to install gvmd in custom location HOT 1
- Incorrect variable name results version update fail. HOT 2
- Nothing shows up in result HOT 2
- something is broken recently, script no longer builds a working server HOT 3
- missing "su gvm -c" at start of vt update command HOT 3
- new dependency libxml2? HOT 2
- suggested working config to support Ubuntu 22.04 HOT 2
- missing dependency to build credential exe files HOT 1
- Changing a SSL Certificate for Web UI HOT 2
- Working on a 22.04 release? HOT 1
- Web Page not available HOT 2
- Greenbone outdated HOT 4
- yarnpkg failing for version 22 HOT 8
- After new installation v22 on Debain 11, web Service not available HOT 6
- Error in line 98 "else" HOT 2
- Here's a link to newest GVM source build & docker build scripts.. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvm_install.