Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using php7.2 fails with icingaweb2 (openSUSE Leap 15.0) #3599

Closed
sledz opened this issue Oct 24, 2018 · 2 comments
Closed

Using php7.2 fails with icingaweb2 (openSUSE Leap 15.0) #3599

sledz opened this issue Oct 24, 2018 · 2 comments
Labels
duplicate We already handle this in a different issue

Comments

@sledz
Copy link

sledz commented Oct 24, 2018

I see the same error like the closed #3428 with openSUSE Leap 15.0 and up-to-date versions of all components.

A new bug?

icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.1-1)

Copyright (c) 2012-2018 Icinga Development Team (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later http://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
Platform: openSUSE Leap
Platform version: 15.0
Kernel: Linux
Kernel version: 4.12.14-lp150.12.22-default
Architecture: x86_64

Build information:
Compiler: GNU 7.3.1
Build host: unknown

Application information:

General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2

Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var

Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid

icinga2 feature list
Disabled features: command compatlog debuglog elasticsearch gelf graphite influxdb livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker ido-mysql mainlog notification

icinga2 daemon -C
[2018-10-23 12:10:19 +0200] information/cli: Icinga application loader (version: r2.10.1-1)
[2018-10-23 12:10:19 +0200] information/cli: Loading configuration file(s).
[2018-10-23 12:10:19 +0200] information/ConfigItem: Committing config item(s).
[2018-10-23 12:10:19 +0200] information/ApiListener: My API identity: netmoni.internal.dresearch-fe.de
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 ScheduledDowntime.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 11 Services.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 IcingaApplication.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 Host.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 FileLogger.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 2 NotificationCommands.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 12 Notifications.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 NotificationComponent.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 2 HostGroups.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 ApiListener.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 Downtime.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 CheckerComponent.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 3 Zones.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 Endpoint.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 2 ApiUsers.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 User.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 IdoMysqlConnection.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 215 CheckCommands.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 1 UserGroup.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 3 ServiceGroups.
[2018-10-23 12:10:19 +0200] information/ConfigItem: Instantiated 3 TimePeriods.
[2018-10-23 12:10:19 +0200] information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
[2018-10-23 12:10:19 +0200] information/cli: Finished validating the configuration file(s).

rpm -q -i icinga2 icingaweb2 php7
Name : icinga2
Version : 2.10.1
...
Name : icingaweb2
Version : 2.5.3
...
Name : php7
Version : 7.2.5
...

Originally posted by @sledz in #3428 (comment)

@dnsmichi
Copy link
Contributor

As mentioned in #3428 (comment)

5d10077 is scheduled for v2.6.0. v2.5.2 is already out.

you'll need 2.6.0+ for this fix (#3185).

@dnsmichi dnsmichi added the duplicate We already handle this in a different issue label Oct 24, 2018
@sledz
Copy link
Author

sledz commented Oct 24, 2018

Thanx for this info and sorry for disturbing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate We already handle this in a different issue
Projects
None yet
Development

No branches or pull requests

2 participants