[Openvas-discuss] Problems with openvas-manager not returning reports data

Ryan Schulze security at dopefish.de
Tue Aug 28 05:23:07 CEST 2012

Answering my own mail in case anybody else runs into the same problem.

A bit of digging in the manager sourcecode pointed me in the right 
direction :-)
The umask of my root user was 0077 when I compiled and installed 
OpenVAS, that led to the "nobody" user not being able to access 
/share/openvas/openvasmd/global_report_formats/ (I saw in the logs that 
the script was being called, but didn't know OpenVAS drops to "nobody" 

Changing the umask back to 0022 for the compile & install fixed my 

On 8/24/2012 8:55 PM, Ryan Schulze wrote:
> Hi Everyone,
> I recently set up OpenVAS 5 on a Debian 6 and Ubuntu 12.04 server 
> (compiled from source on both). The Debian system works fine, but the 
> Ubuntu system is showing some awkward problems. I can't view the 
> results of a scan with GSA, the report summary page isn't getting the 
> results of the scan. It looks like this:
>>                       High   Medium   Low   Log   False Pos. Total
>> Full report:                                                 NaN
>> All filtered results:                                        NaN
>> Filtered results:     0      0        0     0     0          0
> If anyone else has run into this problem and knows a fix, I'd be happy 
> to hear. But I'm assuming it's some strange setting/package on my 
> Ubuntu server and I'd be perfectly happy if someone can point me to 
> where in the sourcecode the openvas-manager recieves and responds to 
> "get_report" requests so I can throw a gdb against it and see what is 
> happening different on my ubuntu.
> Some more information about what I checked and why I think I have to 
> look into openvas-manager:
> The scans run fine on both servers, and the results are stored 
> correctly in the var/lib/openvas/mgr/tasks.db (checked with a sqlite 
> client)
> I turned up the logging and started openvasmd with -v and didn't see 
> anything out of the ordinary in the logs.
> I assume the problem is with openvas-manager (and not GSA) since omp 
> also gives me an empty report (either that, or both omp and GSA are 
> affected).
> The output from omp:
>> devhost-ubuntu:/var/tmp# echo '<get_reports 
>> report_id="00c2664b-1376-446f-8604-7ff14554f015" 
>> format_id="a994b278-1f62-11e1-96ac-406186ea4fc5" levels="hlmg" />' | 
>> omp -iX -
>> <get_reports_response status_text="OK" status="200">
>> <report id="00c2664b-1376-446f-8604-7ff14554f015" 
>> format_id="a994b278-1f62-11e1-96ac-406186ea4fc5" extension="xml" 
>> type="scan" content_type="text/xml"></report>
>> </get_reports_response>
> "<get_reports ..." on the debian server gives me the correct report.
> SVN Versions used to compile:
> tags/openvas-libraries-release-5.0.3
> tags/openvas-administrator-release-1.2.1
> tags/openvas-scanner-release-3.3.1
> tags/openvas-manager-release-3.0.3
> tags/openvas-cli-release-1.1.5
> tags/gsa-release-3.0.3
> Open for any ideas that would help me debug this,
> Ryan Schulze
> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss at wald.intevation.org
> http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

More information about the Openvas-discuss mailing list