Re: [Openvas-discuss] Openvas Internal Error

2017-08-15 Thread Christian Fischer
Hi,

On 15.08.2017 23:13, Edgar Sinchi wrote:
> Greetings,
> 
> Install openvas on a computer with centos 7 operating system but at the
> time of the scan presents the following message (Internal Error)
> 
> I check the logs and find these errors
> 
> event task:MESSAGE:2017-08-15 18h00.21 UTC:3557: Status of task Immediate
> scan of IP xx.xx.xx.xx (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has changed
> to Requested
> event task:MESSAGE:2017-08-15 18h00.21 UTC:3557: Task Immediate scan of IP
> xx.xx.xx.xx (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has been requested to
> start by admin
> md manage:WARNING:2017-08-15 18h00.32 UTC:3559: sql_prepare_internal:
> sqlite3_prepare failed: near "(": syntax error
> md manage:WARNING:2017-08-15 18h00.32 UTC:3559: init_iterator: sql_prepare
> failed
> md manage:WARNING:2017-08-15 18h00.32 UTC:3559:
> manage_cleanup_process_error: Error exit, setting running task to Internal
> Error
> md manage:WARNING:2017-08-15 18h00.32 UTC:3559: sql_prepare_internal:
> sqlite3_prepare failed: near "(": syntax error
> md manage:WARNING:2017-08-15 18h00.32 UTC:3559: init_iterator: sql_prepare
> failed
> event target:MESSAGE:2017-08-15 18h00.50 UTC:3643: Target Target for
> immediate scan of IP xx.xx.xx.xx (ee9cc689-c63c-4e0a-b3a6-80f939bbb08b) has
> been modified by admin
> event report:MESSAGE:2017-08-15 18h01.01 UTC:3695: Report
> 5705b8b8-ad1e-4fe5-87da-5fe137894760 has been deleted by admin
> event report:MESSAGE:2017-08-15 18h01.03 UTC:3703: Report
> e98ce644-dfca-4463-a7b1-c8f428f20fe8 has been deleted by admin
> event task:MESSAGE:2017-08-15 18h01.10 UTC:3712: Status of task Immediate
> scan of IP xx.xx.xx.xx (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has changed
> to Requested
> event task:MESSAGE:2017-08-15 18h01.10 UTC:3712: Task Immediate scan of IP
> 172.16.22.61 (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has been requested to
> start by admin
> md manage:WARNING:2017-08-15 18h01.21 UTC:3714: sql_prepare_internal:
> sqlite3_prepare failed: near "(": syntax error
> md manage:WARNING:2017-08-15 18h01.21 UTC:3714: init_iterator: sql_prepare
> failed
> 
> md   main:MESSAGE:2017-08-14 21h10.37 utc:16015:OpenVAS Manager version
> 7.0.2 (DB revision 184)
> md manage:   INFO:2017-08-14 21h10.37 utc:16015:Checking alerts.
> md manage:WARNING:2017-08-14 21h10.37 utc:16015: sql_prepare_internal:
> sqlite3_prepare failed: no such table: main.meta
> md manage:WARNING:2017-08-14 21h10.37 utc:16015: sql_x_internal:
> sql_prepare failed
> md manage:WARNING:2017-08-14 21h10.37 utc:16015: database must be
> initialised from scanner (with --update or --rebuild)
> md manage:MESSAGE:2017-08-14 21h10.37 utc:16015: *No SCAP database found*
> 
> *Does someone know how to solve this problem?*

please see the recent posts at the mailinglists, e.g.:

https://lists.wald.intevation.org/pipermail/openvas-discuss/2017-August/011362.html

> Regards,
> 
> Edgar

Regards,

-- 

Christian Fischer | PGP Key: 0x54F3CE5B76C597AD
Greenbone Networks GmbH | http://greenbone.net
Neumarkt 12, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

[Openvas-discuss] Openvas Internal Error

2017-08-15 Thread Edgar Sinchi
Greetings,

Install openvas on a computer with centos 7 operating system but at the
time of the scan presents the following message (Internal Error)

I check the logs and find these errors

event task:MESSAGE:2017-08-15 18h00.21 UTC:3557: Status of task Immediate
scan of IP xx.xx.xx.xx (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has changed
to Requested
event task:MESSAGE:2017-08-15 18h00.21 UTC:3557: Task Immediate scan of IP
xx.xx.xx.xx (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has been requested to
start by admin
md manage:WARNING:2017-08-15 18h00.32 UTC:3559: sql_prepare_internal:
sqlite3_prepare failed: near "(": syntax error
md manage:WARNING:2017-08-15 18h00.32 UTC:3559: init_iterator: sql_prepare
failed
md manage:WARNING:2017-08-15 18h00.32 UTC:3559:
manage_cleanup_process_error: Error exit, setting running task to Internal
Error
md manage:WARNING:2017-08-15 18h00.32 UTC:3559: sql_prepare_internal:
sqlite3_prepare failed: near "(": syntax error
md manage:WARNING:2017-08-15 18h00.32 UTC:3559: init_iterator: sql_prepare
failed
event target:MESSAGE:2017-08-15 18h00.50 UTC:3643: Target Target for
immediate scan of IP xx.xx.xx.xx (ee9cc689-c63c-4e0a-b3a6-80f939bbb08b) has
been modified by admin
event report:MESSAGE:2017-08-15 18h01.01 UTC:3695: Report
5705b8b8-ad1e-4fe5-87da-5fe137894760 has been deleted by admin
event report:MESSAGE:2017-08-15 18h01.03 UTC:3703: Report
e98ce644-dfca-4463-a7b1-c8f428f20fe8 has been deleted by admin
event task:MESSAGE:2017-08-15 18h01.10 UTC:3712: Status of task Immediate
scan of IP xx.xx.xx.xx (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has changed
to Requested
event task:MESSAGE:2017-08-15 18h01.10 UTC:3712: Task Immediate scan of IP
172.16.22.61 (6dcf9d34-23be-4613-b34c-f0b21fcb3f91) has been requested to
start by admin
md manage:WARNING:2017-08-15 18h01.21 UTC:3714: sql_prepare_internal:
sqlite3_prepare failed: near "(": syntax error
md manage:WARNING:2017-08-15 18h01.21 UTC:3714: init_iterator: sql_prepare
failed

md   main:MESSAGE:2017-08-14 21h10.37 utc:16015:OpenVAS Manager version
7.0.2 (DB revision 184)
md manage:   INFO:2017-08-14 21h10.37 utc:16015:Checking alerts.
md manage:WARNING:2017-08-14 21h10.37 utc:16015: sql_prepare_internal:
sqlite3_prepare failed: no such table: main.meta
md manage:WARNING:2017-08-14 21h10.37 utc:16015: sql_x_internal:
sql_prepare failed
md manage:WARNING:2017-08-14 21h10.37 utc:16015: database must be
initialised from scanner (with --update or --rebuild)
md manage:MESSAGE:2017-08-14 21h10.37 utc:16015: *No SCAP database found*

*Does someone know how to solve this problem?*

Regards,

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

[Openvas-discuss] OpenVAS internal error, scans not completing

2013-12-15 Thread Remy van Elst

Hello,

My OpenVAS setup fails to complete scans. The setup consists out of 1 
master node and 2 scanner nodes. The two scanner nodes are running on 
external VPS servers. Once a scan is started, it works for a while, I 
can see related processes on the scanner node and the it stops and in 
the web interface shows as internal error.


Sometimes it just scans two targets, sometimes more, most of the time it 
fails before the first target is scanned.


Included are the logs for a sample scan which fails. The scan is of my 
own domain, https://raymii.org. The IP adresses configured in Greenbone 
are: 64.188.45.131, 69.197.183.203, 84.200.77.168, 151.236.14.35, 
192.71.245.64, 198.211.118.121, 205.185.117.74, 205.185.124.11.



Version information from the master node

Host OS: Ubuntu 12.04.4 64 bit

openvasad --version
OpenVAS Administrator 1.2.1

openvasmd --version
OpenVAS Manager 3.0.6
Manager DB revision 56

openvassd --version
OpenVAS Scanner 3.3.1

Version information from the scanning node:

Host OS: Ubuntu 12.04.4 64 bit

openvasad --version
OpenVAS Administrator 1.2.1

openvasmd --version
OpenVAS Manager 3.0.6
Manager DB revision 56

openvassd --version
OpenVAS Scanner 3.3.1

This is from the scanner node's log:

tail -f /var/log/openvas/openvassd.dump -f 
/var/log/openvas/openvassd.messages -f /var/log/openvas/openvasad.log

== /var/log/openvas/openvassd.dump ==

== /var/log/openvas/openvassd.messages ==
[Sun Dec 15 10:03:18 2013][5628] openvassd 3.3.1 started
[Sun Dec 15 19:27:21 2013][28713] user om starts a new scan. 
Target(s) : 64.188.45.131, 69.197.183.203, 84.200.77.168, 151.236.14.35, 
192.71.245.64, 198.211.118.121, 205.185.117.74, 205.185.124.11, with 
max_hosts = 1 and max_checks = 1
[Sun Dec 15 19:27:21 2013][28713] user om : testing 64.188.45.131 
(:::64.188.45.131) [28740]
[Sun Dec 15 19:27:22 2013][28740] user om : new KB will be saved as 
/var/lib/openvas/users/om/kbs/64.188.45.131


== /var/log/openvas/openvasad.log ==


This is from the openvas master (where greenbone runs) logging:

/var/log/openvasmd.log

lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250: = 
get_tasks_response status=200 
status_text=OKtask_count1/task_countsortfieldROWIDorderascending/order/field/sortapply_overrides0/apply_overridestask 
id=aa23c04b-3fa5-42ac-ba49-4fc067ec4084name48caee8c-7c60-42e6-8058-02b4c086019e/namecommentSlave 
task created by 
Master/commentownernameadmin/name/ownerobservers/observersconfig 
id=22049be4-03bf-4756-bab1-573aecf09647name48caee8c-7c60-42e6-8058-02b4c086019e/nametrash0/trash/configescalator 
id=name/nametrash0/trash/escalatortarget 
id=88f40701-23f2-4c10-a84b-2a464f01259bname48caee8c-7c60-42e6-8058-02b4c086019e/nametrash0/trash/targetslave 
id=name/nametrash0/trash/slavestatusRunning/statusprogresshost_progresshost64.188.45.131/host98/host_progresshost_progresshost69.197.183.203/host92/host_progress23/progressreport_count1finished0/finished/report_counttrend/trendschedule 
id=name/namenext_timeover/next_timetrash0/trash/schedulepreferencespreferencenameMaximum 
concurrently executed NVTs per 
host/namescanner_namemax_checks/scanner_namevalue1/value/preferencepreferencenameMaximum 
concurrently scanned 
hosts/namescanner_namemax_hosts/scanner_namevalue1/value/preference/preferences/task/get_tasks_response


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:asking for 1048576

lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:Error: Error on 
line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:End error: Error 
on line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:asking for 1048576

lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:Error: Error on 
line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:End error: Error 
on line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:asking for 1048576

lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:Error: Error on 
line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:End error: Error 
on line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:asking for 1048576

lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:Error: Error on 
line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:End error: Error 
on line 1 char 1: Document was empty or contained only whitespace


lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:asking for 1048576

lib   xml:MESSAGE:2013-12-15 22h59.08 UTC:9250:Error: Error on 
line 1 char 1: Document was empty or