Hello,
In newer versions of openvas-scapdata-sync there should be a
SPLIT_PART_SIZE variable you can also try changing the value of to
reduce the memory usage.
Something around the size of the largest file the script can handle
before failing (in kB) should be a good start.
You need to have Python installed for this to work and depending on the
version of the build files used you may also have to manually copy the
script xml_split from /tools/extra in the OpenVAS-Manager sources to
/share/openvas/scap/.
Best regards
Timo Pollmeier
On 05/04/2015 08:21 AM, Eero Volotinen wrote:
you are possibly running out of memory on xsltsproc (essing). please add
memory at least to 4GB (minimum requirement)
Eero
2015-05-01 18:42 GMT+03:00 Johannes Schönborn
<[email protected] <mailto:[email protected]>>:
Hi guys,
just wanted to drop a few lines, in case someone wants to have a
look. Brand new vps, nothing else running.
*Step 1: Configure Atomicorp Repository*
(as user root, only once)
wget -q -O -http://www.atomicorp.com/installers/atomic |sh
*Step 2: Quick-Install OpenVAS*
(as user root, only once)
yum upgrade
yum install openvas
openvas-setup
Last step fails on CentOS 7x64, 2GB Ram, 1.8GHz Xeon E5-2650L
Cheers,
Johannes
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2010.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2011.xml
/usr/sbin/openvas-scapdata-sync: line 901: 20044 Killed
xsltproc --stringparam refdate $CVE_REFDATE
$SCAP_RES_DIR/cve_youngerthan.xsl $cvefile
-:494234: parser error : Couldn't find end of Start Tag vu line 494234
<vu
^
-:494234: parser error : Premature end of data in tag
vulnerable-software-list line 494109
<vu
^
-:494234: parser error : Premature end of data in tag entry line 492776
<vu
^
-:494234: parser error : Premature end of data in tag nvd line 2
<vu
^
unable to parse -
[e] Update of CVEs failed at file
'/var/lib/openvas/scap-data/nvdcve-2.0-2011.xml': xsltproc exited
with code 137
--
Timo Pollmeier | Greenbone Networks GmbH | http://www.greenbone.net/
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss