Re: [Openvas-discuss] Reinstall Issues
Yep…says everything is up-to-date. :/ Only thing I can think of trying next is to install it from source and use Postgres over sqlite3 and see if that helps my situation out. From: eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] On Behalf Of Eero Volotinen Sent: Friday, July 29, 2016 4:32 AM To: Turner,Jonas Cc: Ralf Hildebrandt; openvas-discuss@wald.intevation.org Subject: Re: [Openvas-discuss] Reinstall Issues Did you upgraded os libraries to latest. Yum -y update && yum -y upgrade That might be related to openssl. Eero 28.7.2016 5.13 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com<mailto:jotur...@hcr-manorcare.com>> kirjoitti: Okay I did that and the install seemed to at least have me do more things this time around, but how long should the "Rebuilding NVT cache..." take? Here's the steps I took to remove and then reinstall. Let me know if I missed anything. # yum remove openvas openvas-cli openvas-cli-debuginfo openvas-gsa openvas-libraries \ openvas-libraries-debuginfo openvas-libraries-devel openvas-libraries-doc \ openvas-manager openvas-manager-debuginfo openvas-scanner openvas-scanner-debuginfo \ openvas-smb-debuginfo openvas-smb # find / -name "openvas" # rm -rf /etc/openvas/ # rm -rf /usr/include/openvas/ # rm -rf /usr/share/openvas/ # rm -rf /var/lib/openvas/ # rm -rf /var/log/openvas/ # rm -rf /var/cache/openvas/ # yum install openvas -y I then ran the "openvas-check-setup" and it had me do the following. # openvas-nvt-sync # openvas-mkcert-client -n -i It then gave me the error: ERROR No OpenVAS Manager database found. (Tried: /var/lib/openvas/mgr/tasks.db) Said my OpenVAS Scanner is NOT running, so I did the following: # openvassd I then waited for the NVT's to load before doing the following: # openvasmd --rebuild --progress And it's just sitting there so curious how long that takes? -Original Message- From: Openvas-discuss [mailto:openvas-discuss-boun...@wald.intevation.org<mailto:openvas-discuss-boun...@wald.intevation.org>] On Behalf Of Ralf Hildebrandt Sent: Thursday, July 28, 2016 4:12 AM To: openvas-discuss@wald.intevation.org<mailto:openvas-discuss@wald.intevation.org> Subject: Re: [Openvas-discuss] Reinstall Issues * Turner,Jonas <jotur...@hcr-manorcare.com<mailto:jotur...@hcr-manorcare.com>>: > The openvasmd --rebuild just doesn’t seem to want to work. I think if > I can rebuild that…I think it would fix itself. :/ This happened to me when I had old database files lying around. I had to deinstall, remove all files, install again. -- Ralf Hildebrandt Charite Universitätsmedizin Berlin ralf.hildebra...@charite.de<mailto:ralf.hildebra...@charite.de>Campus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155<tel:%2B49-30-450.570.155> ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org<mailto: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<mailto: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] Reinstall Issues
Did you upgraded os libraries to latest. Yum -y update && yum -y upgrade That might be related to openssl. Eero 28.7.2016 5.13 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com> kirjoitti: > Okay I did that and the install seemed to at least have me do more things > this time around, but how long should the "Rebuilding NVT cache..." take? > Here's the steps I took to remove and then reinstall. Let me know if I > missed anything. > > # yum remove openvas openvas-cli openvas-cli-debuginfo openvas-gsa > openvas-libraries \ > openvas-libraries-debuginfo openvas-libraries-devel openvas-libraries-doc \ > openvas-manager openvas-manager-debuginfo openvas-scanner > openvas-scanner-debuginfo \ > openvas-smb-debuginfo openvas-smb > > # find / -name "openvas" > # rm -rf /etc/openvas/ > # rm -rf /usr/include/openvas/ > # rm -rf /usr/share/openvas/ > # rm -rf /var/lib/openvas/ > # rm -rf /var/log/openvas/ > # rm -rf /var/cache/openvas/ > > # yum install openvas -y > > I then ran the "openvas-check-setup" and it had me do the following. > # openvas-nvt-sync > # openvas-mkcert-client -n -i > > It then gave me the error: ERROR No OpenVAS Manager database found. > (Tried: /var/lib/openvas/mgr/tasks.db) > Said my OpenVAS Scanner is NOT running, so I did the following: > # openvassd > I then waited for the NVT's to load before doing the following: > # openvasmd --rebuild --progress > > And it's just sitting there so curious how long that takes? > > -Original Message- > From: Openvas-discuss [mailto:openvas-discuss-boun...@wald.intevation.org] > On Behalf Of Ralf Hildebrandt > Sent: Thursday, July 28, 2016 4:12 AM > To: openvas-discuss@wald.intevation.org > Subject: Re: [Openvas-discuss] Reinstall Issues > > * Turner,Jonas <jotur...@hcr-manorcare.com>: > > > The openvasmd --rebuild just doesn’t seem to want to work. I think if > > I can rebuild that…I think it would fix itself. :/ > > This happened to me when I had old database files lying around. > I had to deinstall, remove all files, install again. > -- > Ralf Hildebrandt Charite Universitätsmedizin Berlin > ralf.hildebra...@charite.deCampus Benjamin Franklin > http://www.charite.de Hindenburgdamm 30, 12203 Berlin > Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 > ___ > 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 ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
The openvasmd --rebuild just doesn’t seem to want to work. I think if I can rebuild that…I think it would fix itself. :/ From: eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] On Behalf Of Eero Volotinen Sent: Tuesday, July 26, 2016 9:11 AM To: Turner,Jonas Cc: openvas-discuss@wald.intevation.org Subject: RE: [Openvas-discuss] Reinstall Issues Check out the logs.. 26.7.2016 3.13 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com<mailto:jotur...@hcr-manorcare.com>> kirjoitti: Well, I tried to do the --rebuild but it just sits there and doesn’t do anything. This was after the spinning started. I was trying to try and create the db again in case something got messed up. Any reason this would happen or how I can correct it? Perhaps this would solve my issue. From: eero.t.voloti...@gmail.com<mailto:eero.t.voloti...@gmail.com> [mailto:eero.t.voloti...@gmail.com<mailto:eero.t.voloti...@gmail.com>] On Behalf Of Eero Volotinen Sent: Monday, July 25, 2016 3:40 PM To: Turner,Jonas; openvas-discuss@wald.intevation.org<mailto:openvas-discuss@wald.intevation.org> Subject: RE: [Openvas-discuss] Reinstall Issues Is the redis server configured correctly and selinux disabled? What is output of check-openvas-setup script? Eero 25.7.2016 6.54 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com<mailto:jotur...@hcr-manorcare.com>> kirjoitti: I have worked with you before…but anywhere I can check to see why when I click on the start task for a scan…all it does is spin? I reinstalled thinking that might help but not sure why it’s not kicking the scans off correctly. I overloaded the server when I first set it up and ever since…it hasn’t been able to successfully do a scan again. :/ CONFIDENTIALITY NOTICE The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this information, do not review, retransmit, disclose, disseminate, use, or take any action in reliance upon, this information. If you received this transmission in error, please contact the sender, destroy all printed copies, and delete the material from all computers. ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
Check out the logs.. 26.7.2016 3.13 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com> kirjoitti: > Well, I tried to do the --rebuild but it just sits there and doesn’t do > anything. This was after the spinning started. I was trying to try and > create the db again in case something got messed up. > > > > Any reason this would happen or how I can correct it? Perhaps this would > solve my issue. > > > > *From:* eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] *On > Behalf Of *Eero Volotinen > *Sent:* Monday, July 25, 2016 3:40 PM > *To:* Turner,Jonas; openvas-discuss@wald.intevation.org > *Subject:* RE: [Openvas-discuss] Reinstall Issues > > > > Is the redis server configured correctly and selinux disabled? What is > output of check-openvas-setup script? > > Eero > > > > 25.7.2016 6.54 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com> kirjoitti: > > I have worked with you before…but anywhere I can check to see why when I > click on the start task for a scan…all it does is spin? > > I reinstalled thinking that might help but not sure why it’s not kicking > the scans off correctly. I overloaded the server when I first set it up > and ever since…it hasn’t been able to successfully do a scan again. :/ > > CONFIDENTIALITY NOTICE The information contained in this transmission is > intended only for the person or entity to which it is addressed and may > contain confidential and/or privileged material. If you are not the > intended recipient of this information, do not review, retransmit, > disclose, disseminate, use, or take any action in reliance upon, this > information. If you received this transmission in error, please contact the > sender, destroy all printed copies, and delete the material from all > computers. > ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
Well, I tried to do the --rebuild but it just sits there and doesn’t do anything. This was after the spinning started. I was trying to try and create the db again in case something got messed up. Any reason this would happen or how I can correct it? Perhaps this would solve my issue. From: eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] On Behalf Of Eero Volotinen Sent: Monday, July 25, 2016 3:40 PM To: Turner,Jonas; openvas-discuss@wald.intevation.org Subject: RE: [Openvas-discuss] Reinstall Issues Is the redis server configured correctly and selinux disabled? What is output of check-openvas-setup script? Eero 25.7.2016 6.54 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com<mailto:jotur...@hcr-manorcare.com>> kirjoitti: I have worked with you before…but anywhere I can check to see why when I click on the start task for a scan…all it does is spin? I reinstalled thinking that might help but not sure why it’s not kicking the scans off correctly. I overloaded the server when I first set it up and ever since…it hasn’t been able to successfully do a scan again. :/ ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
Is the redis server configured correctly and selinux disabled? What is output of check-openvas-setup script? Eero 25.7.2016 6.54 ip. "Turner,Jonas"kirjoitti: > I have worked with you before…but anywhere I can check to see why when I > click on the start task for a scan…all it does is spin? > > I reinstalled thinking that might help but not sure why it’s not kicking > the scans off correctly. I overloaded the server when I first set it up > and ever since…it hasn’t been able to successfully do a scan again. :/ > > CONFIDENTIALITY NOTICE The information contained in this transmission is > intended only for the person or entity to which it is addressed and may > contain confidential and/or privileged material. If you are not the > intended recipient of this information, do not review, retransmit, > disclose, disseminate, use, or take any action in reliance upon, this > information. If you received this transmission in error, please contact the > sender, destroy all printed copies, and delete the material from all > computers. > ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
I was just looking at the port to see if it was open. I overlooked the 127.0.0.1 portion, which is why a 2nd pair of eyes can help. I was able to fix it. Thanks From: eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] On Behalf Of Eero Volotinen Sent: Monday, July 25, 2016 11:47 AM To: Turner,Jonas Cc: openvas-discuss@wald.intevation.org; Reindl Harald Subject: RE: [Openvas-discuss] Reinstall Issues Well. It listens only localhost, not the public network. Maybe that is your issue? 25.7.2016 6.38 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com<mailto:jotur...@hcr-manorcare.com>> kirjoitti: Looks good to me. Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 127.0.0.1:6379<http://127.0.0.1:6379> 0.0.0.0:* LISTEN 1302/redis-server 1 tcp0 0 127.0.0.1:9392<http://127.0.0.1:9392> 0.0.0.0:* LISTEN 2534/gsad tcp0 0 127.0.0.1:80<http://127.0.0.1:80>0.0.0.0:* LISTEN 2535/gsad tcp0 0 0.0.0.0:22<http://0.0.0.0:22> 0.0.0.0:* LISTEN 1305/sshd tcp0 0 127.0.0.1:25<http://127.0.0.1:25>0.0.0.0:* LISTEN 2465/master tcp6 0 0 :::22 :::*LISTEN 1305/sshd tcp6 0 0 ::1:25 :::*LISTEN 2465/master From: eero.t.voloti...@gmail.com<mailto:eero.t.voloti...@gmail.com> [mailto:eero.t.voloti...@gmail.com<mailto:eero.t.voloti...@gmail.com>] On Behalf Of Eero Volotinen Sent: Monday, July 25, 2016 11:15 AM To: Turner,Jonas Cc: openvas-discuss@wald.intevation.org<mailto:openvas-discuss@wald.intevation.org>; Reindl Harald Subject: Re: [Openvas-discuss] Reinstall Issues Check out the logs.. what is output of netstat -tupln (on root account..) Eero 25.7.2016 6.13 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com<mailto:jotur...@hcr-manorcare.com>> kirjoitti: Well I can't just do a yum remove openvas to uninstall it correctly. I wasn't for sure if the other packages wouldn't uninstall properly without the other. I removed all the openvas packages and reinstalled them. #yum install openvas It installed all the dependencies and I start the three services: openvas-manager, openvas-scanner, gsad They all start up fine but when I go to the URL: https://servername:9392/ I get the following error: This site can't be reached servername refused to connect. Try: Reloading the page Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED Firewall is off on the server as a test. Am I missing something? ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org<mailto:Openvas-discuss@wald.intevation.org> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss CONFIDENTIALITY NOTICE The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient of this information, do not review, retransmit, disclose, disseminate, use, or take any action in reliance upon, this information. If you received this transmission in error, please contact the sender, destroy all printed copies, and delete the material from all computers. ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
*** Turner,Jonas wrote: > tcp0 0 127.0.0.1:9392 0.0.0.0:* LISTEN > 2534/gsad https://localhost:9392 If you want to have the gsa listen on the external interface, see /etc/sysconfig/gsad or "gsad --help". Micha -- Michael Meyer OpenPGP Key: 0xAF069E9152A6EFA6 http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
Am 25.07.2016 um 17:38 schrieb Turner,Jonas: Looks good to me. 127.0.0.1:9392 looks good to you? why? how do you imagine to connect to a service only listening on the loopback device over the network? P.S.: get rid of the dumb "reply-all" - answers to the list alone are enough Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 1302/redis-server 1 tcp0 0 127.0.0.1:9392 0.0.0.0:* LISTEN 2534/gsad tcp0 0 127.0.0.1:800.0.0.0:* LISTEN 2535/gsad tcp0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1305/sshd tcp0 0 127.0.0.1:250.0.0.0:* LISTEN 2465/master tcp6 0 0 :::22 :::* LISTEN 1305/sshd tcp6 0 0 ::1:25 :::* LISTEN 2465/master *From:*eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] *On Behalf Of *Eero Volotinen *Sent:* Monday, July 25, 2016 11:15 AM *To:* Turner,Jonas *Cc:* openvas-discuss@wald.intevation.org; Reindl Harald *Subject:* Re: [Openvas-discuss] Reinstall Issues Check out the logs.. what is output of netstat -tupln (on root account..) Eero 25.7.2016 6.13 ip. "Turner,Jonas" <jotur...@hcr-manorcare.com <mailto:jotur...@hcr-manorcare.com>> kirjoitti: Well I can't just do a yum remove openvas to uninstall it correctly. I wasn't for sure if the other packages wouldn't uninstall properly without the other. I removed all the openvas packages and reinstalled them. #yum install openvas It installed all the dependencies and I start the three services: openvas-manager, openvas-scanner, gsad They all start up fine but when I go to the URL: https://servername:9392/ signature.asc Description: OpenPGP digital signature ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
*** Turner,Jonas wrote: > can't get to my admin homepage. Means what? Micha -- Michael Meyer OpenPGP Key: 0xAF069E9152A6EFA6 http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
Check out the logs.. what is output of netstat -tupln (on root account..) Eero 25.7.2016 6.13 ip. "Turner,Jonas"kirjoitti: > Well I can't just do a yum remove openvas to uninstall it correctly. I > wasn't for sure if the other packages wouldn't uninstall properly without > the other. > > I removed all the openvas packages and reinstalled them. > > #yum install openvas > It installed all the dependencies and I start the three services: > openvas-manager, openvas-scanner, gsad > > They all start up fine but when I go to the URL: > https://servername:9392/ > > I get the following error: > This site can't be reached > > servername refused to connect. > Try: > Reloading the page > Checking the connection > Checking the proxy and the firewall > ERR_CONNECTION_REFUSED > > Firewall is off on the server as a test. > > Am I missing something? > > > ___ > 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] Reinstall Issues
Well I can't just do a yum remove openvas to uninstall it correctly. I wasn't for sure if the other packages wouldn't uninstall properly without the other. I removed all the openvas packages and reinstalled them. #yum install openvas It installed all the dependencies and I start the three services: openvas-manager, openvas-scanner, gsad They all start up fine but when I go to the URL: https://servername:9392/ I get the following error: This site can't be reached servername refused to connect. Try: Reloading the page Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED Firewall is off on the server as a test. Am I missing something? ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Re: [Openvas-discuss] Reinstall Issues
Am 25.07.2016 um 16:47 schrieb Turner,Jonas: So I tried to uninstall/reinstall OpenVAS using the atomic repo. It appears everything is there and all services are running but I can’t get to my admin homepage. Is there a specific order in which all the packages should be removed? # yum remove openvas # yum remove gsad no, that's not how rpm works signature.asc Description: OpenPGP digital signature ___ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss