OpenVAS scanner TIMEOUT












1















The scanner was working just fine until I ran a task with 58 targets (CSV file) and the deafult Maximum concurrently scanned hosts = 20, the load got way too high and I couldn't log back on or risk to let it run and happen something to the targets so I just ran "service openvas-scanner stop", it did stop but now I can't bring it back on.



I have no clue what to do now and haven't found anything usefull online, I don't wanna start it all over for a stop command....



The status:



root@OPENVAS: systemctl status openvas-scanner.service
● openvas-scanner.service - LSB: remote network security auditor - scanner
Loaded: loaded (/etc/init.d/openvas-scanner; bad; vendor preset: enabled)
Active: failed (Result: timeout) since Qua 2019-01-16 17:20:13 -02; 29min ago
Docs: man:systemd-sysv-generator(8)
Process: 1173 ExecStart=/etc/init.d/openvas-scanner start (code=killed, signal=TERM)
Tasks: 1
Memory: 3.8M
CPU: 54ms
CGroup: /system.slice/openvas-scanner.service
└─1208 /usr/sbin/openvassd

Jan 16 17:15:12 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
Jan 16 17:15:14 OPENVAS openvas-scanner[1173]: (openvassd:1208): lib kb_redis-CRITICAL **: fetch_max_db_index: cannot retr
Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
Jan 16 17:20:13 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.


When I try to start:



root@OPENVAS systemctl start openvas-scanner.service
Job for openvas-scanner.service failed because a timeout was exceeded. See "systemctl status openvas-scanner.service" and "journalctl -xe" for details


.



journalctl -xe



root@OPENVAS: journalctl -xe
Jan 16 18:15:17 OPENVAS sudo[1796]: root : TTY=pts/0 ; PWD=/run/redis ; USER=root ; COMMAND=/usr/sbin/openvasmd --rebuild
Jan 16 18:15:17 OPENVAS sudo[1796]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 16 18:17:01 OPENVAS CRON[1816]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session closed for user root
Jan 16 18:29:36 OPENVAS sudo[1796]: pam_unix(sudo:session): session closed for user root
Jan 16 18:29:45 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
-- Subject: Unidade openvas-scanner.service sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade openvas-scanner.service está sendo iniciada.
Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
Jan 16 18:34:45 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
-- Subject: A unidade openvas-scanner.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade openvas-scanner.service falhou.
--
-- O resultado é failed.
Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.









share|improve this question



























    1















    The scanner was working just fine until I ran a task with 58 targets (CSV file) and the deafult Maximum concurrently scanned hosts = 20, the load got way too high and I couldn't log back on or risk to let it run and happen something to the targets so I just ran "service openvas-scanner stop", it did stop but now I can't bring it back on.



    I have no clue what to do now and haven't found anything usefull online, I don't wanna start it all over for a stop command....



    The status:



    root@OPENVAS: systemctl status openvas-scanner.service
    ● openvas-scanner.service - LSB: remote network security auditor - scanner
    Loaded: loaded (/etc/init.d/openvas-scanner; bad; vendor preset: enabled)
    Active: failed (Result: timeout) since Qua 2019-01-16 17:20:13 -02; 29min ago
    Docs: man:systemd-sysv-generator(8)
    Process: 1173 ExecStart=/etc/init.d/openvas-scanner start (code=killed, signal=TERM)
    Tasks: 1
    Memory: 3.8M
    CPU: 54ms
    CGroup: /system.slice/openvas-scanner.service
    └─1208 /usr/sbin/openvassd

    Jan 16 17:15:12 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
    Jan 16 17:15:14 OPENVAS openvas-scanner[1173]: (openvassd:1208): lib kb_redis-CRITICAL **: fetch_max_db_index: cannot retr
    Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
    Jan 16 17:20:13 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
    Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
    Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.


    When I try to start:



    root@OPENVAS systemctl start openvas-scanner.service
    Job for openvas-scanner.service failed because a timeout was exceeded. See "systemctl status openvas-scanner.service" and "journalctl -xe" for details


    .



    journalctl -xe



    root@OPENVAS: journalctl -xe
    Jan 16 18:15:17 OPENVAS sudo[1796]: root : TTY=pts/0 ; PWD=/run/redis ; USER=root ; COMMAND=/usr/sbin/openvasmd --rebuild
    Jan 16 18:15:17 OPENVAS sudo[1796]: pam_unix(sudo:session): session opened for user root by root(uid=0)
    Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session opened for user root by (uid=0)
    Jan 16 18:17:01 OPENVAS CRON[1816]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
    Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session closed for user root
    Jan 16 18:29:36 OPENVAS sudo[1796]: pam_unix(sudo:session): session closed for user root
    Jan 16 18:29:45 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
    -- Subject: Unidade openvas-scanner.service sendo iniciado
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- A unidade openvas-scanner.service está sendo iniciada.
    Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
    Jan 16 18:34:45 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
    -- Subject: A unidade openvas-scanner.service falhou
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- A unidade openvas-scanner.service falhou.
    --
    -- O resultado é failed.
    Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
    Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.









    share|improve this question

























      1












      1








      1








      The scanner was working just fine until I ran a task with 58 targets (CSV file) and the deafult Maximum concurrently scanned hosts = 20, the load got way too high and I couldn't log back on or risk to let it run and happen something to the targets so I just ran "service openvas-scanner stop", it did stop but now I can't bring it back on.



      I have no clue what to do now and haven't found anything usefull online, I don't wanna start it all over for a stop command....



      The status:



      root@OPENVAS: systemctl status openvas-scanner.service
      ● openvas-scanner.service - LSB: remote network security auditor - scanner
      Loaded: loaded (/etc/init.d/openvas-scanner; bad; vendor preset: enabled)
      Active: failed (Result: timeout) since Qua 2019-01-16 17:20:13 -02; 29min ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1173 ExecStart=/etc/init.d/openvas-scanner start (code=killed, signal=TERM)
      Tasks: 1
      Memory: 3.8M
      CPU: 54ms
      CGroup: /system.slice/openvas-scanner.service
      └─1208 /usr/sbin/openvassd

      Jan 16 17:15:12 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
      Jan 16 17:15:14 OPENVAS openvas-scanner[1173]: (openvassd:1208): lib kb_redis-CRITICAL **: fetch_max_db_index: cannot retr
      Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
      Jan 16 17:20:13 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
      Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
      Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.


      When I try to start:



      root@OPENVAS systemctl start openvas-scanner.service
      Job for openvas-scanner.service failed because a timeout was exceeded. See "systemctl status openvas-scanner.service" and "journalctl -xe" for details


      .



      journalctl -xe



      root@OPENVAS: journalctl -xe
      Jan 16 18:15:17 OPENVAS sudo[1796]: root : TTY=pts/0 ; PWD=/run/redis ; USER=root ; COMMAND=/usr/sbin/openvasmd --rebuild
      Jan 16 18:15:17 OPENVAS sudo[1796]: pam_unix(sudo:session): session opened for user root by root(uid=0)
      Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session opened for user root by (uid=0)
      Jan 16 18:17:01 OPENVAS CRON[1816]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
      Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session closed for user root
      Jan 16 18:29:36 OPENVAS sudo[1796]: pam_unix(sudo:session): session closed for user root
      Jan 16 18:29:45 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
      -- Subject: Unidade openvas-scanner.service sendo iniciado
      -- Defined-By: systemd
      -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      --
      -- A unidade openvas-scanner.service está sendo iniciada.
      Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
      Jan 16 18:34:45 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
      -- Subject: A unidade openvas-scanner.service falhou
      -- Defined-By: systemd
      -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      --
      -- A unidade openvas-scanner.service falhou.
      --
      -- O resultado é failed.
      Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
      Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.









      share|improve this question














      The scanner was working just fine until I ran a task with 58 targets (CSV file) and the deafult Maximum concurrently scanned hosts = 20, the load got way too high and I couldn't log back on or risk to let it run and happen something to the targets so I just ran "service openvas-scanner stop", it did stop but now I can't bring it back on.



      I have no clue what to do now and haven't found anything usefull online, I don't wanna start it all over for a stop command....



      The status:



      root@OPENVAS: systemctl status openvas-scanner.service
      ● openvas-scanner.service - LSB: remote network security auditor - scanner
      Loaded: loaded (/etc/init.d/openvas-scanner; bad; vendor preset: enabled)
      Active: failed (Result: timeout) since Qua 2019-01-16 17:20:13 -02; 29min ago
      Docs: man:systemd-sysv-generator(8)
      Process: 1173 ExecStart=/etc/init.d/openvas-scanner start (code=killed, signal=TERM)
      Tasks: 1
      Memory: 3.8M
      CPU: 54ms
      CGroup: /system.slice/openvas-scanner.service
      └─1208 /usr/sbin/openvassd

      Jan 16 17:15:12 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
      Jan 16 17:15:14 OPENVAS openvas-scanner[1173]: (openvassd:1208): lib kb_redis-CRITICAL **: fetch_max_db_index: cannot retr
      Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
      Jan 16 17:20:13 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
      Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
      Jan 16 17:20:13 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.


      When I try to start:



      root@OPENVAS systemctl start openvas-scanner.service
      Job for openvas-scanner.service failed because a timeout was exceeded. See "systemctl status openvas-scanner.service" and "journalctl -xe" for details


      .



      journalctl -xe



      root@OPENVAS: journalctl -xe
      Jan 16 18:15:17 OPENVAS sudo[1796]: root : TTY=pts/0 ; PWD=/run/redis ; USER=root ; COMMAND=/usr/sbin/openvasmd --rebuild
      Jan 16 18:15:17 OPENVAS sudo[1796]: pam_unix(sudo:session): session opened for user root by root(uid=0)
      Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session opened for user root by (uid=0)
      Jan 16 18:17:01 OPENVAS CRON[1816]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
      Jan 16 18:17:01 OPENVAS CRON[1815]: pam_unix(cron:session): session closed for user root
      Jan 16 18:29:36 OPENVAS sudo[1796]: pam_unix(sudo:session): session closed for user root
      Jan 16 18:29:45 OPENVAS systemd[1]: Starting LSB: remote network security auditor - scanner...
      -- Subject: Unidade openvas-scanner.service sendo iniciado
      -- Defined-By: systemd
      -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      --
      -- A unidade openvas-scanner.service está sendo iniciada.
      Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Start operation timed out. Terminating.
      Jan 16 18:34:45 OPENVAS systemd[1]: Failed to start LSB: remote network security auditor - scanner.
      -- Subject: A unidade openvas-scanner.service falhou
      -- Defined-By: systemd
      -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
      --
      -- A unidade openvas-scanner.service falhou.
      --
      -- O resultado é failed.
      Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Unit entered failed state.
      Jan 16 18:34:45 OPENVAS systemd[1]: openvas-scanner.service: Failed with result 'timeout'.






      linux security centos-7






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 16 at 20:47









      LarissaLarissa

      61




      61






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395117%2fopenvas-scanner-timeout%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1395117%2fopenvas-scanner-timeout%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How do I know what Microsoft account the skydrive app is syncing to?

          Grease: Live!

          When does type information flow backwards in C++?