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] set up remote scanner.

2017-08-15 Thread blackcode
I want to install OpenVAS on main server (PC#1) and on other machine (PC#2) 
install only scanner, then I want to create task from OpenVAS manager in main 
server (PC#2) for scanner which installed on PC#2. For that purpose I created 
scanner on PC#2 as "openvassd --listen=0.0.0.0" and on PC#1 I created scanner 
with IP of PC#1, but it doesn't work. What I doing wrong? Help, please.
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

[Openvas-discuss] Help to install scanner ond manager on different machines.

2017-08-15 Thread blackcode
I want to install OpenVAS on main server (PC#1) and on other machine (PC#2) 
install only scanner, then I want to create task from OpenVAS manager in main 
server (PC#2) for scanner which installed on PC#2. For that purpose I created 
scanner on PC#2 as "openvassd --listen=0.0.0.0" and on PC#1 I created scanner 
with IP of PC#1, but it doesn't work. What I doing wrong? Help, please.
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] Openvas-discuss Digest, Vol 127, Issue 11

2017-08-15 Thread Christian Fischer
Hi,

On 14.08.2017 20:29, Josemar Maso wrote:
> I'm sorry. Please, i sent the wrong log.
> Follow correct log.
> tks.

the SQL syntax used in OpenVAS 9 (openvas-manager-7.0) needs SQLite
3.8.3 or above where you are probably running 3.7.17.

I have created an internal ticket to specify this requirement. For now
please either update SQLite to a more recent version or stick on OpenVAS
8 which is still compatible with SQLite 3.7.17.

> 2017-08-14 15:03 GMT-03:00 Josemar Maso :
> 
>>
>>
>> 2017-08-14 14:54 GMT-03:00 Josemar Maso :
>>
>>> Follows attachment as resquested.
>>> tks
>>> Josemar MASO
>>>
>>> 2017-08-12 7:00 GMT-03:00 :
>>>
 Send Openvas-discuss mailing list submissions to
 openvas-discuss@wald.intevation.org

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/o
 penvas-discuss

 or, via email, send a message with subject or body 'help' to
 openvas-discuss-requ...@wald.intevation.org

 You can reach the person managing the list at
 openvas-discuss-ow...@wald.intevation.org

 When replying, please edit your Subject line so it is more specific
 than "Re: Contents of Openvas-discuss digest..."


 Today's Topics:

1. Adobe Fixes Critical Vulnerabilities (Antu Sanadi)
2. Run Tasks Schedule in OpenVAS on CentOS7 (Josemar Maso)
3. Problem with new install on Centos 7 [PUBLIC] (CAMPBELL Jeremy)


 --
 Message: 2
 Date: Fri, 11 Aug 2017 15:01:05 -0300
 From: Josemar Maso 
 To: openvas-discuss@wald.intevation.org
 Subject: [Openvas-discuss] Run Tasks Schedule in OpenVAS on CentOS7
 Message-ID:
 
 Content-Type: text/plain; charset="utf-8"

 Hello Everyone,
 I have OPENVAS9 on CentOS7.
 See below error mensages in red.
 Any solution or advice on how to fix ?

 thank you,

 Josemar
 Brazil

 ---
 [root@CentOS7 ~]# tail -f /var/log/openvas/openvasmd.log
 md manage:WARNING:2017-08-11 17h19.06 utc:20166: database must be
 initialised from scanner (with --update or --rebuild)
 md   main:MESSAGE:2017-08-11 17h19.07 utc:20167:OpenVAS Manager
 version
 7.0.2 (DB revision 184)
 md   main:   INFO:2017-08-11 17h19.07 utc:20167: rebuild_nvt_cache_retry:
 Reloading NVT cache
 md   main:   INFO:2017-08-11 17h19.07 utc:20168:
 update_or_rebuild_nvt_cache: Updating NVT cache
 base gpgme:MESSAGE:2017-08-11 17h19.07 utc:20168: Setting GnuPG dir to
 '/var/lib/openvas/openvasmd/gnupg'
 base gpgme:MESSAGE:2017-08-11 17h19.07 utc:20168: Using OpenPGP engine
 version '2.0.22'
 md   main:   INFO:2017-08-11 17h19.07 utc:20168:Updating NVT cache.
 md   main:MESSAGE:2017-08-11 17h23.49 utc:20375:OpenVAS Manager
 version
 7.0.2 (DB revision 184)
 md manage:   INFO:2017-08-11 17h23.49 utc:20375:Getting users.
 event schedule:MESSAGE:2017-08-11 14h25.53 -03:20764: Schedule diario
 (cb21b1b7-0d36-4355-ad56-ab2017fbecc1) has been created by admin
 event target:MESSAGE:2017-08-11 14h26.42 -03:20781: Target localhost
 (ea2b6c9a-6e76-41f5-8639-7a18a73295c2) has been created by admin
 event task:MESSAGE:2017-08-11 14h27.15 -03:20796: Status of task
 (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has changed to New
 event task:MESSAGE:2017-08-11 14h27.16 -03:20796: Task localhost
 (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has been created by admin
 event task:MESSAGE:2017-08-11 14h30.13 -03:20836: Task localhost
 (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) could not be resumed by admin
 event task:MESSAGE:2017-08-11 14h30.13 -03:20836: Status of task
 localhost
 (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has changed to Requested
 event task:MESSAGE:2017-08-11 14h30.13 -03:20836: Task localhost
 (ad2dd79e-cf4d-45a3-8b06-c23a237aec45) has been requested to start by
 admin
 md manage:WARNING:2017-08-11 14h30.23 -03:20838: sql_prepare_internal:
 sqlite3_prepare failed: near "(": syntax error
 md manage:WARNING:2017-08-11 14h30.23 -03:20838: init_iterator:
 sql_prepare
 failed
 md manage:WARNING:2017-08-11 14h30.23 -03:20838:
 manage_cleanup_process_error: Error exit, setting running task to
 Internal
 Error
 md manage:WARNING:2017-08-11 14h30.23 -03:20838: sql_prepare_internal:
 sqlite3_prepare failed: near "(": syntax error
 md manage:WARNING:2017-08-11 14h30.23 -03:20838: init_iterator:
 sql_prepare
 failed
 ---

 [root@CentOS7 ~]# openvas-check-setup --v9
 

Re: [Openvas-discuss] Openvas-discuss Digest, Vol 127, Issue 11

2017-08-15 Thread Josemar Maso
Follows attachment as resquested.
tks
Josemar MASO

2017-08-12 7:00 GMT-03:00 :

> Send Openvas-discuss mailing list submissions to
> openvas-discuss@wald.intevation.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/
> openvas-discuss
>
> or, via email, send a message with subject or body 'help' to
> openvas-discuss-requ...@wald.intevation.org
>
> You can reach the person managing the list at
> openvas-discuss-ow...@wald.intevation.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Openvas-discuss digest..."
>
>
> Today's Topics:
>
>1. Adobe Fixes Critical Vulnerabilities (Antu Sanadi)
>2. Run Tasks Schedule in OpenVAS on CentOS7 (Josemar Maso)
>3. Problem with new install on Centos 7 [PUBLIC] (CAMPBELL Jeremy)
>
>
> --
>
> Message: 1
> Date: Fri, 11 Aug 2017 16:08:46 +0530
> From: Antu Sanadi 
> To: openvas-discuss@wald.intevation.org,
> openvas-plug...@wald.intevation.org
> Subject: [Openvas-discuss] Adobe Fixes Critical Vulnerabilities
> Message-ID: <5c2eaa98-5624-d150-68ea-da684ccee...@secpod.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Hello all,
>
> Adobe has released four security updates for Adobe Flash Player(APSB17-23),
> Adobe Experience Manager (APSB17-26),  Adobe Acrobat and Reader
> (APSB17-24) and
> Adobe Digital Editions (APSB17-27) which covers a total of 80*CVE?s*.
>
> *Adobe Flash Player*address a critical type confusion vulnerability that
> could lead to
> code execution and an important security bypass vulnerability that could
> lead to
> information disclosure.
>
> *Adobe Acrobat and Reader*address vulnerabilities rated Critical and
> Important that
> could potentially allow an attacker to take control of the affected system.
>
> *Adobe Digital Editions*updates resolves a critical heap buffer overflow
> vulnerability
> that could lead to code execution, seven memory corruption
> vulnerabilities rated
> important that could lead to disclosure of memory addresses and an XML
> external entity
> processing vulnerability rated critical that could lead to information
> disclosure.*
> *
>
> *Adobe Experience Manager*updates resolve an important file type
> validation vulnerability
> and two moderate information disclosure vulnerabilities.
>
> *Priority of Patch :**
>
> Product: *Adobe Flash Player
> *Severity Rating*: Critical
> *Impact: *Remote Code Execution
>
> *Product: *Adobe Acrobat and Reader
> *Severity Rating*: Critical
> *Impact: *Remote Code Execution
>
> *Product: *Adobe Digital Editions
> *Severity Rating*: Critical
> *Impact: *Memory Address Disclosure
>
> We have now created the NVTs to detect all these vulnerabilities(soon
> will be update into feed),
> Please do scan with updated feed to detect the vulnerabilities and
> strongly recommended to
> apply security patches as soon as possible to stay secure.
>
> Thanks,
> Antu Sanadi
> -- next part --
> An HTML attachment was scrubbed...
> URL:  attachments/20170811/2d42e07a/attachment-0001.html>
>
> --
>
> Message: 2
> Date: Fri, 11 Aug 2017 15:01:05 -0300
> From: Josemar Maso 
> To: openvas-discuss@wald.intevation.org
> Subject: [Openvas-discuss] Run Tasks Schedule in OpenVAS on CentOS7
> Message-ID:
>  gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Everyone,
> I have OPENVAS9 on CentOS7.
> See below error mensages in red.
> Any solution or advice on how to fix ?
>
> thank you,
>
> Josemar
> Brazil
>
> ---
> [root@CentOS7 ~]# tail -f /var/log/openvas/openvasmd.log
> md manage:WARNING:2017-08-11 17h19.06 utc:20166: database must be
> initialised from scanner (with --update or --rebuild)
> md   main:MESSAGE:2017-08-11 17h19.07 utc:20167:OpenVAS Manager version
> 7.0.2 (DB revision 184)
> md   main:   INFO:2017-08-11 17h19.07 utc:20167: rebuild_nvt_cache_retry:
> Reloading NVT cache
> md   main:   INFO:2017-08-11 17h19.07 utc:20168:
> update_or_rebuild_nvt_cache: Updating NVT cache
> base gpgme:MESSAGE:2017-08-11 17h19.07 utc:20168: Setting GnuPG dir to
> '/var/lib/openvas/openvasmd/gnupg'
> base gpgme:MESSAGE:2017-08-11 17h19.07 utc:20168: Using OpenPGP engine
> version '2.0.22'
> md   main:   INFO:2017-08-11 17h19.07 utc:20168:Updating NVT cache.
> md   main:MESSAGE:2017-08-11 17h23.49 utc:20375:OpenVAS Manager version
> 7.0.2 (DB revision 184)
> md manage:   INFO:2017-08-11 17h23.49 utc:20375:Getting users.
> event schedule:MESSAGE:2017-08-11 14h25.53 -03:20764: Schedule diario
> (cb21b1b7-0d36-4355-ad56-ab2017fbecc1) has been created by admin
> event