Results 1 to 11 of 11

Thread: OpanVAS scans freezes

  1. #1
    Join Date
    2015-Jun
    Posts
    5

    OpanVAS scans freezes

    Hi,

    I've started a scan (254 IPs) about 15 hours ago and it seems to freeze at 2% actualy it feels more like it's paused but it isn't.
    Everything still works (I can access all functionalities via the webinterface (GSA) I can even see the current status results of the scan.

    But when I check the "performance" (under the "Extras" menu) I see a load of barely 0.3 (in the last 15 minutes)

    Fallback Report

    This is the most basic, fallback report. The system can be configured to
    produce more powerful reports. Please contact your system administrator
    for more information.

    Load average for past minute: 0.4
    Load average for past 5 minutes: 0.3
    Load average for past 15 minutes: 0.3

    /proc/meminfo:

    MemTotal: 949492 kB
    MemFree: 44028 kB
    MemAvailable: 98844 kB
    Buffers: 2616 kB
    Cached: 60440 kB
    SwapCached: 0 kB
    Active: 835144 kB
    Inactive: 27408 kB
    Active(anon): 799672 kB
    Inactive(anon): 3148 kB
    Active(file): 35472 kB
    Inactive(file): 24260 kB
    Unevictable: 16 kB
    Mlocked: 16 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 92 kB
    Writeback: 0 kB
    AnonPages: 799520 kB
    Mapped: 38244 kB
    Shmem: 3324 kB
    Slab: 22648 kB
    SReclaimable: 9640 kB
    SUnreclaim: 13008 kB
    KernelStack: 2224 kB
    PageTables: 5812 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    WritebackTmp: 0 kB
    CommitLimit: 474744 kB
    Committed_AS: 1816392 kB
    VmallocTotal: 1105920 kB
    VmallocUsed: 4876 kB
    VmallocChunk: 865636 kB
    Anyone facing the same and/or has a solution?

    regards,
    Nicci

  2. #2
    Join Date
    2015-Jun
    Posts
    5
    Update:

    After canceling and deleteing the above scan I can't run any new scans anymore.
    I can create new scans but when trying to run them nothing happens. (endlessly loading the page)
    restarting openvas or restarting Kali does not fix it

  3. #3
    Join Date
    2015-Jun
    Posts
    14
    I'm having the same issue. Would love some help figuring out what the issue is.

  4. #4
    Join Date
    2015-Jun
    Posts
    3
    I'm having exactly the same issue myself :/

  5. #5
    Join Date
    2015-Jun
    Posts
    2
    Hi all!
    I'm having the same issue
    and openvasmd --rebuild works so long...
    I try reinstall openvas, but it's not help

  6. #6
    Join Date
    2015-Jun
    Posts
    5
    Is there anybody who could help resolving this issue?

  7. #7
    Join Date
    2013-Dec
    Location
    Krakow
    Posts
    67
    Hi Guys!

    So, my suggestions is:

    Save your work.
    Remove openvas using apt-get and re-install .

    And avoid to scan large ranges, split that and execute the parts separately.
    I past I has the same problem, and this steps worked fine for me.

    I think that openvas not is able to manipulate large data(if you have many bugs or stuff) this time.

  8. #8
    Join Date
    2016-Jun
    Posts
    2
    Hello,

    I've had exactly the same problem with latest kali version. Whenever you perform some active scans tasks on a regular basis, at some point of time openvas get stuck and you cannot restart or start any tasks. The issue is related to redis, which for some reason is shipped in kali with a configuration file not openvas-friendly.

    To fix the issue you need to:
    1) Stop redis-server and openvas
    2) Remove dump.rdb file if any
    3) Edit /etc/redis/redis.conf
    4) Comment out all lines starting by "save"; like "save 900 1"
    5) Save the redis config file, and restart everything

    Now you should be able to get back to work and resume your scans normally...

    Hope this helps

  9. #9
    Join Date
    2016-Jul
    Posts
    1
    Hello,

    Regarding this issue, I seemed to have success building OpenVAS using the following steps:

    1. apt-get install openvas*
    2. openvas-setup
    3. openvas-stop

    4. service redis-server stop
    5. rm /var/lib/redis/dump.rdb
    6. vi /etc/redis/redis.conf
    a. Comment out all lines starting by "save"; like "save 900 1"
    7. service redis-server start

    8. rm /var/lib/openvas/mgr/tasks.db
    9. openvas-start
    10. openvasmd --update --progress
    11. openvasmd --rebuild --progress

    12. openvas-check-setup
    13. openvasmd --create-user=<username> --role Admin

    Some of these may be unnecessary steps, OpenVAS is now working for me.

  10. #10
    Join Date
    2016-Jun
    Posts
    6
    Quote Originally Posted by retovell View Post
    Hello,

    Regarding this issue, I seemed to have success building OpenVAS using the following steps:

    1. apt-get install openvas*
    2. openvas-setup
    3. openvas-stop

    4. service redis-server stop
    5. rm /var/lib/redis/dump.rdb
    6. vi /etc/redis/redis.conf
    a. Comment out all lines starting by "save"; like "save 900 1"
    7. service redis-server start

    8. rm /var/lib/openvas/mgr/tasks.db
    9. openvas-start
    10. openvasmd --update --progress
    11. openvasmd --rebuild --progress

    12. openvas-check-setup
    13. openvasmd --create-user=<username> --role Admin

    Some of these may be unnecessary steps, OpenVAS is now working for me.
    I got as far as (10). and it is still going "updating NVT cache", been this way for over 9 hours!

    how long does / did it take when you fixed it?

    Thanks

  11. #11
    Join Date
    2016-Jun
    Posts
    6
    Quote Originally Posted by Wilster View Post
    I got as far as (10). and it is still going "updating NVT cache", been this way for over 9 hours!

    how long does / did it take when you fixed it?

    Thanks
    got it sorted, just reinstalled it

Similar Threads

  1. Replies: 0
    Last Post: 2015-05-01, 07:15
  2. Kali Freezes
    By KaliBoy in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2014-06-30, 05:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •