Sound Solutions, Inc.
8400 Highland Dr.
Wausau, WI 54401
Tel: 715-842-7665
Fax: 715-842-7620
Mine did the same thing on 10.10 , and I tried to get the libmicrohttpd
915 fix to work...but it kept barking about SSL and would only work in
http mode...so I figured I should try again.



When I did my intall this time...here's what I did from the start and it
seems to work great (note...all done as root):



apt-get -y install python-software-properties build-essential uuid-dev
cmake libgtk2.0-dev libglib2.0-dev libxml2-dev libssl-dev htmldoc
libgnutls-dev libpcap0.8-dev bison libgpgme11-dev libsmbclient-dev snmp
pnscan libxslt1-dev libmicrohttpd-dev doxygen doxygen-gui sqlite3
libsqlite3-dev



add-apt-repository "deb
http://download.opensuse.org/repositories/security:/OpenVAS:/STABLE:/v4/
xUbuntu_10.10/
<http://download.opensuse.org/repositories/security:/OpenVAS:/STABLE:/v4
/xUbuntu_10.10/>  ./"



apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys
BED1E87979EAFD54



use winscpe.exe to edit /etc/apt/sources.list and remove the deb-src
entry in /etc/apt/sources.list



apt-get update



Download the libmicrohttpd_0.9.15



tar -zxvf libmicrohttpd_0.9.15.orig.tar.gz

cd libmicrohttpd_0.9.15

./configure

make

make install



Step 2: Quick-Install OpenVAS



apt-get -y install greenbone-security-assistant gsd openvas-cli
openvas-manager openvas-scanner openvas-administrator sqlite3 xsltproc
texlive-latex-base texinfo tex-common texlive texlive-latex-extra
ntpdate htop



Step 3: Quick-Start OpenVAS



test -e /var/lib/openvas/CA/cacert.pem  || sudo openvas-mkcert -q



openvas-nvt-sync



test -e /var/lib/openvas/users/om || sudo openvas-mkcert-client -n om -i



/etc/init.d/openvas-manager stop



/etc/init.d/openvas-scanner stop



openvassd



touch /var/lib/openvas/mgr/tasks.db



openvasmd --migrate



openvasmd --rebuild



killall openvassd



edit /etc/defaults/greenbone-security-assistant and change the GSA
address from 127.0.0.1 to the IP address of your machine....so you can
hit GSA from any web browser on any machine



/etc/init.d/openvas-scanner start



/etc/init.d/openvas-manager start



/etc/init.d/openvas-administrator start



/etc/init.d/greenbone-security-assistant start



test -e /var/lib/openvas/users/admin || sudo openvasad -c add_user -n
admin -r Admin



enter your password







I think the key to this is having the libmicrohttpd0915 installed
first...then it seems to be happy.













From: [email protected]
[mailto:[email protected]] On Behalf Of Miguel
Lucero
Sent: Friday, March 23, 2012 3:25 PM
To: [email protected]
Subject: [Openvas-discuss] gsad - libmicrohttpd problems



I just loaded the latest OpenVAS on Ubuntu 11.10 and can not get gsad to
work.

Whenever I try to login using the web gui the gsad process starts using
99% cpu and login never succeeds. There are times when I cant even get
the login page and the process begins to climb without showing me a
login prompt. I tried searching for a solution and everything said it
was a bug in libmicrohttpd but that was referring to an old version. I
tried compiling an old version of libmicrohttpd (0.9.15) and it appeared
to resolve it temporarily but the problem came back after I restarted
the services. I attached to the process with strace but was not able to
retrieve anything meaningful.

I'm running the following:

openvas 3.2.5-1
openvas-manager 2.0.4-1
openvas-cli 1.1.4-1
openvas-administrator 1.1.2-1
libmicrohttpd 0.9.19.1
Ubuntu 11.10

This only happens when running the gsad with SSL. If I run the service
manually with --http-only, the application responds correctly and the
process does not run away.

Any help would be great... I am very interested in resolving this issue
for other users. Thank you!

Miguel


--------------------------------------------------------------------------
 
Sound Solutions, Inc. - Since 1995
We Appreciate Your Business and Referrals

This message (and any associated files) is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is confidential, subject to copyright or constitutes a trade secret. If you are 
not the intended recipient you are hereby notified that any dissemination, 
copying or distribution of this message, or files associated with this message, 
is strictly prohibited. If you have received this message in error, please 
notify us immediately by replying to the message and deleting it from your 
computer. Messages sent to and from us may be monitored.

Internet communications cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. Therefore, we do not accept responsibility for 
any errors or omissions that are present in this message, or any attachment, 
that have arisen as a result of e-mail transmission. If verification is 
required, please request a hard-copy version. Any views or opinions presented 
are solely those of the author and do not necessarily represent those of the 
company.

<<inline: logo22005_3.gif>>

_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to