Using packages from Atomic F17:

   [root@pc96 ~]# rpm -qa | grep -e openvas -e greenbone
   openvas-cli-1.1.5-3.fc17.art.x86_64
   openvas-1.0-7.fc17.art.noarch
   openvas-manager-3.0.5-7.fc17.art.x86_64
   openvas-libraries-5.0.4-5.fc17.art.x86_64
   openvas-scanner-3.3.1-4.fc17.art.x86_64
   openvas-administrator-1.2.1-2.fc17.art.x86_64
   greenbone-security-assistant-3.0.3-3.fc17.art.x86_64

First I thought to have hit this:

   
http://lists.wald.intevation.org/pipermail/openvas-discuss/2011-December/003699.html
 

as it worked fine before I pushed the sleep button last night. Proceeded with 
testing with both upgrading to latest limbmicrothttpd (0.9.26) and downgrading 
to oldest (0.9.16). No luck though.

Then found:

   
http://www.backtrack-linux.org/wiki/index.php/OpenVas#Starting_OpenVAS_with_a_web_browser_as_the_scanning_interface
 

and noticed '--httpd-only'. Hmm, that did it.


Since I don't need https changing the service files did the trick for me but 
I'd like to know what's causing it to hang, how to troubleshoot and if there is 
a solution to it. 

Any thoughts?

Much thanks.

-smkr

PS.
Changes to 'gsad' service files, perhaps the RPM can be updated?

- service:

   [root@pc96 ~]# diff -Naur /etc/rc.d/init.d/gsad.old /etc/rc.d/init.d/gsad
   --- /etc/rc.d/init.d/gsad.old   2013-04-05 12:21:27.989886457 -0700
   +++ /etc/rc.d/init.d/gsad       2013-04-05 12:21:32.451910181 -0700
   @@ -38,7 +38,8 @@
    [ "$GSA_PORT" ] && PARAMS="$PARAMS --port=$GSA_PORT"
    [ "$GSA_SSL_PRIVATE_KEY" ] && PARAMS="$PARAMS 
--ssl-private-key=$GSA_SSL_PRIVATE_KEY"
    [ "$GSA_SSL_CERTIFICATE" ] && PARAMS="$PARAMS 
--ssl-certificate=$GSA_SSL_CERTIFICATE"
   -[ "$GSA_REDIRECT" ] && [ "$GSA_REDIRECT" == 1 ] && PARAMS="$PARAMS 
--redirect"
   +[ "$GSA_HTTP_ONLY" == 1 ] && PARAMS="$PARAMS --http-only"
   +[ "$GSA_HTTP_ONLY" == 0 ] && [ "$GSA_REDIRECT" ] && [ "$GSA_REDIRECT" == 1 
] && PARAMS="$PARAMS --redirect"
    [ "$GSA_REDIRECT_PORT" ] && PARAMS="$PARAMS --rport=$GSA_REDIRECT_PORT"
    [ "$ADMINISTRATOR_ADDRESS" ] && PARAMS="$PARAMS 
--alisten=$ADMINISTRATOR_ADDRESS"
    [ "$ADMINISTRATOR_PORT" ] && PARAMS="$PARAMS --aport=$ADMINISTRATOR_PORT"

- config:

   [root@pc96 ~]# diff -Naur /etc/sysconfig/gsad.old /etc/sysconfig/gsad
   --- /etc/sysconfig/gsad.old     2013-04-05 12:22:00.565059763 -0700
   +++ /etc/sysconfig/gsad 2013-04-05 12:22:04.416080267 -0700
   @@ -27,7 +27,7 @@
    # If $GSA_REDIRECT_PORT is not set it will redirect port 80.
    #
    
   -#GSA_REDIRECT=1
   +GSA_REDIRECT=1
    
    #
    # Redirect HTTP from this port to $GSA_PORT
   @@ -60,3 +60,8 @@
    
    MANAGER_PORT=9390
    
   +#
   +# Serve HTTP only, without SSL (--http-only)
   +#
   +
   +GSA_HTTP_ONLY=1
    
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to