Pular para o conteúdo principal

Openvas don´t download PDF files in CENTOS 7/Oracle Linux


In some cases the package latexextra is missing.
Problem and temporary solution:
If you are running OpenVAS 7 on a Centos 7 machine, PDF-Generation is not working. The required package "texlive-collection-latexextra" is currently (October 2014) not available in the official repositories.
You can identify this problem the following way:
when running
 # openvas-check-setup
the check reports:
 ...
 Step 9: Checking presence of optional tools ...
       OK: pdflatex found.
       WARNING: PDF generation failed, most likely due to missing LaTeX
 packages. The PDF report format will not work.
       SUGGEST: Install required LaTeX packages.
 ...
and
 # yum install texlive-collection-latexextra
shows sth. like:
 "The package texlive-collection-latexextra is not available"

One possible alternative is the installation of texlive from the official texlive-mirrors.
 # wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
 # tar xvzf install-tl-unx.tar.gz
 # cd install-tl-*
 # ./install-tl
Please refer to the instructions on https://www.tug.org/texlive/acquire-netinstall.html
and
https://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-18057r2
Use "options (O)" and "create symlinks (L)" for the texlive-
 binaries to: /usr/bin
 manpages to: /usr/share/man
 to: /usr/share/info
Now return (R) to the main menu an install (I) texlive

In the next step, you need to install openvas-manager without the dependencies. Unfortunately this step is required as the manually installed texlive was not registered with the package management system and yum tries to reinstall texlive, which MIGHT cause erratic behaviour of texlive
Download openvas-manager from the atomic repository:
 # yum install --downloadonly --downloaddir=/tmp openvas-manager
and install
 # cd /tmp
 # rpm -i --nodeps openvas-manager-*.rpm
Now you can install greenbone-security-assistant normally with
 # yum install greenbone-security-assistant
When running
 # openvas-check-setup
you should receive:
 ...
 Step 9: Checking presence of optional tools ...
       OK: pdflatex found.
       OK: PDF generation successful. The PDF report format is likely
 to work.
 ...
If you already had installed openvas and texlive, you can remove texlive without resolving missing dependcies like this:
 # rpm -e --nodeps -v $(rpm -qa 'texlive*')
now you can reinstall texlive like described above. This should keep your existing openvas installation intact.

Comentários

Postagens mais visitadas deste blog

Upgrading Iomega ix2-200 to Cloud Edition

You just got your ix2-200 from eBay and there are no disks inside the NAS. Or you have a brand new ix2-200 -yet you could not afford Cloud Edition. No problem. With just a USB stick and a SATA adapter or desktop PC, you will easily upgrade your ix2-200 to ix2-200 Cloud Edition. Not only your ix2-200 will have a brand new interface and Cloud options, but also will become Mac OS X Lion compatible! What do we need? Decrypted! ix2-200 Cloud Edition Firmware 3.1.12.47838 S endSpace or RapidShare * USB Flash Drive with at least 2 GB capacity and LED indicator** SATA to USB adapter or desktop PC Toothpick or paperclip Preparing Hard Drives Preparing hard drives is the first step because you have to wipe all the data inside the hard drives and make them just like brand new. We used 2 x Seagate 2 TB 5900 RPM Drives. Backup any files if you have and then remove both disks from ix2-200 and attach them to SATA to USB adapter or your desktop PC's SATA port. Using

Cuckoo com Vmware Esxi

Cuckoo is an open-source malware analysis platform using sandboxing technology. The tool allows people like us to analyze malicious binaries in an isolated environment. Since Cuckoo is commonly used with Oracle VirtualBox as its virtualization platform, a majority of online documentation is focused on configuration using VirtualBox. PlantainStan and I decided to test running Cuckoo on ESXi and document our success. This guide will help with the basic configuration of ensuring Cuckoo properly interacts with ESXi. We will continue to update this post as we make continue to make an even more baller Cuckoo environment! Note: In order to successfully interact with vSphere's API, you will need the VMWare ESX Standard license. API functionality is required for Cuckoo to work with ESX. Configure ESX Since this guide is not a "how to" on installing ESXi, we will assume that you have successfully installed the hypervisor on your system. There

CentOS7 with Snort Barnyard2 Snorby PulledPork SElinux

This post is about how to install Snort "stack" on CentOS7 with potentially all the latest libs an stuff. Here I will install and configure everything to run Snort as IDS. I will write another post shortly how to run it as IPS - INLINE. System details: [ root@nfsec-ids-01 ~ ] # cat /etc/redhat-release CentOS Linux release 7.3.1611 ( Core ) [ root@nfsec-ids-01 ~ ] # uname -a Linux nfsec-ids-01.nfsec.co.uk 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Snort 2.9.9.0 Installation of snort is very basic: yum install https://www.snort.org/downloads/snort/daq-2.0.6-1.centos7.x86_64.rpm yum install https://www.snort.org/downloads/snort/snort-2.9.9.0-1.centos7.x86_64.rpm Register at Snort and download registered rule set: mkdir /usr/local/src/snortrules cd /usr/local/src/snortrules wget https://www.snort.org/rules/snortrules-snapshot-2990.tar.gz?oinkcode = < oinkcode > tar -zxvf snort