SCAP database is required OpenVas GVM

Поділитися
Вставка
  • Опубліковано 12 чер 2021
  • Enroll for free until 27th December: rb.gy/adrmbm
    Mini curso em português na playlist aqui no youtube: • Mini curso do OpenVas
    below the comamds used in this videos just copy and paste:
    1.# sudo gvm-stop
    2.# sudo runuser -u _gvm -- greenbone-nvt-sync --rsync
    2.1#NOTE: The _gvm is the gmv's user name, so you need to replace it with your user name you created
    3.# sudo greenbone-scapdata-sync
    4.# sudo greenbone-certdata-sync
    5.# sudo reboot
    6.# After reboot, open GSA from the browser and go to Feed Status, if it shows update in progress, you need to wait until the process is finished and after that the problem will be solved.

КОМЕНТАРІ • 86

  • @biranovaes
    @biranovaes Рік тому +6

    I was two days trying to solve this problem and with this vídeo I did it. Thanks.

  • @henrrydiaz6200
    @henrrydiaz6200 5 місяців тому +8

    when i do the command " sudo runuser -u _gvm -- greenbone-nvt-sync --rsync" i get an "usage: greenbone-nvt-sync" followed by multiple options and after i get "greenbone-nvt-sync: error: --rsync-timeout: expect one argument"

  • @antoinebertucat1055
    @antoinebertucat1055 2 роки тому +3

    It's ok for me ! thanx's for this video !

  • @franciscoazcarate1362
    @franciscoazcarate1362 Рік тому

    Thanks! i can fix this problem in my VM.
    ----------------------------------------------------------------
    Realice los pasos que se ven en el video, y tal como figura en la descripción, espere a que termine de actualizar y ahora funciona. Gracias

  • @jackf117a
    @jackf117a Рік тому

    Buenísimo, gracias!

  • @wowstefaniv
    @wowstefaniv 2 роки тому

    Hey man i did what u said but when i do "sudo gvm-feed-update" it stays stuck at "updating vulnerability tests info into redis store from vt files" for a very very long time. Do I just need to wait for it to finish or is there something wrong?

    • @openvas3238
      @openvas3238  2 роки тому

      Hi @wowstefaniv you need to wait because that process takes long time as I said in the description of the video.

    • @furiousruffian6041
      @furiousruffian6041 Рік тому

      Yes, you need to wait. It takes time

  • @charger8610
    @charger8610 2 роки тому

    I did whole procedure, but I still have "The SCAP database is required". What else I can do? And what does it mean comment below "sudo runuser -- greenbone-nvt-sync --rsync"? This command dont work without "-u _gvm" parameter..

    • @openvas3238
      @openvas3238  2 роки тому +1

      Please read the description of the video, I said that after the procedure if you go to Feed Status and see Update in progress, you need to wait untit it ends and it takes long time yo finish. Note: I have been supporting many people on this issue, you need to wait until the update in progress desapears

    • @charger8610
      @charger8610 2 роки тому

      @@openvas3238 Thank you for quick replay. Of course you were right. Mayby it will be good idea to add to the description below the video, info that "SCAP database is required" will be displayed until update progrss is finished. Anyway - thanks mate!

  • @jameelkhan570
    @jameelkhan570 Рік тому

    Hey I did what it said but still it’s not working. When I check the log it says No SCAP database found and rebuilding Scap from scratch then few updates then again scap db not found same loop repeats for 20+ hours

    • @openvas3238
      @openvas3238  Рік тому

      Hey, go to Feed Status and chack what it's staying, if you see, Update in progress, no way out you need to wait until it's done.

  • @ErestorESP
    @ErestorESP 2 роки тому +1

    i love u

  • @patricioa.galdamess.570
    @patricioa.galdamess.570 9 місяців тому

    I run sudo runuser -u _gvm -- greenbone-nvt-sync --rsync
    but the parameter --rsync is not recognized. Actually the error message says the argument should be --rsync-timeout and one extra argument is expected...

    • @openvas3238
      @openvas3238  9 місяців тому +1

      Try to check if is there any another error by running the command: sudo gvm-check-setup

    • @tryCatchMeQWERTY
      @tryCatchMeQWERTY 2 місяці тому

      @@openvas3238
      Thanks, your video helped a lot!!!
      `sudo gvm-check-setup` revealed the CERT-related issue, which was resolved with proposed command.

  • @user-ge8qz4qz2t
    @user-ge8qz4qz2t 3 роки тому +3

    2.# sudo runuser -u _gvm -- greenbone-nvt-sync --rsync

    • @openvas3238
      @openvas3238  3 роки тому +2

      Thank you dear for your correction

  • @ouregalandryurbain4609
    @ouregalandryurbain4609 2 роки тому

    Hello
    I followed the steps to the letter
    the # gvm-check-setup command
    gives the following result: It seems like your GVM-21.4.3 installation is OK
    when I come back to greenbone's feed status, NVT, SCAP, CERT and GVMD_DATA status is still "update in progress ..."
    the "THE SCAP DATA IS REQUIRED" notification has disappeared in SecInfo but when I choose NTVs, I see '' No NVTs available ''
    how can you help me?

    • @openvas3238
      @openvas3238  2 роки тому +1

      Hi @Ourega, after follow the steps you need to wait until the feed status update in progress is finished, and that process will take long time to finish. I have supported someone that had to wait more than 15 hours and after the update progress finished , all SecInfo informations (CVE, NVT, CPE, etc) was there. Please be patient.

    • @yulietsaltos5897
      @yulietsaltos5897 2 роки тому

      @@openvas3238 Buenas noches... actualmente tengo el mismo problema... mi duda es¿¿ que al esperar que se actualice puedo salir del interfaz de openvas ??

    • @openvas3238
      @openvas3238  2 роки тому +1

      Holla @@yulietsaltos5897, puedes irte sí, siempre y cuando mantengas el gvm funcionando y no apague la máquina donde está instalado openvas

    • @yulietsaltos5897
      @yulietsaltos5897 2 роки тому

      @@openvas3238 Listo, gracias por responderme... se acabó de actualizar pero en el estado del feed... sale 3 days old..... tengo que hacer denuevo los pasos??? Otra pregunta... efectivo una vez que se actualice... es decir ya puedo escanear las vulnerabilidades de la red?? En que al momento de escanear la ip no saldría el error??

    • @openvas3238
      @openvas3238  2 роки тому +1

      @@yulietsaltos5897 es normal que aparezca con 3 días de antigüedad lo que significa que no hay ninguna actualización en este momento. Una vez terminada la actualización puedes escanear la red y no mostrará ningún error

  • @johnonyekwechuka8771
    @johnonyekwechuka8771 Рік тому

    i got request time out when i run the command gvm-stop what should i do pls

    • @openvas3238
      @openvas3238  Рік тому

      Try it again, if it does not stop, consider to restart your VM

  • @nxu5107
    @nxu5107 Рік тому +1

    hmmm thanks for your video. But didn't work even after reboot. I will keep going.

    • @openvas3238
      @openvas3238  Рік тому +1

      Read the description of the video closely and you'll solve the issue. Note: You need to follow the instructions on the description don't be focus only on the commands,

  • @kqabro
    @kqabro 10 місяців тому

    Thanks for nice and need of the essential tool.
    Seems Green Community made it delieberately hard for the community users. It is almost a week I put up all my energies to resolve thess feeds "update in progress" issue and finally I am here. Still no luck.
    Following is the status after running
    sudo runuser -u _gvm -- greenbone-nvt-sync --rsync
    "greenbone-nvt-sync: error: argument --rsync-timeout: expected one argument"
    and if I omit -u _gvm then; i.e.
    sudo runuser -- greenbone-nvt-sync --rsync
    "runuser: user greenbone-nvt-sync does not exist or the user entry does not contain all the required fields"
    So, still issue persists.

    • @thetutorialtribe
      @thetutorialtribe 10 місяців тому

      Hello, we need to determine the issue, as I said in the description of the video, after you run the commands, you need to wait until the update in progress desapears qnd it takes long time. Another think is to run the command: #sudo gvm-check-setup. To see if is there any error message and if yes, you will see the solution to correct the issue. Let me know

    • @kqabro
      @kqabro 10 місяців тому

      @@thetutorialtribe I am waiting this for days n days. And there is no clue whether is there any progress.
      One forum says it is due to low volume/space.
      But solution here suggest wait indefinitely without knowing the progress rate.

    • @kqabro
      @kqabro 10 місяців тому

      @@thetutorialtribe NO errot messgae after I run gvm-check-setup

    • @openvas3238
      @openvas3238  10 місяців тому

      @@kqabro You may consider to run the script again: # sudo gvm-setup and after that run the gvm-check-setup again and if there is no error, try to check the feed status again. Note that the video above is the only way I now to solve this issue and many people who come on my channel, I give the same solution, you need to wait until the message disappears. You can try to go to Greenbone forum and check other solutions for this error. Good luck

  • @johnchong9660
    @johnchong9660 Рік тому

    how to slove this issue "md gmp: INFO:2023-02-09 10h23.58 UTC:4890: Failed to parse client XML: Command Unavailable" thank in advance

    • @openvas3238
      @openvas3238  Рік тому

      Hi, can you tell me what was you trying to do when you got that error?

    • @johnchong9660
      @johnchong9660 Рік тому

      @@openvas3238 I just waiting the feed to update and this error was showing up.
      And I have another issue is that when I try to export the report from openvas in pdf the pdf was 0 byte and blank could you please provide solution ya

    • @openvas3238
      @openvas3238  Рік тому

      @@johnchong9660 is the result of the scan showing vulnerabilities? If yes, you need to check the type of vulnerabilities and change the filter to include all results

  • @floydian4evr
    @floydian4evr Рік тому

    follow all instructions after reboot ran gvm-start went to browser saw it was updating still after everything went to current tried to scan a pc and still got the same error Fail to find port_list error

    • @openvas3238
      @openvas3238  Рік тому

      Hi @floydian4evr, please read the description of the video, you're not the first one with the same issue, you need to wait until the updating message desapears, otherwise your issue will remain

    • @floydian4evr
      @floydian4evr Рік тому

      @@openvas3238 With all due respect i watch the video entirely and i followed each step wating till the updating was complete when everything show current and I'm still facing the same issue. I cannot seem to figure it out

    • @openvas3238
      @openvas3238  Рік тому

      @@floydian4evr no problem at all.
      Try these steps:
      1. on terminal, run the command: sudo gvm-check-setup and check if is there any error message reported and if yes, normally you'll see the solution suggested by the GVM
      2. Go to the log and try to find out any reported error:
      a.# sudo nano /var/log/gvm/openvas.log
      b.# sudo nano /var/log/gvm/gsad.log
      c.# sudo nano /var/log/gvm/gvmd.log
      d.# sudo nano /var/log/gvm/ospd-openvas.log
      3. If you don't see any reported error on the logs, I suggest you to upgrade your OS using these commands:
      a.# sudo apt update
      b.# sudo apt full-upgrade-y
      Note: Please let me know the result after you follow the steps above
      Best

    • @alessandrozoppi8597
      @alessandrozoppi8597 Рік тому

      @@openvas3238 I am facing the same issue... despite the gvm-check-setup is giving me 100% OK if I take a look at "sudo tail -f gvmd.log" I endlessly face this :
      md manage: INFO:2023-05-21 08h11.17 UTC:1931: update_scap: Updating data from feed
      md manage: INFO:2023-05-21 08h11.17 UTC:1931: Updating CPEs
      md manage:WARNING:2023-05-21 08h13.36 UTC:1931: update_scap_cpes_from_file: Failed to parse element
      md manage:WARNING:2023-05-21 08h13.38 UTC:3692: update_scap: No SCAP db present, rebuilding SCAP db from scratch
      and again and again

    • @openvas3238
      @openvas3238  Рік тому

      @@alessandrozoppi8597 Please can you check the Feed Status and see if it is showing current version of feeds or it is saying update in progress? If it says update in progress, you need to wait until that process is finished. That is the only way I know to solve that issue, SCAP data not found. Please let me know

  • @masud.abdullah
    @masud.abdullah 9 місяців тому

    I'm tried and wait many times but update in process could not stop 😢

    • @openvas3238
      @openvas3238  9 місяців тому

      As mentioned on the description of the video, it takes long time, so far that is the only solution I know.

  • @Mary1-2
    @Mary1-2 2 роки тому +1

    The method did not work
    can you help me?

    • @openvas3238
      @openvas3238  2 роки тому

      Hi Maryam, yes for sure.
      1. Before you run the commands, make sure you're not using NAT configuration, prefer to use Bridged Adapter if you're using Hypervisor.
      2. After rebooting, Kali open your terminal and update the feeds with this commmand: sudo gvm-feed-update and make sure you go to Feed Status in GSA and wait until the update finishes.
      3. Check the setup to ensure the installation is ok: sudo gvm-check-setup
      4. Try to open SecInfo and NVTs for e.g. to see if the problem is gone or not
      Cheers

    • @Mary1-2
      @Mary1-2 2 роки тому

      @@openvas3238 thanks for your helping , but also it doesn't work
      I run sudo gem-setup
      and this is patron of the result
      [*] Updating: Scap Data
      rsync: [Receiver] failed to connect to feed.community.greenbone.net (45.135.106.142): Connection refused (111)
      rsync: [Receiver] failed to connect to feed.community.greenbone.net (2a0e:6b40:20:106:20c:29ff:fe67:cbb5): Network is unreachable (101)
      rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3]
      [*] Updating: Cert Data
      rsync: [Receiver] failed to connect to feed.community.greenbone.net (45.135.106.142): Connection refused (111)
      rsync: [Receiver] failed to connect to feed.community.greenbone.net (2a0e:6b40:20:106:20c:29ff:fe67:cbb5): Network is unreachable (101)
      rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3]
      [*] Checking Default scanner
      08b69003-5fc2-4037-a479-93b440211c73 OpenVAS /var/run/ospd/ospd.sock 0 OpenVAS Default
      and I use all updating command, but it doesn't work

    • @openvas3238
      @openvas3238  2 роки тому +1

      @@Mary1-2 you're welcome. I have faced that issue before, please update your linux machine it seems that you have some depreciated pachages in gvm labraries, used the below commands:
      1# sudo apt update
      2# sudo apt full-upgrade -y
      3# After the upgrade is completed, reboot your linux machine
      4# Try to login into GSA and try to see if the problem is solved or not
      5# If note type: sudo greenbone-scapdata-sync
      6# Try again to see if the problem persists and if persists, try to check the logs to see more informations regarding the erros:
      6.1# sudo gvm-check-setup and look for erros and normaly has the solution there
      7# Or try to check the logs, if you can share with me it would be good
      # sudo cat /var/log/gvm/openvas.log
      # sudo cat /var/log/gvm/gvmd.log
      # sudo cat /var/log/gvm/gsa.log
      Best

    • @eduverapy
      @eduverapy 2 роки тому +1

      I have the same problem.
      Kernel: Linux 5.10.0-kali9-amd64
      Greenbone Security Assistant: Version 21.4.2

    • @canerandagio8603
      @canerandagio8603 2 роки тому

      @@eduverapy did u solve the problem?

  • @fyoung6921
    @fyoung6921 Рік тому

    This worked for me. After days of searching on the web. Guys, after you follow the steps here, the key point to note is to have patience. You can always check the log via log /var/log/gvm/gvmd.log to get the update. Once it's done, you'll be good to go.

  • @Pedro_A_Moraes
    @Pedro_A_Moraes 4 місяці тому

    didnt work 😥

  • @REMZEJ
    @REMZEJ 2 роки тому +1

    Didn't solve still Feed Status updating...

    • @openvas3238
      @openvas3238  2 роки тому

      If you read the the description you'll see that i mantioned that the process take take a while and you need to wait until the update finishes. Status updating is clear english it means that the update is being applied, you need to wai, you're are not the first person with this problem.

    • @REMZEJ
      @REMZEJ 2 роки тому

      Oh my bad! Sorry man. I've been waiting since yesterday till now status is update in progress..m

    • @REMZEJ
      @REMZEJ 2 роки тому

      @@openvas3238 Sorry man my bad! I've been waiting since yesterday still update in progress... My connection is good, and checked the installation logs also good. Using VMWare Player in bridge mode.

    • @openvas3238
      @openvas3238  2 роки тому

      @@REMZEJ I understand, just be patient and you'll solve you problem.

    • @REMZEJ
      @REMZEJ 2 роки тому +1

      @@openvas3238 finally finished updating. Thanks!

  • @Inspire2Rise1
    @Inspire2Rise1 Рік тому

    For me for some reason still says scapdata failed to find config

    • @openvas3238
      @openvas3238  Рік тому

      You may nees to try to uninstall gvm and install it again

    • @Inspire2Rise1
      @Inspire2Rise1 Рік тому

      @@openvas3238 i've done that

    • @Inspire2Rise1
      @Inspire2Rise1 Рік тому

      When I run gvm-check-setup it says scapdata present but when I check and try to run a scan it says failed to find config

    • @openvas3238
      @openvas3238  Рік тому

      @@Inspire2Rise1 after you run the commands, when you go to Feed Status, what do you see? If you see updating in progress, you meed to wait until that message desapears.

    • @Inspire2Rise1
      @Inspire2Rise1 Рік тому

      @@openvas3238 I've waited for well over a week now

  • @semizeul
    @semizeul 2 роки тому +1

    +

  • @vedaantwagh4177
    @vedaantwagh4177 2 роки тому

    I used this method but doesnt work

    • @openvas3238
      @openvas3238  2 роки тому

      What happened after you used the method? If you go to Feed Status, do you see update in progress?

    • @jimmyrios5474
      @jimmyrios5474 2 роки тому

      @@openvas3238 yes

    • @openvas3238
      @openvas3238  2 роки тому

      @@jimmyrios5474 Noted. In that case you need to wait until it's done. This process takes long time to finish. Please read the description of the video, you will see the explenation.

  • @savleenkaur2468
    @savleenkaur2468 Рік тому

    Not work

    • @openvas3238
      @openvas3238  Рік тому

      Please read the description of the video.

  • @danilodantas7638
    @danilodantas7638 2 роки тому

    ERROR FOUND - the SCAP database is required.
    ERROR LOGS - tail -f /var/log/gvm/gvmd.log
    sqlv: sql_exec_internal failed
    No SCAP database found.

    • @openvas3238
      @openvas3238  2 роки тому

      Hi Danilo, please follow the commands on the video's description and attention to the notes i provided. Consider to copy and paste the commands if possible. Please make me know if you still face the issue