Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-26 Thread Lars Engels
On Fri, Aug 26, 2016 at 09:34:32AM +0200, Raul wrote:
> 
> Lars Engels  escribió:
> 
> >> still with 'libcli-1.9.6_1' installed
> >> removing ssl from USES let it run again
> > Please delete devel/libcli as a workaround.
> 
> Ok so, without libcli and with ssl:
> 
> []
> Performing sanity check of icinga2 configuration:  
> /usr/local/lib/icinga2/libcli.so: Undefined symbol  
> "_ZN6icinga14ConfigCompiler15CollectIncludesERNSt3__16vectorIPNS_10ExpressionENS1_9allocatorIS4_RKNS_6StringESB_SB_"
> []
> 
> with libcli and ssl:
> 
> []
> Performing sanity check of icinga2 configuration:  
> /usr/local/lib/icinga2/libremote.so: Undefined symbol  
> "_ZTVN6icinga18GetScopeExpressionE"
> []
> 
> with libcli and without ssl it works
> 

Meh, thanks!


Upstream now has a patch that I will try.


pgpOYH3_en2C8.pgp
Description: PGP signature


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-26 Thread Raul


Lars Engels  escribió:


still with 'libcli-1.9.6_1' installed
removing ssl from USES let it run again

Please delete devel/libcli as a workaround.


Ok so, without libcli and with ssl:

[]
Performing sanity check of icinga2 configuration:  
/usr/local/lib/icinga2/libcli.so: Undefined symbol  
"_ZN6icinga14ConfigCompiler15CollectIncludesERNSt3__16vectorIPNS_10ExpressionENS1_9allocatorIS4_RKNS_6StringESB_SB_"

[]

with libcli and ssl:

[]
Performing sanity check of icinga2 configuration:  
/usr/local/lib/icinga2/libremote.so: Undefined symbol  
"_ZTVN6icinga18GetScopeExpressionE"

[]

with libcli and without ssl it works

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-26 Thread Lars Engels
On Thu, Aug 25, 2016 at 10:36:06PM +0200, Raul wrote:
> 
> Lars Engels  escribió:
> 
> >> []
> >> # service icinga2 start
> >> Performing sanity check of icinga2 configuration:
> >> /usr/local/lib/icinga2/libcli.so: Undefined symbol
> >> "_ZN6icinga14ConfigCompiler15CollectIncludesERNSt3__16vectorIPNS_10ExpressionENS1_9allocatorIS4_RKNS_6StringESB_SB_"
> >> FAILED
> >> []
> >
> > This is now fixed.
> 
> I'm sorry to say it but not in my case (openssl-1.0.2_14)

:-/
> 
> []
> Performing sanity check of icinga2 configuration:  
> /usr/local/lib/icinga2/libremote.so: Undefined symbol  
> "_ZTVN6icinga18GetScopeExpressionE"
> []
> 
> still with 'libcli-1.9.6_1' installed
> removing ssl from USES let it run again
> 

Please delete devel/libcli as a workaround.


pgp6ZNyUifNEb.pgp
Description: PGP signature


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-25 Thread Raul


Lars Engels  escribió:


[]
# service icinga2 start
Performing sanity check of icinga2 configuration:
/usr/local/lib/icinga2/libcli.so: Undefined symbol
"_ZN6icinga14ConfigCompiler15CollectIncludesERNSt3__16vectorIPNS_10ExpressionENS1_9allocatorIS4_RKNS_6StringESB_SB_"
FAILED
[]


This is now fixed.


I'm sorry to say it but not in my case (openssl-1.0.2_14)

[]
Performing sanity check of icinga2 configuration:  
/usr/local/lib/icinga2/libremote.so: Undefined symbol  
"_ZTVN6icinga18GetScopeExpressionE"

[]

still with 'libcli-1.9.6_1' installed
removing ssl from USES let it run again

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-25 Thread Lars Engels
On Tue, Aug 23, 2016 at 09:08:48PM +0200, Raúl wrote:
> Hello!
> 
> grateful for the great work on the ports
> I don't remember last problem upgrading with them, Awesome!
> just a little setback
> 
> upgraded using portmaster, everything went apparently fine
> followed pkg-message to update schema db as I use mysql, also fine
> but when I try to start it I got:
> 
> []
> # service icinga2 start
> Performing sanity check of icinga2 configuration: 
> /usr/local/lib/icinga2/libcli.so: Undefined symbol 
> "_ZN6icinga14ConfigCompiler15CollectIncludesERNSt3__16vectorIPNS_10ExpressionENS1_9allocatorIS4_RKNS_6StringESB_SB_"
> FAILED
> []

This is now fixed.


pgpqBQ1o7ZdnS.pgp
Description: PGP signature


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Matthias Fechner
Dear all,

Am 24.08.2016 um 15:12 schrieb Lars Engels:
> I do not have *ssl from ports installed, so Icinga 2 uses the SSL
> version from base. That's why it works for me.

I face the exact same problem. I think SSL is required if you want to
talk to icinga installation on other hosts?
I personally require SSL from ports as the base SSL cannot do alpn.

But as the old 2.4.10 version worked fine with SSL port from ports,
there must be a change upstream that breaks compatibility with OpenSSL
1.0.2h?

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Lars Engels
On Wed, Aug 24, 2016 at 03:01:53PM +0200, Lars Engels wrote:
> On Wed, Aug 24, 2016 at 02:36:24PM +0200, Raul wrote:
> > 
> > Walter Schwarzenfeld  escribió:
> > 
> > ...
> > > if I remove USESßssl
> > 
> > I have openssl from ports.
> > 
> > Removed ssl from USES and yes, starts without problem.
> > Basic configuration here, logs are clean and icingaweb2 also likes it.
> 
> Strange. Thank you both for your observations!
> > 
> > Is this a PR case?.
> 
> No, I am the maintainer of the Icinga ports. :) 
> I'll try to find out why this happens.

I do not have *ssl from ports installed, so Icinga 2 uses the SSL
version from base. That's why it works for me.


pgpuA6Y7qyiz2.pgp
Description: PGP signature


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Lars Engels
On Wed, Aug 24, 2016 at 02:36:24PM +0200, Raul wrote:
> 
> Walter Schwarzenfeld  escribió:
> 
> ...
> > if I remove USESßssl
> 
> I have openssl from ports.
> 
> Removed ssl from USES and yes, starts without problem.
> Basic configuration here, logs are clean and icingaweb2 also likes it.

Strange. Thank you both for your observations!
> 
> Is this a PR case?.

No, I am the maintainer of the Icinga ports. :) 
I'll try to find out why this happens.



pgpouJ5ZBbDWC.pgp
Description: PGP signature


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Raul


Walter Schwarzenfeld  escribió:

...

if I remove USESßssl


I have openssl from ports.

Removed ssl from USES and yes, starts without problem.
Basic configuration here, logs are clean and icingaweb2 also likes it.

Is this a PR case?.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Walter Schwarzenfeld
Forgot to mention, I have libressl as default, maybe this causes the 
problem.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Walter Schwarzenfeld

Cause I  only had a quick look  in  it, I have not configured it,
but
if I remove USESßssl
It seems to start (So I have eror messages, but it seems they are only  
of missing cofiguration). Please, test it.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Lars Engels
On Wed, Aug 24, 2016 at 12:17:00PM +0200, Raul wrote:
> 
> Walter Schwarzenfeld  escribió:
> 
> > This error message does not appear if I install devel/libcli.
> > But then:
> 
> Same here.

From your portmaster logfile:

===>   icinga2-2.5.1 depends on shared library: libconfig.so - found 
(/usr/local/lib/libconfig.so)

Can you try to-rebuild libconfig and then icinga2 again?



pgpYajDgxNGsc.pgp
Description: PGP signature


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Raul


Walter Schwarzenfeld  escribió:


This error message does not appear if I install devel/libcli.
But then:


Same here.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Walter Schwarzenfeld

This error message does not appear if I install devel/libcli.
But then:
Performing sanity check of icinga2 configuration: 
/usr/local/lib/icinga2/libremote.so: Undefined symbol 
"_ZTVN6icinga18GetScopeExpressionE"

FAILED


___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Raul


Lars Engels  escribió:


WITH_PKGNG=yes

   you can savely remove this


Removed, thanks!


Do you have the output from portmaster?


https://turing.b2n.org/owncloud/index.php/s/zmFcqMX8EHEpJRl

Thanks a lot in advance.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-24 Thread Lars Engels
On Tue, Aug 23, 2016 at 09:08:48PM +0200, Raúl wrote:
> Hello!
> 
> grateful for the great work on the ports
> I don't remember last problem upgrading with them, Awesome!
> just a little setback
> 
> upgraded using portmaster, everything went apparently fine
> followed pkg-message to update schema db as I use mysql, also fine
> but when I try to start it I got:
> 
> []
> # service icinga2 start
> Performing sanity check of icinga2 configuration: 
> /usr/local/lib/icinga2/libcli.so: Undefined symbol 
> "_ZN6icinga14ConfigCompiler15CollectIncludesERNSt3__16vectorIPNS_10ExpressionENS1_9allocatorIS4_RKNS_6StringESB_SB_"
> FAILED
> []
> 
> Not sure if I'm alone here.
> 
> this box runs 10.3-RELEASE-p6 and make.conf contains
> 
> []
> INSTALL_NODEBUG="YES"
> OPTIONS_UNSET=X11
> OPTIONS_UNSET=GUI
> BATCH=YES
> FORCE_PKG_REGISTER=yes
> WITH_PKGNG=yes
   you can savely remove this
> #WITH_OPENSSL_PORT=yes
> DEFAULT_VERSIONS+=  ssl=openssl
> []

Do you have the output from portmaster?


pgp3elJFpsNwk.pgp
Description: PGP signature


problem with net-mgmt/icinga2 upgrading from 2.4.10 to 2.5.1 (r420729)

2016-08-23 Thread Raúl

Hello!

grateful for the great work on the ports
I don't remember last problem upgrading with them, Awesome!
just a little setback

upgraded using portmaster, everything went apparently fine
followed pkg-message to update schema db as I use mysql, also fine
but when I try to start it I got:

[]
# service icinga2 start
Performing sanity check of icinga2 configuration: 
/usr/local/lib/icinga2/libcli.so: Undefined symbol 
"_ZN6icinga14ConfigCompiler15CollectIncludesERNSt3__16vectorIPNS_10ExpressionENS1_9allocatorIS4_RKNS_6StringESB_SB_"

FAILED
[]

Not sure if I'm alone here.

this box runs 10.3-RELEASE-p6 and make.conf contains

[]
INSTALL_NODEBUG="YES"
OPTIONS_UNSET=X11
OPTIONS_UNSET=GUI
BATCH=YES
FORCE_PKG_REGISTER=yes
WITH_PKGNG=yes
#WITH_OPENSSL_PORT=yes
DEFAULT_VERSIONS+=  ssl=openssl
[]

Best regards,
Raúl.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"