[Openvas-discuss] file:///mnt/Server/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/Server/repodata/repomd.xml'

Savankumar Shinde savankumarshinde at gmail.com
Thu Feb 9 06:43:11 CET 2012


Hello Joe,

For Network Security testing to be done, I have installed the following
openvas-administrator
openvas-manager
openvas-scanner

When I start the openvas-manager  openvas-scanner services they are
staring with no issues but openvas-administrator  service isn’t
starting it shows the eroor as follows
[root at swmsblr04 init.d]# /etc/init.d/openvas-administrator start
Starting openvas-administrator:
openvasad: symbol lookup error: openvasad: undefined symbol:
g_assertion_message_expr
                                                           [FAILED]


What is your version of glib?  Administrator requires at least
2.16.

# rpm -q glib glib2
glib-1.2.10-20.el5
glib-1.2.10-20.el5
glib2-2.12.3-4.el5_3.1
glib2-2.12.3-4.el5_3.1

# openvasad --version
openvasad: symbol lookup error: openvasad: undefined symbol:
g_assertion_message_expr

# sh openvas-check-setup
openvas-check-setup 2.1.3
    Test completeness and readiness of OpenVAS-4


Step 1: Checking OpenVAS Scanner ...
          OK: OpenVAS Scanner is present in version 3.2.5.
          OK: OpenVAS Scanner CA Certificate is present as
/var/lib/openvas/CA/cacert.pem.
          OK: NVT collection in /var/lib/openvas/plugins contains 23767 NVTs.
          WARNING: Signature checking of NVTs is not enabled in OpenVAS
Scanner.
          SUGGEST: Enable signature checking (see
http://www.openvas.org/trusted-nvts.html).
Step 2: Checking OpenVAS Manager ...
          OK: OpenVAS Manager is present in version 2.0.4.
          OK: OpenVAS Manager client certificate is present as
/var/lib/openvas/CA/clientcert.pem.
          OK: OpenVAS Manager database found in
/var/lib/openvas/mgr/tasks.db.
          OK: Access rights for the OpenVAS Manager database are correct.
          OK: sqlite3 found, extended checks of the OpenVAS Manager
installation enabled.
          OK: OpenVAS Manager database is at revision 41.
          OK: OpenVAS Manager expects database at revision 41.
          OK: Database schema is up to date.
          OK: OpenVAS Manager database contains information about 23767 NVTs.
          OK: xsltproc found.
Step 3: Checking OpenVAS Administrator ...
          ERROR: No OpenVAS Administrator (openvasad) found.
          FIX: Please install OpenVAS Administrator.
   ERROR: Your OpenVAS-4 installation is not yet complete!

Please follow the instructions marked with FIX above and run this
script again.

[Though I have installed openvas administrator but still it says it’s
saying not installed, may be version mismatch.. please suggest]
This are the rpm packages I have installed.

# rpm -qa|egrep 'openvas|greenbone'
openvas-manager-2.0.4-2.el5.art
openvas-administrator-1.1.2-1.el5.art
openvas-libraries-4.0.6-3.el5.art
openvas-scanner-3.2.5-1.el5.art
greenbone-security-assistant-2.0.1-4.el5.art
openvas-cli-1.1.3-1.el5.art
openvas-glib2-2.22.5-1.el5.art
openvas-1.0-0.7.el5.art


Following was the way dependencies got resolved:-

Dependencies Resolved

=============================================================================================================================
 Package                                   Arch                Version
                            Repository           Size
=============================================================================================================================
Installing:
 openvas                                   noarch
1.0-0.7.el5.art                     atomic              9.7 k
Installing for dependencies:
 SOAPpy                                    noarch
0.11.6-5.el5.art                    atomic              284 k
 compat-gnutls2                            i386
2.8.5-2.1.el5.art                   atomic              315 k
 gpgme                                     i386
1.1.7-1.el5.art                     atomic              298 k
 graphviz                                  i386
2.16.1-1.el5.art                    atomic              1.1 M
 graphviz-python                           i386
2.16.1-1.el5.art                    atomic               36 k
 greenbone-security-assistant              i386
2.0.1-4.el5.art                     atomic              391 k
 libmicrohttpd                             i386
0.9.7-1.el5.art                     atomic               45 k
 libtasn1                                  i386
2.4-1.el5.art                       atomic              245 k
 mingw32-nsis                              i386
2.45-3.el5.art                      atomic              1.4 M
 ncrack                                    i386
0.3-0.2.ALPHA.el5.art               atomic              595 k
 nikto                                     noarch
1:2.1.4-2.el5.art                   atomic              335 k
 nmap                                      i386
2:5.51-1.el5.art                    atomic              3.3 M
 openvas-administrator                     i386
1.1.2-1.el5.art                     atomic               51 k
 openvas-cli                               i386
1.1.3-1.el5.art                     atomic               12 k
 openvas-glib2                             i386
2.22.5-1.el5.art                    atomic              1.7 M
 openvas-libraries                         i386
4.0.6-3.el5.art                     atomic              835 k
 openvas-manager                           i386
2.0.4-2.el5.art                     atomic              253 k
 openvas-scanner                           i386
3.2.5-1.el5.art                     atomic              162 k
 pnscan                                    i386
1.11-1.el5.art                      atomic               17 k
 pyPdf                                     noarch
1.10-4.el5.art                      atomic               72 k
 python-BeautifulSoup                      noarch
3.0.7a-3.el5.art                    atomic               76 k
 python-SocksiPy                           noarch
1.00-4.el5.art                      atomic               14 k
 python-fpconst                            noarch
0.7.3-3.el5.1.art                   atomic               15 k
 w3af                                      i386
1.0-5.el5.art                       atomic               26 M
 wmi                                       i386
1.3.14-2.el5.art                    atomic              8.7 M
 wordnet                                   i386
3.0-13.el5.art                      atomic               11 M
Updating for dependencies:
 sqlite                                    i386
3.7.0.1-1.el5.art                   atomic              325 k
 sqlite-devel                              i386
3.7.0.1-1.el5.art                   atomic              384 k

Transaction Summary
=============================================================================================================================
Install     27 Package(s)
Update       2 Package(s)
Remove       0 Package(s)

Total download size: 58 M
Is this ok [y/N]: y
Downloading Packages:
(1/29): openvas-1.0-0.7.el5.art.noarch.rpm
                               | 9.7 kB     00:00
(2/29): openvas-cli-1.1.3-1.el5.art.i386.rpm
                               |  12 kB     00:00
(3/29): python-SocksiPy-1.00-4.el5.art.noarch.rpm
                               |  14 kB     00:00
(4/29): python-fpconst-0.7.3-3.el5.1.art.noarch.rpm
                               |  15 kB     00:00
(5/29): pnscan-1.11-1.el5.art.i386.rpm
                               |  17 kB     00:00
(6/29): graphviz-python-2.16.1-1.el5.art.i386.rpm
                               |  36 kB     00:00
(7/29): libmicrohttpd-0.9.7-1.el5.art.i386.rpm
                               |  45 kB     00:00
(8/29): openvas-administrator-1.1.2-1.el5.art.i386.rpm
                               |  51 kB     00:00
(9/29): pyPdf-1.10-4.el5.art.noarch.rpm
                               |  72 kB     00:01
(10/29): python-BeautifulSoup-3.0.7a-3.el5.art.noarch.rpm
                               |  76 kB     00:01
(11/29): openvas-scanner-3.2.5-1.el5.art.i386.rpm
                               | 162 kB     00:01
(12/29): libtasn1-2.4-1.el5.art.i386.rpm
                               | 245 kB     00:01
(13/29): openvas-manager-2.0.4-2.el5.art.i386.rpm
                               | 253 kB     00:01
(14/29): SOAPpy-0.11.6-5.el5.art.noarch.rpm
                               | 284 kB     00:01
(15/29): gpgme-1.1.7-1.el5.art.i386.rpm
                               | 298 kB     00:01
(16/29): compat-gnutls2-2.8.5-2.1.el5.art.i386.rpm
                               | 315 kB     00:01
(17/29): sqlite-3.7.0.1-1.el5.art.i386.rpm
                               | 325 kB     00:01
(18/29): nikto-2.1.4-2.el5.art.noarch.rpm
                               | 335 kB     00:01
(19/29): sqlite-devel-3.7.0.1-1.el5.art.i386.rpm
                               | 384 kB     00:01
(20/29): greenbone-security-assistant-2.0.1-4.el5.art.i386.rpm
                               | 391 kB     00:01
(21/29): ncrack-0.3-0.2.ALPHA.el5.art.i386.rpm
                               | 595 kB     00:02
(22/29): openvas-libraries-4.0.6-3.el5.art.i386.rpm
                               | 835 kB     00:02
(23/29): graphviz-2.16.1-1.el5.art.i386.rpm
                               | 1.1 MB     00:02
(24/29): mingw32-nsis-2.45-3.el5.art.i386.rpm
                               | 1.4 MB     00:02
(25/29): openvas-glib2-2.22.5-1.el5.art.i386.rpm
                               | 1.7 MB     00:03
(26/29): nmap-5.51-1.el5.art.i386.rpm
                               | 3.3 MB     00:04
(27/29): wmi-1.3.14-2.el5.art.i386.rpm
                               | 8.7 MB     00:07
(28/29): wordnet-3.0-13.el5.art.i386.rpm
                               |  11 MB     00:08
(29/29): w3af-1.0-5.el5.art.i386.rpm
                               |  26 MB     00:16
-----------------------------------------------------------------------------------------------------------------------------
Total
                      641 kB/s |  58 MB     01:32
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : gpgme
                                                 1/31
  Updating       : sqlite
                                                 2/31
  Installing     : nmap
                                                 3/31
  Installing     : graphviz
                                                 4/31
  Installing     : wmi
                                                 5/31
  Installing     : graphviz-python
                                                 6/31
  Installing     : mingw32-nsis
                                                 7/31
  Installing     : wordnet
                                                 8/31
  Installing     : pnscan
                                                 9/31
  Installing     : ncrack
                                                10/31
  Installing     : libtasn1
                                                11/31
  Installing     : compat-gnutls2
                                                12/31
  Installing     : openvas-libraries
                                                13/31
  Installing     : openvas-manager
                                                14/31
/bin/touch: cannot touch `/var/lib/openvas/mgr/tasks.db': No such file
or directory
  Installing     : libmicrohttpd
                                                15/31
  Installing     : openvas-scanner
                                                16/31
  Installing     : openvas-glib2
                                                17/31
  Installing     : python-fpconst
                                                18/31
  Installing     : SOAPpy
                                                19/31
  Installing     : openvas-cli
                                                20/31
  Installing     : nikto
                                                21/31
  Installing     : pyPdf
                                                22/31
  Installing     : python-SocksiPy
                                                23/31
  Installing     : python-BeautifulSoup
                                                24/31
  Installing     : openvas-administrator
                                                25/31
  Installing     : greenbone-security-assistant
                                                26/31
  Installing     : w3af
                                                27/31
  Updating       : sqlite-devel
                                                28/31
  Installing     : openvas
                                                29/31
Starting greenbone-security-assistant: MHD HTTPS option 8 passed to
MHD compiled without HTTPS support
[  OK  ]
  Cleanup        : sqlite-devel
                                                30/31
  Cleanup        : sqlite
                                                31/31

Installed:
  openvas.noarch 0:1.0-0.7.el5.art

Dependency Installed:
  SOAPpy.noarch 0:0.11.6-5.el5.art
compat-gnutls2.i386 0:2.8.5-2.1.el5.art
  gpgme.i386 0:1.1.7-1.el5.art
graphviz.i386 0:2.16.1-1.el5.art
  graphviz-python.i386 0:2.16.1-1.el5.art
greenbone-security-assistant.i386 0:2.0.1-4.el5.art
  libmicrohttpd.i386 0:0.9.7-1.el5.art
libtasn1.i386 0:2.4-1.el5.art
  mingw32-nsis.i386 0:2.45-3.el5.art
ncrack.i386 0:0.3-0.2.ALPHA.el5.art
  nikto.noarch 1:2.1.4-2.el5.art                             nmap.i386
2:5.51-1.el5.art
  openvas-administrator.i386 0:1.1.2-1.el5.art
openvas-cli.i386 0:1.1.3-1.el5.art
  openvas-glib2.i386 0:2.22.5-1.el5.art
openvas-libraries.i386 0:4.0.6-3.el5.art
  openvas-manager.i386 0:2.0.4-2.el5.art
openvas-scanner.i386 0:3.2.5-1.el5.art
  pnscan.i386 0:1.11-1.el5.art
pyPdf.noarch 0:1.10-4.el5.art
  python-BeautifulSoup.noarch 0:3.0.7a-3.el5.art
python-SocksiPy.noarch 0:1.00-4.el5.art
  python-fpconst.noarch 0:0.7.3-3.el5.1.art                  w3af.i386
0:1.0-5.el5.art
  wmi.i386 0:1.3.14-2.el5.art
wordnet.i386 0:3.0-13.el5.art

Dependency Updated:
  sqlite.i386 0:3.7.0.1-1.el5.art
sqlite-devel.i386 0:3.7.0.1-1.el5.art

Complete!

[root at swmsblr04 Server]# openvas-setup

Openvas Setup, Version: 0.1


Step 1: Update NVT's
Please note this step could take some time.
Once completed, NVT's will be updated automatically every 24 hours

Updating NVTs....
Stopping openvas-scanner:                                  [FAILED]
Starting openvas-scanner:                                  [  OK  ]
Updating OpenVAS Manager database....

Step 2: Configure GSAD
The Greenbone Security Assistant is a Web Based front end
for managing scans. By default it is configured to only allow
connections from localhost.

Allow connections from any IP? [Default: yes] yes
Stopping greenbone-security-assistant:                     [FAILED]
Starting greenbone-security-assistant: MHD HTTPS option 8 passed to
MHD compiled without HTTPS support
                                                           [  OK  ]

Step 3: Choose the GSAD admin users password.
The admin user is used to configure accounts,
Update NVT's manually, and manage roles.

/usr/sbin/openvasad: symbol lookup error: /usr/sbin/openvasad:
undefined symbol: g_assertion_message_expr

Step 4: Create a user

Using /var/tmp as a temporary file holder.

Add a new openvassd user
---------------------------------


Login : user1
Authentication (pass/cert) [pass] : pass
Login password :
Login password (again) :

User rules
---------------
openvassd has a rules system which allows you to restrict the hosts
that user1 has the right to test.
For instance, you may want him to be able to scan his own host only.

Please see the openvas-adduser(8) man page for the rules syntax.

Enter the rules for this user, and hit ctrl-D once you are done:
(the user can have an empty rules set)


Login             : user1
Password          : ***********

Rules             :


Is that ok? (y/n) [y] y
user added.

Setup complete, you can now access GSAD at:
  https://<IP>:9392

[root at swmsblr04 Server]#



 And Thanks a lot for installing openvas-client.. will be easy for me know.

Thanks & Regards
-Savankumar




On Wed, Feb 8, 2012 at 7:08 PM, Michael Meyer
<michael.meyer at greenbone.net> wrote:
> *** Savankumar Shinde <savankumarshinde at gmail.com> wrote:
>
>> [root at swmsblr04 sbin]# telnet rsync.openvas.org rsync
>> Trying 78.47.251.61...
>> telnet: connect to address 78.47.251.61: Connection timed out
>> telnet: Unable to connect to remote host: Connection timed out
>
> mime at kira[9]: ~ 0)$ telnet rsync.openvas.org rsync
> Trying 78.47.251.61...
> Connected to rsync.openvas.org.
> Escape character is '^]'.
> @RSYNCD: 30.0
> OpenVAS feed server - http://openvas.org/
> This service is hosted by Intevation GmbH - http://intevation.de/
> All transactions are logged.
> Please report problems to admin at intevation.de
>
> You are behind a firewall? See "openvas-nvt-sync --help" for some options.
>
> Micha
>
> --
> Michael Meyer                            OpenPGP Key: 52A6EFA6
> http://www.greenbone.net/
> Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG
> Osnabrück, HR B 202460
> Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
> _______________________________________________
> Openvas-discuss mailing list
> Openvas-discuss at wald.intevation.org
> http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss



More information about the Openvas-discuss mailing list