On Montag, 8. März 2010, Matthew Coene wrote:
> If I try to export to PDF it claims it is corrupted when trying to view,
> when I save it to disk it comes out as a 0-byte length file, which would
> certainly explain that issue...  Is there some library check or package I
> am missing when I built the code??  Or could it be it is trying to write
> out the full pdf locally on the server and it doesn't have proper
> permissions to write to a directory or something???

please see /var/log/openvas/openvasmd.log for a hint on what is going wrong.
If the log is silent, restart openvasmd with "-v" verbose flag and redo the 
action.
 
> Also, when I export to XML, I notice the format is 100% different or more
> specifically there is no formatting via GSA vs. OpenVAS client (using
> 3.0.0)...  I think I remember seeing something somewhere about libxml2 /
> libxslt somewhere but to be honest I have done so much Googling over the
> weekend I doubt I could remember where I saw references to those specific
> packages...

OpenVAS Manager introduces a new XML format.
The one produced by OpenVAS-Client is based on the old
Nessus one.

omp-cli has --pretty-print as a simple solution.
Another option is to employ xmlstarlet, for example:
$ xmlstarlet fo report.xml | less

Best

        Jan

-- 
Dr. Jan-Oliver Wagner |  ++49-541-335084-0  |  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
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss

Reply via email to