Also i tried starting other service also .I got elow error message.Plz help me 
in resolving this issue.


[root@localhost downloads]# cd /usr/local/sbin
[root@localhost sbin]# ./openvassd
./openvassd: error while loading shared libraries: libopenvas_nasl.so.8: cannot 
open shared object file: No such file or directory
[root@localhost sbin]# ./openvasmd
./openvasmd: error while loading shared libraries: libopenvas_omp.so.8: cannot 
open shared object file: No such file or directory
[root@localhost sbin]# ./gsad
./gsad: error while loading shared libraries: libopenvas_omp.so.8: cannot open 
shared object file: No such file or directory
[root@localhost sbin]#


Thanks,

Deepak jha

________________________________
From: Deepak Jha
Sent: Saturday, April 11, 2015 6:39 PM
To: Eero Volotinen
Cc: [email protected]
Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7


I downloaded and tried to run openvas-check-setup i got error message as below.



[root@localhost downloads]# tail /tmp/openvas-check-setup.log
  Mode:  server
  Date:  Sat, 11 Apr 2015 09:07:10 -0400

Checking for old OpenVAS Scanner <= 2.0 ...
./openvas-check-setup: line 163: openvasd: command not found

Checking presence of OpenVAS Scanner ...
openvassd: error while loading shared libraries: libopenvas_nasl.so.8: cannot 
open shared object file: No such file or directory
        ERROR: No OpenVAS Scanner (openvassd) found.
        FIX: Please install OpenVAS Scanner.


Thanks

Deepak jha

________________________________
From: [email protected] <[email protected]> on behalf of Eero 
Volotinen <[email protected]>
Sent: Saturday, April 11, 2015 6:27 PM
To: Deepak Jha
Cc: [email protected]
Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7

Well, download 
https://svn.wald.intevation.org/svn/openvas/trunk/tools/openvas-check-setup
and run it with parameter --server

rest of information is available on documentation at 
openvas.org<http://openvas.org>. Read it!

--
Eero

2015-04-11 15:46 GMT+03:00 Deepak Jha 
<[email protected]<mailto:[email protected]>>:

Thanks, That worked.Now i have compiled and installed all openvas packages.

Now is there initial configuration i need to do?


for example creating cert ,starting services , accessing GSA web console etc.


________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf of 
Eero Volotinen <[email protected]<mailto:[email protected]>>
Sent: Saturday, April 11, 2015 4:34 PM

To: Deepak Jha
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7

Well.

cmake is not finding your openvas libraries or openvas libraries are not 
installed.

try following

echo "/path-to-openvas/library" > /etc/ld.so.conf.d/openvas
and running ldconfig after that

and also try running following command before compiling


export PKG_CONFIG_PATH=/your/location/openvas-lib/pkgconfig:$PKG_CONFIG_PATH


works for me.


Eero

2015-04-11 13:58 GMT+03:00 Deepak Jha 
<[email protected]<mailto:[email protected]>>:

Hi,


I have compiled and installed openvas-smb and openvas-library package.

Now i am trying to compile openvas-scanner package.When i am running cmake .. i 
get below error.How to fix this?


/root/downloads/openvas-scanner-5.0.1/build
[root@localhost build]# cmake ..
-- Configuring the Scanner...
-- Install prefix: /usr/local
-- checking for module 'libopenvas_nasl>=8.0.0'
--   package 'libopenvas_nasl>=8.0.0' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:187 (pkg_check_modules)


-- checking for module 'libopenvas_base>=8.0.0'
--   package 'libopenvas_base>=8.0.0' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:188 (pkg_check_modules)


-- checking for module 'libopenvas_misc>=8.0.0'
--   package 'libopenvas_misc>=8.0.0' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:189 (pkg_check_modules)


-- checking for module 'libopenvas_omp>=8.0.0'
--   package 'libopenvas_omp>=8.0.0' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  CMakeLists.txt:190 (pkg_check_modules)


-- Looking for libgcrypt...
-- Looking for libgcrypt... /usr/lib64/libgcrypt.so
-- Configuring incomplete, errors occurred!
[root@localhost build]#


Thanks,

Deepak Jha


________________________________
From: Deepak Jha
Sent: Saturday, April 11, 2015 3:48 PM
To: Eero Volotinen

Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7


Thank you, this fix worked.

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf of 
Eero Volotinen <[email protected]<mailto:[email protected]>>
Sent: Saturday, April 11, 2015 2:55 PM
To: Deepak Jha
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7

Hi,

Sorry, this was my mistake on first patch testing. apply patch: 
http://ping-viini.org/heimdal-epel.patch on openvas-smb-1.0.1 directory and 
then try again with

rm -fr build
mkdir build
cd build
cmake .. && make && make install

does it work now?

Eero

2015-04-11 12:20 GMT+03:00 Deepak Jha 
<[email protected]<mailto:[email protected]>>:

Hi,


Thanks for your help.

I have successfully compiled and installed openvas-smb.

I am trying to install openvas-library.

cmake.. command successfully completed.Now i am trying to run make 
command.it<http://command.it> completes till 99% and then gives error as below.


Linking C static library libsamba-static.a
[ 93%] Built target samba-static
[ 93%] Built target bin2c
Linking C shared library libopenvas_wincmd.so
[ 95%] Built target openvas_wincmd
Linking C executable winexe
/usr/bin/ld: ../samba/libsamba-static.a(credentials_krb5.c.o): undefined 
reference to symbol 'gss_krb5_import_cred@@gssapi_krb5_2_MIT'
/usr/bin/ld: note: 'gss_krb5_import_cred@@gssapi_krb5_2_MIT' is defined in DSO 
/lib64/libgssapi_krb5.so.2 so try adding it to the linker command line
/lib64/libgssapi_krb5.so.2: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [winexe/winexe] Error 1
make[1]: *** [winexe/CMakeFiles/winexe.dir/all] Error 2
make: *** [all] Error 2


please let me know how can i fix this issue.


Regards,
Deepak jha

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf of 
Eero Volotinen <[email protected]<mailto:[email protected]>>
Sent: Friday, April 10, 2015 7:37 PM
To: Deepak Jha
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Openvas-discuss] installing openvas 8 from source on CentOS 7



2015-04-10 17:04 GMT+03:00 Deepak Jha 
<[email protected]<mailto:[email protected]>>:
Hi,

I am trying to compile openvas-library but getting below error.

cmake ..
-- Configuring the Libraries...
-- Install prefix: /usr/local
-- checking for module 'libopenvas_wmiclient>=0.0.1'
--   package 'libopenvas_wmiclient>=0.0.1' not found
-- checking for module 'libopenvas_wincmd>=0.0.1'
--   package 'libopenvas_wincmd>=0.0.1' not found
-- Looking for pcap...
-- Looking for pcap... /usr/lib64/libpcap.so
-- Looking for pcap-config...
-- Looking for pcap-config... /usr/bin/pcap-config
-- Looking for gpgme...
-- Looking for gpgme... /usr/lib64/libgpgme.so
-- Looking for ksba...
-- Looking for ksba... /usr/lib64/libksba.so
-- Looking for netsnmp...
-- Looking for netsnmp... SNMP-NOTFOUND
-- Looking for libgcrypt...
-- Looking for libgcrypt... /usr/lib64/libgcrypt.so
-- checking for module 'uuid'
--   package 'uuid' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
 A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
  misc/CMakeLists.txt:45 (pkg_check_modules)


You need to install uuid development package. I think then name of package is 
uuid-devel in centos / rhel (yum install -y uuid-devel)

--
Eero



_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to