Re: [Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
Am 29.08.2018 um 11:55 schrieb Davide: > Done, but it's not working. > Now, it's "activating" since 45 minutes. than i am out of ideas but raise the timeout is a good idea anyways because some openvas services really takes time to start and i had them killed with timeout at boot before increase the setting on otherwise perfectly working setup > Il giorno mer 29 ago 2018 alle ore 10:46 Reindl Harald > ha scritto: >> >> >> >> Am 29.08.2018 um 09:45 schrieb Davide: >>> Thank you; >>> In my / etc / systemd / system directory I never see >>> openvas-scanner.service but only greenbone-security-assistant.service >>> -> dev / null >> >> RTFM! >> >> /etc/systemd/systemd/ is for your own overrides and on any proper >> distribution you can override sysvinitscripts by create a identical >> named .service file there >> >> /etc/systemd/system/servicename.service.d/ is for drop-ins - RTFM again ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
Done, but it's not working. Now, it's "activating" since 45 minutes. Il giorno mer 29 ago 2018 alle ore 10:46 Reindl Harald ha scritto: > > > > Am 29.08.2018 um 09:45 schrieb Davide: > > Thank you; > > In my / etc / systemd / system directory I never see > > openvas-scanner.service but only greenbone-security-assistant.service > > -> dev / null > > RTFM! > > /etc/systemd/systemd/ is for your own overrides and on any proper > distribution you can override sysvinitscripts by create a identical > named .service file there > > /etc/systemd/system/servicename.service.d/ is for drop-ins - RTFM again > ___ > Openvas-discuss mailing list > Openvas-discuss@wald.intevation.org > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
Am 29.08.2018 um 09:45 schrieb Davide: > Thank you; > In my / etc / systemd / system directory I never see > openvas-scanner.service but only greenbone-security-assistant.service > -> dev / null RTFM! /etc/systemd/systemd/ is for your own overrides and on any proper distribution you can override sysvinitscripts by create a identical named .service file there /etc/systemd/system/servicename.service.d/ is for drop-ins - RTFM again ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
Il giorno mar 28 ago 2018 alle ore 17:12 Reindl Harald ha scritto: > > > > Am 28.08.2018 um 16:33 schrieb Studente di Ingegneria: > > I’m having issues with my OpenVAS9 machine running on Ubuntu 18.04.1 > > LTS: the database is preventing the scanner from starting, as you can > > see below: > > > > > > ● openvas-scanner.service - LSB: remote network security auditor - scanner > > > >Loaded: loaded (/etc/init.d/openvas-scanner; generated) > >Active: failed (Result: timeout) since Tue 2018-08-28 14:08:15 UTC; > > 4min 50s ago > >Docs: man:systemd-sysv-generator(8) > >Process: 1121 ExecStart=/etc/init.d/openvas-scanner start > > (code=killed, signal=TERM) > >Tasks: 1 (limit: 4915) > >CGroup: /system.slice/openvas-scanner.service > >└─1345 /usr/sbin/openvassd > > get rid of that damned sysvinit scripts in 2018 and try to increase > TimeoutSec > > [root@openvas:~]$ cat /etc/systemd/system/openvas-scanner.service > [Unit] > Description=OpenVAS Scanner > After=network.service > Before=openvas-manager.service > > [Service] > Type=forking > ExecStart=/usr/sbin/openvassd > > Environment="LANG=en_GB.UTF-8" > Restart=always > RestartSec=1 > TimeoutSec=1200 > > [Install] > WantedBy=multi-user.target > ___ > Openvas-discuss mailing list > Openvas-discuss@wald.intevation.org > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss Thank you; In my / etc / systemd / system directory I never see openvas-scanner.service but only greenbone-security-assistant.service -> dev / null. However, I'm not sure that this is the problem because for a couple of months (when it worked) the service could be restored in a few seconds ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
Am 28.08.2018 um 17:30 schrieb Leonardo Lanzi: > On 08/28/2018 05:12 PM, Reindl Harald wrote: >> Am 28.08.2018 um 16:33 schrieb Studente di Ingegneria: >>> ● openvas-scanner.service - LSB: remote network security auditor - scanner >>> >>> Loaded: loaded (/etc/init.d/openvas-scanner; generated) >>> Active: failed (Result: timeout) since Tue 2018-08-28 14:08:15 UTC; >> get rid of that damned sysvinit scripts in 2018 > > really you think is a sysv problem? > > With Ubuntu?? > > In 2018 > > Come on!!! > > and try to increase >> TimeoutSec better be quiet when you don't understand the topic! * Loaded: loaded (/etc/init.d/openvas-scanner; generated) * Active: failed (Result: timeout) * come on, set "TimeoutSec" for systemd in your sysv script my "TimeoutSec=1200" in /etc/systemd/system/openvas-scanner.service which overrides the distri version (otherwise iot won't be in /etc/systemd) is the reason for the whole override ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
On 08/28/2018 05:12 PM, Reindl Harald wrote: > > > Am 28.08.2018 um 16:33 schrieb Studente di Ingegneria: >> I’m having issues with my OpenVAS9 machine running on Ubuntu 18.04.1 >> LTS: the database is preventing the scanner from starting, as you can >> see below: >> >> >> ● openvas-scanner.service - LSB: remote network security auditor - scanner >> >> Loaded: loaded (/etc/init.d/openvas-scanner; generated) >> Active: failed (Result: timeout) since Tue 2018-08-28 14:08:15 UTC; >> 4min 50s ago >> Docs: man:systemd-sysv-generator(8) >> Process: 1121 ExecStart=/etc/init.d/openvas-scanner start >> (code=killed, signal=TERM) >> Tasks: 1 (limit: 4915) >> CGroup: /system.slice/openvas-scanner.service >> └─1345 /usr/sbin/openvassd > > get rid of that damned sysvinit scripts in 2018 really you think is a sysv problem? With Ubuntu?? In 2018 Come on!!! and try to increase > TimeoutSec > > [root@openvas:~]$ cat /etc/systemd/system/openvas-scanner.service > [Unit] > Description=OpenVAS Scanner > After=network.service > Before=openvas-manager.service > > [Service] > Type=forking > ExecStart=/usr/sbin/openvassd > > Environment="LANG=en_GB.UTF-8" > Restart=always > RestartSec=1 > TimeoutSec=1200 > > [Install] > WantedBy=multi-user.target > ___ > Openvas-discuss mailing list > Openvas-discuss@wald.intevation.org > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss > ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
Am 28.08.2018 um 16:33 schrieb Studente di Ingegneria: > I’m having issues with my OpenVAS9 machine running on Ubuntu 18.04.1 > LTS: the database is preventing the scanner from starting, as you can > see below: > > > ● openvas-scanner.service - LSB: remote network security auditor - scanner > > Loaded: loaded (/etc/init.d/openvas-scanner; generated) > Active: failed (Result: timeout) since Tue 2018-08-28 14:08:15 UTC; > 4min 50s ago > Docs: man:systemd-sysv-generator(8) > Process: 1121 ExecStart=/etc/init.d/openvas-scanner start > (code=killed, signal=TERM) > Tasks: 1 (limit: 4915) > CGroup: /system.slice/openvas-scanner.service > └─1345 /usr/sbin/openvassd get rid of that damned sysvinit scripts in 2018 and try to increase TimeoutSec [root@openvas:~]$ cat /etc/systemd/system/openvas-scanner.service [Unit] Description=OpenVAS Scanner After=network.service Before=openvas-manager.service [Service] Type=forking ExecStart=/usr/sbin/openvassd Environment="LANG=en_GB.UTF-8" Restart=always RestartSec=1 TimeoutSec=1200 [Install] WantedBy=multi-user.target ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
[Openvas-discuss] Failed to start LSB: remote network security auditor - scanner.
Hi everybody, I’m having issues with my OpenVAS9 machine running on Ubuntu 18.04.1 LTS: the database is preventing the scanner from starting, as you can see below: ● openvas-scanner.service - LSB: remote network security auditor - scanner Loaded: loaded (/etc/init.d/openvas-scanner; generated) Active: failed (Result: timeout) since Tue 2018-08-28 14:08:15 UTC; 4min 50s ago Docs: man:systemd-sysv-generator(8) Process: 1121 ExecStart=/etc/init.d/openvas-scanner start (code=killed, signal=TERM) Tasks: 1 (limit: 4915) CGroup: /system.slice/openvas-scanner.service └─1345 /usr/sbin/openvassd Aug 28 14:03:15 security-server systemd[1]: Starting LSB: remote network security auditor - scanner... Aug 28 14:08:15 security-server systemd[1]: openvas-scanner.service: Start operation timed out. Terminating Aug 28 14:08:15 security-server systemd[1]: openvas-scanner.service: Failed with result 'timeout'. Aug 28 14:08:15 security-server systemd[1]: Failed to start LSB: remote network security auditor - scanner. I've already tried the solutions proposed by Christian Fischer in an identical situation but it didn't change anything. -This is probably the known issue where redis is blocking / doesn't -accept any connections anymore. Make sure that you have commented out all: -save xyz -statements in your redis.conf, delete the dump.rdb of redis and then -restart redis. -There are quite a lot posts here at the channel or at the mailinglists -about that where updating redis like explained above helped. -Regards" Before this failure the scanner worked well for a couple of months. I'm not able to bring the 'openvas-scanner' back up at all. Could someone point me in the right direction to resolving the issue? Thank you so much Davide ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss