Re: [Openvas-discuss] openvas hangs in 1%

2017-01-20 Thread Reindl Harald



Am 20.01.2017 um 13:20 schrieb googu hr:

yes ,thanks !


and the next time mention your hardware-ressources unasked instead 
pretend "I am sure machine RAM is enough" and consider some linux basics 
like "dmesg" and look in the system logs where you cleraly can see OOM 
killer events



2017-01-20 18:46 GMT+08:00 Eero Volotinen >:

Well, think again.
[e] Update of CPEs failed: xsltproc exited with code 137

this means that your machine runs out of memory duting
scapdata-sync. So you must be running something like 1G memory?

2017-01-19 16:41 GMT+02:00 googu hr >:

I am sure machine RAM is enough

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] openvas hangs in 1%

2017-01-20 Thread googu hr
yes ,thanks !

ok, the next issue:sql_prepare_internal: sqlite3_prepare failed: no
such table: main.meta

what mean this ?

 I checked tasks.db, the meta table is exist。

2017-01-20 18:46 GMT+08:00 Eero Volotinen :

> Well, think again.
>
>
> 1、Updating CPEs fail:
> sent 92 bytes  received 1407 bytes  999.33 bytes/sec
> total size is 744084026  speedup is 496386.94
> [i] Updating CPEs
> /usr/sbin/openvas-scapdata-sync: line 1063: 15932 Killed
>  xsltproc --stringparam refdate $CVE_REFDATE $SCAP_RES_DIR/cpe_youngerthan.xsl
> -
> -:1: parser error : Document is empty
> unable to parse -
> [e] Update of CPEs failed: xsltproc exited with code 137
>
>
> this means that your machine runs out of memory duting scapdata-sync. So
> you must be running something like 1G memory?
>
>
>
> --
> Eero
>
> 2017-01-19 16:41 GMT+02:00 googu hr :
>
>> I am sure machine RAM is enough  ,
>>
>>
>>
>>
>> Now, I in addition install openvas-8 from source packages , CentOS Linux
>> release 7.3.1611
>>
>> haved other issue:
>> # openvasmd --rebuild --progress
>> Rebuilding NVT cache... failed.
>> --
>>  openvasmd.log:
>>  md   main:WARNING:2017-01-19 14h21.13 utc:8083:
>> sql_prepare_internal: sqlite3_prepare failed: no such table: main.meta
>>  md   main:WARNING:2017-01-19 14h21.13 utc:8083: sql_x_internal:
>> sql_prepare failed
>> --
>> but, I examine the tasks.db ,
>> # sqlite3 /usr/local/var/lib/openvas/mgr/tasks.db ".tables"
>> agents port_ranges
>> agents_trash   port_ranges_trash
>> alert_condition_data   report_counts
>> alert_condition_data_trash report_format_param_options
>> alert_event_data   report_format_param_options_trash
>> alert_event_data_trash report_format_params
>> alert_method_data  report_format_params_trash
>> alert_method_data_trashreport_formats
>> alerts report_formats_trash
>> alerts_trash   report_host_details
>> config_preferences report_hosts
>> config_preferences_trash   reports
>> configsresult_new_severities
>> configs_trash  result_overrides
>> filtersresults
>> filters_trash  results_autofp
>> group_usersrole_users
>> group_users_trash  role_users_trash
>> groups roles
>> groups_trash   roles_trash
>> lsc_credentialsscanners
>> lsc_credentials_trash  scanners_trash
>> *meta*   schedules
>> notes  schedules_trash
>> notes_trashsettings
>> nvt_cves   slaves
>> nvt_preferencesslaves_trash
>> nvt_selectors  tags
>> nvts   tags_trash
>> overrides  targets
>> overrides_trashtargets_trash
>> permissionstask_alerts
>> permissions_trash  task_files
>> port_lists task_preferences
>> port_lists_trash   tasks
>> port_names users
>>
>>
>>
>> why ,point : no such table: main.meta ?
>>
>>
>>
>> 2017-01-02 16:47 GMT+08:00 Eero Volotinen :
>>
>>> Hi,
>>>
>>> This "usr/sbin/openvas-scapdata-sync: line 1063: 15932 Killed
>>>xsltproc --stringparam refdate $CVE_REFDATE
>>> $SCAP_RES_DIR/cpe_youngerthan.xsl -
>>> -:1: parser error : Document is empty"
>>>
>>> sounds like you need to add more ram to machine.
>>>
>>> Please also install supported version v8, not 7
>>>
>>> Eero
>>>
>>> --
>>> Eero
>>>
>>> 2016-12-30 11:32 GMT+02:00 googu hr :
>>>
 hello
   last day , i try setup openvas on the basis of
 http://www.openvas.org/install-packages-v7.html 。

 
 1、Updating CPEs fail:
 sent 92 bytes  received 1407 bytes  999.33 bytes/sec
 total size is 744084026  speedup is 496386.94
 [i] Updating CPEs
 /usr/sbin/openvas-scapdata-sync: line 1063: 15932 Killed
xsltproc --stringparam refdate $CVE_REFDATE
 $SCAP_RES_DIR/cpe_youngerthan.xsl -
 -:1: parser error : Document is empty
 unable to parse -
 [e] Update of CPEs failed: xsltproc exited with code 137

 -
 2、openvas-check-setup:
 Step 1: Checking OpenVAS Scanner ...
 OK: OpenVAS Scanner is present in version 5.0.7.
 OK: OpenVAS Scanner CA Certificate is present as
 /var/lib/openvas/CA/cacert.pem.
 OK: redis-server is present in version v=3.0.7.
 OK: scanner (kb_location setting) is 

Re: [Openvas-discuss] openvas hangs in 1%

2017-01-20 Thread Reindl Harald



Am 19.01.2017 um 15:41 schrieb googu hr:

I am sure machine RAM is enough


and how much is that what you *think* it's enough?

3 GB is at least required on a machine dedicated to run only openvas/gsa
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss