Comments for JGuru https://jguru.fi When you need a guru Wed, 03 Jan 2018 11:48:00 +0000 hourly 1 Comment on Creating a custom Nginx build for Ubuntu/Debian by karpov https://jguru.fi/creating-custom-nginx-build-ubuntudebian.html#comment-21 Wed, 03 Jan 2018 11:48:00 +0000 https://javaguru.fi/?p=174#comment-21 root@debian:~# apt-get source nginx
Reading package lists… Done
Need to get 1,091 kB of source archives.
Get:1 http://nginx.org/packages/debian stretch/nginx nginx 1.12.2-1~stretch (dsc) [1,511 B]
Get:2 http://nginx.org/packages/debian stretch/nginx nginx 1.12.2-1~stretch (tar) [982 kB]
Get:3 http://nginx.org/packages/debian stretch/nginx nginx 1.12.2-1~stretch (diff) [108 kB]
Fetched 1,091 kB in 0s (1,719 kB/s)
dpkg-source: info: extracting nginx in nginx-1.12.2
dpkg-source: info: unpacking nginx_1.12.2.orig.tar.gz
dpkg-source: info: unpacking nginx_1.12.2-1~stretch.debian.tar.xz
W: Download is performed unsandboxed as root as file ‘nginx_1.12.2-1~stretch.dsc’ couldn’t be accessed by user ‘_apt’. – pkgAcquire::Run (13: Permission denied)

]]>
Comment on Setting up https with Let’s Encrypt on Nginx by How to get Tomcat to see HTTPS when it's terminated elsewhere - JGuru https://jguru.fi/setting-https-lets-encrypt-nginx.html#comment-20 Sat, 07 Oct 2017 09:36:21 +0000 https://javaguru.fi/?p=162#comment-20 […] using Nginx and for instructions on how to setup HTTPS with Nginx check out my post on setting up Nginx with Let’s Encrypt. Once you’ve setup https with Nginx add following location block to the server block with […]

]]>
Comment on What to Do When You Get “Error listerStart” with Tomcat by Nacho https://jguru.fi/what-to-do-when-you-get-error-listerstart-with-tomcat.html#comment-18 Thu, 14 Jan 2016 16:53:00 +0000 http://javaguru.fi/?p=20#comment-18 Thank’s

]]>
Comment on Monitoring Liferay with Nagios, Jolokia and JMX4Perl by Mark Bednarski https://jguru.fi/monitoring-liferay-with-nagios-jolokia-and-jmx4perl.html#comment-6 Thu, 09 Apr 2015 16:59:00 +0000 http://javaguru.fi/?p=7#comment-6 In reply to Mika Koivisto.

This did the trick. Thank you very much!

]]>
Comment on Monitoring Liferay with Nagios, Jolokia and JMX4Perl by Mika Koivisto https://jguru.fi/monitoring-liferay-with-nagios-jolokia-and-jmx4perl.html#comment-5 Thu, 09 Apr 2015 05:33:00 +0000 http://javaguru.fi/?p=7#comment-5 In reply to Mark Bednarski.

Hi Mark

It seems it’s missing few dependencies XML::Twig, XML::LibXML and Nagios::Plugin. You can install them via CPAN also or you can use APT which is what I usually prefer. I only use CPAN for perl modules not found as a debian package. Just run apt-get install libxml-twig-perl libxml-libxml-perl libnagios-plugin-perl and you should have those missing libs.

]]>
Comment on Monitoring Liferay with Nagios, Jolokia and JMX4Perl by Mark Bednarski https://jguru.fi/monitoring-liferay-with-nagios-jolokia-and-jmx4perl.html#comment-4 Thu, 09 Apr 2015 01:27:00 +0000 http://javaguru.fi/?p=7#comment-4 Hi Mika

I tried to follow your explanations on my ubuntu 14.04 machine, but when I run:
cpan> install JMX::Jmx4Perl

Unfortunately I get the following error.
By any chance you have an idea what could have gone wrong?

Thanks
Mark

CPAN.pm: Building R/RO/ROLAND/jmx4perl-1.11.tar.gz

Warning: Prerequisite ‘XML::Twig => 0’ for ‘ROLAND/jmx4perl-1.11.tar.gz’ failed when processing ‘MIROD/XML-Twig-3.48.tar.gz’ with ‘make_test => NO one dependency not OK (XML::Parser); additionally test harness failed’. Continuing, but chances to succeed are limited.

Warning: Prerequisite ‘XML::LibXML => 0’ for ‘ROLAND/jmx4perl-1.11.tar.gz’ failed when processing ‘SHLOMIF/XML-LibXML-2.0118.tar.gz’ with ‘writemakefile => NO — No ‘Makefile’ created

‘. Continuing, but chances to succeed are limited.

Building jmx4perl

ROLAND/jmx4perl-1.11.tar.gz

./Build — OK

Running Build test

t/10_handler.t ……… ok

t/20_alias.t ……….. ok

t/30_request.t ……… ok

t/40_check_jmx4perl.t .. skipped: Nagios::Plugin not installed

t/50_config.t ………. ok

t/60_parse_name.t …… ok

t/70_pod_syntax.t …… skipped: these tests are for release candidate testing

All tests successful.

Files=7, Tests=66, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.50 cusr 0.05 csys = 0.59 CPU)

Result: PASS

ROLAND/jmx4perl-1.11.tar.gz

Tests succeeded but 3 dependencies missing (XML::Twig,XML::LibXML,Nagios::Plugin)

ROLAND/jmx4perl-1.11.tar.gz

[dependencies] — NA

Running Build install

make test had returned bad status, won’t install without force

Could not read metadata file. Falling back to other methods to determine prerequisites

Failed during this command:

SHLOMIF/XML-LibXML-2.0118.tar.gz : writemakefile NO — No ‘Makefile’ created

TODDR/XML-Parser-2.44.tar.gz : make NO

MIROD/XML-Twig-3.48.tar.gz : make_test NO one dependency not OK (XML::Parser); additionally test harness failed

ROLAND/jmx4perl-1.11.tar.gz : make_test NO 3 dependencies missing (XML::Twig,XML::LibXML,Nagios::Plugin

]]>