Hello.
I used below link to Install OpenVAS on debian 7.7 :
http://www.openvas.org/install-packa...vas_debian_obs
But when I enter :
root@hack3rcon:/home/jason# /etc/init.d/openvas-scanner start
Starting OpenVAS Scanner: openvassd.
root@hack3rcon:/home/jason# /etc/init.d/openvas-manager start
Starting OpenVAS Manager: ERROR.
How can I solve it?
I copy and paste some progress here :
root@hack3rcon:/home/jason# openvasmd --rebuild
root@hack3rcon:/home/jason# openvas-scapdata-sync
[i] This script synchronizes a SCAP data directory with the OpenVAS one.
[i] SCAP dir: /var/lib/openvas/scap-data
[i] Will use rsync
[i] Using rsync: /usr/bin/rsync
[i] Configured SCAP data rsync feed: rsync://feed.openvas.org:/scap-data
OpenVAS feed server -
http://www.openvas.org/
This service is hosted by Intevation GmbH -
http://intevation.de/
All transactions are logged.
Please report synchronization problems to
openvas-feed@intevation.de.
If you have any other questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See
http://www.openvas.org/ for details.
receiving incremental file list
./
COPYING
1493 100% 1.42MB/s 0:00:00 (xfer#1, to-check=63/65)
COPYING.asc
198 100% 193.36kB/s 0:00:00 (xfer#2, to-check=62/65)
nvdcve-2.0-2002.xml
19485161 100% 143.70kB/s 0:02:12 (xfer#3, to-check=61/65)
nvdcve-2.0-2002.xml.asc
198 100% 0.22kB/s 0:00:00 (xfer#4, to-check=60/65)
nvdcve-2.0-2003.xml
5787021 100% 215.87kB/s 0:00:26 (xfer#5, to-check=59/65)
nvdcve-2.0-2003.xml.asc
198 100% 0.20kB/s 0:00:00 (xfer#6, to-check=58/65)
nvdcve-2.0-2004.xml
12304036 100% 225.20kB/s 0:00:53 (xfer#7, to-check=57/65)
nvdcve-2.0-2004.xml.asc
198 100% 1.16kB/s 0:00:00 (xfer#8, to-check=56/65)
nvdcve-2.0-2005.xml
19596721 100% 157.86kB/s 0:02:01 (xfer#9, to-check=55/65)
nvdcve-2.0-2005.xml.asc
198 100% 0.38kB/s 0:00:00 (xfer#10, to-check=54/65)
nvdcve-2.0-2006.xml
31171613 100% 167.99kB/s 0:03:01 (xfer#11, to-check=53/65)
nvdcve-2.0-2006.xml.asc
198 100% 0.22kB/s 0:00:00 (xfer#12, to-check=52/65)
nvdcve-2.0-2007.xml
29301186 100% 152.82kB/s 0:03:07 (xfer#13, to-check=51/65)
nvdcve-2.0-2007.xml.asc
198 100% 1.39kB/s 0:00:00 (xfer#14, to-check=50/65)
nvdcve-2.0-2008.xml
33987275 100% 190.16kB/s 0:02:54 (xfer#15, to-check=49/65)
nvdcve-2.0-2008.xml.asc
198 100% 0.57kB/s 0:00:00 (xfer#16, to-check=48/65)
nvdcve-2.0-2009.xml
33509938 100% 202.19kB/s 0:02:41 (xfer#17, to-check=47/65)
nvdcve-2.0-2009.xml.asc
198 100% 6.91kB/s 0:00:00 (xfer#18, to-check=46/65)
nvdcve-2.0-2010.xml
48937581 100% 215.99kB/s 0:03:41 (xfer#19, to-check=45/65)
nvdcve-2.0-2010.xml.asc
198 100% 0.30kB/s 0:00:00 (xfer#20, to-check=44/65)
nvdcve-2.0-2011.xml
114896112 100% 174.47kB/s 0:10:43 (xfer#21, to-check=43/65)
nvdcve-2.0-2011.xml.asc
198 100% 0.28kB/s 0:00:00 (xfer#22, to-check=42/65)
nvdcve-2.0-2012.xml
44712622 100% 168.32kB/s 0:04:19 (xfer#23, to-check=41/65)
nvdcve-2.0-2012.xml.asc
198 100% 0.49kB/s 0:00:00 (xfer#24, to-check=40/65)
nvdcve-2.0-2013.xml
45077343 100% 160.01kB/s 0:04:35 (xfer#25, to-check=39/65)
nvdcve-2.0-2013.xml.asc
198 100% 193.36kB/s 0:00:00 (xfer#26, to-check=38/65)
nvdcve-2.0-2014.xml
35833723 100% 132.71kB/s 0:04:23 (xfer#27, to-check=37/65)
nvdcve-2.0-2014.xml.asc
198 100% 0.84kB/s 0:00:00 (xfer#28, to-check=36/65)
nvdcve-2.0-2015.xml
68950 100% 41.69kB/s 0:00:01 (xfer#29, to-check=35/65)
nvdcve-2.0-2015.xml.asc
198 100% 96.68kB/s 0:00:00 (xfer#30, to-check=34/65)
official-cpe-dictionary_v2.2.xml
29105779 100% 83.86kB/s 0:05:38 (xfer#31, to-check=33/65)
official-cpe-dictionary_v2.2.xml.asc
198 100% 1.14kB/s 0:00:00 (xfer#32, to-check=32/65)
sha1sums
3778 100% 19.94kB/s 0:00:00 (xfer#33, to-check=31/65)
status
21 100% 0.11kB/s 0:00:00 (xfer#34, to-check=30/65)
status.asc
198 100% 1.04kB/s 0:00:00 (xfer#35, to-check=29/65)
timestamp
13 100% 0.07kB/s 0:00:00 (xfer#36, to-check=28/65)
timestamp.asc
198 100% 1.04kB/s 0:00:00 (xfer#37, to-check=27/65)
oval/
oval/5.10/
oval/5.10/org.mitre.oval/
oval/5.10/org.mitre.oval/c/
oval/5.10/org.mitre.oval/c/oval.xml
268150 100% 68.28kB/s 0:00:03 (xfer#38, to-check=18/65)
oval/5.10/org.mitre.oval/c/oval.xml.asc
198 100% 193.36kB/s 0:00:00 (xfer#39, to-check=17/65)
oval/5.10/org.mitre.oval/i/
oval/5.10/org.mitre.oval/i/oval.xml
9246949 100% 99.05kB/s 0:01:31 (xfer#40, to-check=16/65)
oval/5.10/org.mitre.oval/i/oval.xml.asc
198 100% 11.37kB/s 0:00:00 (xfer#41, to-check=15/65)
oval/5.10/org.mitre.oval/m/
oval/5.10/org.mitre.oval/m/oval.xml
143834 100% 90.74kB/s 0:00:01 (xfer#42, to-check=14/65)
oval/5.10/org.mitre.oval/m/oval.xml.asc
198 100% 0.55kB/s 0:00:00 (xfer#43, to-check=13/65)
oval/5.10/org.mitre.oval/p/
oval/5.10/org.mitre.oval/p/oval.xml
86947713 100% 90.69kB/s 0:15:36 (xfer#44, to-check=12/65)
oval/5.10/org.mitre.oval/p/oval.xml.asc
198 100% 0.36kB/s 0:00:00 (xfer#45, to-check=11/65)
oval/5.10/org.mitre.oval/v/
oval/5.10/org.mitre.oval/v/family/
oval/5.10/org.mitre.oval/v/family/ios.xml
2012118 100% 85.45kB/s 0:00:22 (xfer#46, to-check=9/65)
oval/5.10/org.mitre.oval/v/family/ios.xml.asc
198 100% 1.16kB/s 0:00:00 (xfer#47, to-check=8/65)
oval/5.10/org.mitre.oval/v/family/macos.xml
437704 100% 98.65kB/s 0:00:04 (xfer#48, to-check=7/65)
oval/5.10/org.mitre.oval/v/family/macos.xml.asc
198 100% 0.22kB/s 0:00:00 (xfer#49, to-check=6/65)
oval/5.10/org.mitre.oval/v/family/pixos.xml
10014 100% 9.64kB/s 0:00:01 (xfer#50, to-check=5/65)
oval/5.10/org.mitre.oval/v/family/pixos.xml.asc
198 100% 0.19kB/s 0:00:01 (xfer#51, to-check=4/65)
oval/5.10/org.mitre.oval/v/family/unix.xml
29850755 100% 99.58kB/s 0:04:52 (xfer#52, to-check=3/65)
oval/5.10/org.mitre.oval/v/family/unix.xml.asc
198 100% 193.36kB/s 0:00:00 (xfer#53, to-check=2/65)
oval/5.10/org.mitre.oval/v/family/windows.xml
48253974 100% 97.47kB/s 0:08:03 (xfer#54, to-check=1/65)
oval/5.10/org.mitre.oval/v/family/windows.xml.asc
198 100% 0.29kB/s 0:00:00 (xfer#55, to-check=0/65)
sent 1143 bytes received 681044015 bytes 139658.60 bytes/sec
total size is 680956923 speedup is 1.00
[i] Initializing scap database
[i] Updating CPEs
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2002.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2003.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2004.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2005.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2006.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2007.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2008.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2009.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2010.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2011.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2012.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2013.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2014.xml
[i] Updating /var/lib/openvas/scap-data/nvdcve-2.0-2015.xml
[i] Updating CVSS scores and CVE counts
[i] Updating OVAL data
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
egrep: character class syntax is [[:space:]], not [:space:]
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/c/oval.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/i/oval.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/m/oval.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/p/oval.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/v/family/ios.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/v/family/macos.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/v/family/pixos.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/v/family/unix.xml
[i] Updating /var/lib/openvas/scap-data/oval/5.10/org.mitre.oval/v/family/windows.xml
[i] No user data directory '/var/lib/openvas/scap-data/private' found.
root@hack3rcon:/home/jason# openvas-certdata-sync
[i] This script synchronizes a CERT advisory directory with the OpenVAS one.
[i] CERT dir: /var/lib/openvas/cert-data
[i] Will use rsync
[i] Using rsync: /usr/bin/rsync
[i] Configured CERT data rsync feed: rsync://feed.openvas.org:/cert-data
OpenVAS feed server -
http://www.openvas.org/
This service is hosted by Intevation GmbH -
http://intevation.de/
All transactions are logged.
Please report synchronization problems to
openvas-feed@intevation.de.
If you have any other questions, please use the OpenVAS mailing lists
or the OpenVAS IRC chat. See
http://www.openvas.org/ for details.
receiving incremental file list
./
COPYING
496 100% 484.38kB/s 0:00:00 (xfer#1, to-check=20/22)
COPYING.asc
198 100% 193.36kB/s 0:00:00 (xfer#2, to-check=19/22)
dfn-cert-2008.xml
3452 100% 20.81kB/s 0:00:00 (xfer#3, to-check=18/22)
dfn-cert-2008.xml.asc
198 100% 1.19kB/s 0:00:00 (xfer#4, to-check=17/22)
dfn-cert-2009.xml
771794 100% 120.19kB/s 0:00:06 (xfer#5, to-check=16/22)
dfn-cert-2009.xml.asc
198 100% 0.28kB/s 0:00:00 (xfer#6, to-check=15/22)
dfn-cert-2010.xml
1611049 100% 105.68kB/s 0:00:14 (xfer#7, to-check=14/22)
dfn-cert-2010.xml.asc
198 100% 0.50kB/s 0:00:00 (xfer#8, to-check=13/22)
dfn-cert-2011.xml
1800738 100% 80.12kB/s 0:00:21 (xfer#9, to-check=12/22)
dfn-cert-2011.xml.asc
198 100% 0.56kB/s 0:00:00 (xfer#10, to-check=11/22)
dfn-cert-2012.xml
2014758 100% 85.92kB/s 0:00:22 (xfer#11, to-check=10/22)
dfn-cert-2012.xml.asc
198 100% 1.06kB/s 0:00:00 (xfer#12, to-check=9/22)
dfn-cert-2013.xml
1844392 100% 72.21kB/s 0:00:24 (xfer#13, to-check=8/22)
dfn-cert-2013.xml.asc
198 100% 0.51kB/s 0:00:00 (xfer#14, to-check=7/22)
dfn-cert-2014.xml
1702062 100% 98.55kB/s 0:00:16 (xfer#15, to-check=6/22)
dfn-cert-2014.xml.asc
198 100% 48.34kB/s 0:00:00 (xfer#16, to-check=5/22)
dfn-cert-2015.xml
36784 100% 30.76kB/s 0:00:01 (xfer#17, to-check=4/22)
dfn-cert-2015.xml.asc
198 100% 193.36kB/s 0:00:00 (xfer#18, to-check=3/22)
sha1sums
1204 100% 1.15MB/s 0:00:00 (xfer#19, to-check=2/22)
timestamp
13 100% 12.70kB/s 0:00:00 (xfer#20, to-check=1/22)
timestamp.asc
198 100% 193.36kB/s 0:00:00 (xfer#21, to-check=0/22)
sent 461 bytes received 9791542 bytes 87820.65 bytes/sec
total size is 9788722 speedup is 1.00
[i] Initializing CERT advisory database
/usr/sbin/openvas-certdata-sync: 201: /usr/sbin/openvas-certdata-sync: cannot open /usr/share/openvas/cert/cert_db_init.sql: No such file
Error: no such table: meta
Error: Inconsistent data. Resetting CERT database.
/usr/sbin/openvas-certdata-sync: 220: /usr/sbin/openvas-certdata-sync: cannot open /usr/share/openvas/cert/cert_db_init.sql: No such file
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2008.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2009.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2010.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2011.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2012.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2013.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2014.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
[i] Updating /var/lib/openvas/cert-data/dfn-cert-2015.xml
warning: failed to load external entity "/usr/share/openvas/cert/dfn_cert_update.xsl"
cannot parse /usr/share/openvas/cert/dfn_cert_update.xsl
Error: no such table: meta
root@hack3rcon:/home/jason# test -e /var/lib/openvas/users/admin || openvasad -c add_user -n admin -r Admin
Enter password:
ad main:MESSAGE:5691:2015-01-20 08h11.34 PST: No rules file provided, the new user will have no restrictions.
ad main:MESSAGE:5691:2015-01-20 08h11.34 PST: User admin has been successfully created.
root@hack3rcon:/home/jason# killall openvassd
root@hack3rcon:/home/jason# sleep 15
root@hack3rcon:/home/jason# /etc/init.d/openvas-scanner start
Starting OpenVAS Scanner: openvassd.
root@hack3rcon:/home/jason# /etc/init.d/openvas-manager start
Starting OpenVAS Manager: ERROR.
root@hack3rcon:/home/jason#