Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF format

2015-09-17 Thread Chris
Hi,

> My scanner and manager versions are 5.0.4 and 6.0.5. Are they not
latest ones?

mhhh, strange. Normally 6.0.5 of the manager should have fixed this:

http://wald.intevation.org/frs/shownotes.php?release_id=826
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss


Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF format

2015-09-17 Thread Eero Volotinen
Well, that was copy of my chef cookbook that installs openvas from sources
and it provides working pdf support.

Please doublecheck your commands..

Eero

pe 18. syyskuuta 2015 1.12 Artie Leu <a...@fortinet.com> kirjoitti:

> Thanks for all tips.  But it doesn’t work for me. Openvas-check-pdf still
> gives same output.  L
>
>
>
> *From:* eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] *On
> Behalf Of *Eero Volotinen
> *Sent:* Thursday, September 17, 2015 3:01 PM
>
>
> *To:* Artie Leu
> *Cc:* openvas-discuss@wald.intevation.org
> *Subject:* Re: [Openvas-discuss] [Newsletter] Re: issue of download
> report in PDF format
>
>
>
> Centos 7 is a bit buggy on pdf so it requires workaround
>
>
>
> run following commands:
>
>
>
> yum search tex | awk \'/^tex/ { print $1 }\' | xargs yum install -y
>
>
>
> mkdir -p /usr/share/texlive/texmf-local/tex/latex/comment
>
>
>
> download this file http://ping-viini.org/comment.sty to location
> /usr/share/texlive/texmf-local/tex/latex/comment/comment.sty
>
> with root owner and permission 664
>
>
>
> run following command:
>
>
>
> cd /usr/share/texlive/texmf-local/tex/latex/comment ; texhash
>
>
>
> it should work after this hack-a-round ? test with my openvas-check-pdf
> script?
>
>
>
> --
>
> Eero
>
>
>
>
>
> 2015-09-18 0:55 GMT+03:00 Artie Leu <a...@fortinet.com>:
>
> My OpenVAS-8 is installed on CentOS 7.  I am confused by what It is really
> missing.  The latex pkg is installed already.  Any idea?
>
>
>
> [root@centos]# yum install texlive-latex
>
> Loaded plugins: fastestmirror, langpacks
>
> Loading mirror speeds from cached hostfile
>
> * atomic: www6.atomicorp.com
>
> * base: mirror.pac-12.org
>
> * extras: mirror.pac-12.org
>
> * updates: mirrors.xmission.com
>
> Package 2:texlive-latex-svn27907.0-32.el7.noarch already installed and
> latest version
>
> Nothing to do
>
>
>
> [root@centos]# pdflatex -version
>
> pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
>
> kpathsea version 6.1.1
>
> Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
>
> There is NO warranty.  Redistribution of this software is
>
> covered by the terms of both the pdfTeX copyright and
>
> the Lesser GNU General Public License.
>
> For more information about these matters, see the file
>
> named COPYING and the pdfTeX source.
>
> Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh
> (pdfTeX).
>
> Compiled with libpng 1.5.13; using libpng 1.5.13
>
> Compiled with zlib 1.2.7; using zlib 1.2.7
>
> Compiled with poppler version 0.22.5
>
>
>
> *From:* eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] *On
> Behalf Of *Eero Volotinen
> *Sent:* Thursday, September 17, 2015 2:49 PM
>
>
> *To:* Artie Leu
> *Cc:* openvas-discuss@wald.intevation.org
> *Subject:* Re: [Openvas-discuss] [Newsletter] Re: issue of download
> report in PDF format
>
>
>
> as you can see from output that your system is missing (pdf) latex tools
> and libraries.
>
>
>
> what os (distribution) you are using?
>
>
>
> you need to install 'pdflatex' and related tools using package
> management. on centos 7 workaround is needed it contains buggy pdf support.
>
>
>
> --
>
> Eero
>
>
>
> 2015-09-18 0:14 GMT+03:00 Artie Leu <a...@fortinet.com>:
>
> I got the output below:
>
>
>
> [root@centos7 # ./openvas-check-pdf
>
> Step 10: 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.
>
>
>
> *From:* eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] *On
> Behalf Of *Eero Volotinen
> *Sent:* Thursday, September 17, 2015 2:10 PM
> *To:* Artie Leu
> *Cc:* openvas-discuss@wald.intevation.org
>
>
> *Subject:* Re: [Openvas-discuss] [Newsletter] Re: issue of download
> report in PDF format
>
>
>
> Hi,
>
>
>
> run this script and what is output related to pdf stuff:
>
>
>
> http://ping-viini.org/openvas-check-pdf
>
>
>
> --
>
> Eero
>
> to 17. syyskuuta 2015 23.42 Artie Leu <a...@fortinet.com> kirjoitti:
>
> Hi Eero,  I don’t see any PDF dependency mentioned in the output of
> “openvas-check-setup”?-Artie
>
>
>
> *From:* Openvas-discuss [mailto:
> openvas-discuss-boun...@wald.intevation.org] *On Behalf Of *Eero Volotinen
>

Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF format

2015-09-17 Thread Artie Leu
I got an error on 1st cmomand.

[root@aleu-vlnx4 aleu4]# yum search tex | awk \'/^tex/ { print $1 }\' | xargs 
yum install -y
awk: cmd. line:1: '/^tex/
awk: cmd. line:1: ^ invalid char ''' in expression
Loaded plugins: fastestmirror, langpacks
Error: Need to pass a list of pkgs to install
Mini usage:

install PACKAGE...

Install a package or packages on your system

aliases: install-n, install-na, install-nevra

Exiting on Broken Pipe

From: eero.t.voloti...@gmail.com [mailto:eero.t.voloti...@gmail.com] On Behalf 
Of Eero Volotinen
Sent: Thursday, September 17, 2015 3:23 PM
To: Artie Leu
Cc: openvas-discuss@wald.intevation.org
Subject: Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF 
format


please run following commands on root account



yum search tex | awk \'/^tex/ { print $1 }\' | xargs yum install -y

mkdir -p /usr/share/texlive/texmf-local/tex/latex/comment

cd /usr/share/texlive/texmf-local/tex/latex/comment

wget http://ping-viini.org/comment.sty

chown root:root comment.sty

chmod 664 comment.sty

texhash

From: Artie Leu
Sent: Thursday, September 17, 2015 3:12 PM
To: 'Eero Volotinen'
Cc: 
openvas-discuss@wald.intevation.org<mailto:openvas-discuss@wald.intevation.org>
Subject: RE: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF 
format

Thanks for all tips.  But it doesn’t work for me. Openvas-check-pdf still gives 
same output.  ☹

From: eero.t.voloti...@gmail.com<mailto:eero.t.voloti...@gmail.com> 
[mailto:eero.t.voloti...@gmail.com] On Behalf Of Eero Volotinen
Sent: Thursday, September 17, 2015 3:01 PM
To: Artie Leu
Cc: 
openvas-discuss@wald.intevation.org<mailto:openvas-discuss@wald.intevation.org>
Subject: Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF 
format

Centos 7 is a bit buggy on pdf so it requires workaround

run following commands:


yum search tex | awk \'/^tex/ { print $1 }\' | xargs yum install -y



mkdir -p /usr/share/texlive/texmf-local/tex/latex/comment



download this file http://ping-viini.org/comment.sty to location 
/usr/share/texlive/texmf-local/tex/latex/comment/comment.sty

with root owner and permission 664



run following command:



cd /usr/share/texlive/texmf-local/tex/latex/comment ; texhash



it should work after this hack-a-round ? test with my openvas-check-pdf script?



--

Eero




***  Please note that this message and any attachments may contain confidential 
and proprietary material and information and are intended only for the use of 
the intended recipient(s). If you are not the intended recipient, you are 
hereby 
notified that any review, use, disclosure, dissemination, distribution or 
copying 
of this message and any attachments is strictly prohibited. If you have 
received 
this email in error, please immediately notify the sender and destroy this 
e-mail 
and any attachments and all copies, whether electronic or printed.
Please also note that any views, opinions, conclusions or commitments expressed 
in this message are those of the individual sender and do not necessarily 
reflect 
the views of Fortinet, Inc., its affiliates, and emails are not binding on 
Fortinet and only a writing manually signed by Fortinet's General Counsel can 
be 
a binding commitment of Fortinet to Fortinet's customers or partners. Thank 
you. **___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF format

2015-09-17 Thread Artie Leu
Thanks, Chris.  My scanner and manager versions are 5.0.4 and 6.0.5.  Are they 
not latest ones?  If not, could you advise how and where to upgrade them to 
latest versions?  Thanks.   

-Original Message-
From: Openvas-discuss [mailto:openvas-discuss-boun...@wald.intevation.org] On 
Behalf Of Chris
Sent: Thursday, September 17, 2015 11:06 AM
To: openvas-discuss@wald.intevation.org
Subject: [Newsletter] Re: [Openvas-discuss] issue of download report in PDF 
format

Hi,

> Any idea what went wrong?

try to update your OpenVAS components to the latest available versions.

especially the empty report generation was a bug in one of the previous 
versions of i think scanner or manager (just check the changelogs).
___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

***  Please note that this message and any attachments may contain confidential 
and proprietary material and information and are intended only for the use of 
the intended recipient(s). If you are not the intended recipient, you are 
hereby 
notified that any review, use, disclosure, dissemination, distribution or 
copying 
of this message and any attachments is strictly prohibited. If you have 
received 
this email in error, please immediately notify the sender and destroy this 
e-mail 
and any attachments and all copies, whether electronic or printed.
Please also note that any views, opinions, conclusions or commitments expressed 
in this message are those of the individual sender and do not necessarily 
reflect 
the views of Fortinet, Inc., its affiliates, and emails are not binding on 
Fortinet and only a writing manually signed by Fortinet's General Counsel can 
be 
a binding commitment of Fortinet to Fortinet's customers or partners. Thank 
you. ***

___
Openvas-discuss mailing list
Openvas-discuss@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss