So possible same issue as this: https://dev.icinga.org/issues/10948
In case others are looking or having this issue. On Tue, Jan 26, 2016 at 12:33 PM, Lance Reed <[email protected]> wrote: > I seem to keep getting a re-occurring Icinga2 state file issue. > I can remove the state file and restart, but a few days later the same > thing happens. > I'm happy to submit a bug (how) but I want to check here to see if > others ran into anything obvious. > I did see one other post about this. > https://lists.icinga.org/pipermail/icinga-users/2016-January/010631.html > > Details on what I have found so far. > > Sometimes (not all the times) when icinga2 restarts: > > /var/log/icinga2/icinga2.log-20160125 > [2016-01-24 23:31:46 +0000] information/Application: Received request > to shut down. > [2016-01-24 23:31:46 +0000] information/Application: Shutting down... > [2016-01-24 23:31:46 +0000] information/CheckerComponent: Checker stopped. > [2016-01-24 23:31:47 +0000] information/ConfigObject: Dumping program > state to file '/var/lib/icinga2/icinga2.state' > [2016-01-24 23:31:47 +0000] information/DbConnection: Pausing IDO > connection: mysql-ido > > On a restart causes this: > > Jan 26 16:53:55 icinga01 icinga2[3826]: [2016-01-26 16:53:55 +0000] > information/ConfigObject: Restoring program state from file > '/var/lib/icinga2/icin > Jan 26 16:53:55 icinga01 icinga2[3826]: [2016-01-26 16:53:55 +0000] > critical/cli: Failed to restore state file: Error: Invalid NetString > (missing :) > Jan 26 16:53:55 icinga01 icinga2[3826]: (0) libbase.so: void > boost::throw_exception<boost::exception_detail::error_info_injector<std::invalid_argument > Jan 26 16:53:55 icinga01 icinga2[3826]: (1) libbase.so: void > boost::exception_detail::throw_exception_<std::invalid_argument>(std::invalid_argument > co > Jan 26 16:53:55 icinga01 icinga2[3826]: (2) libbase.so: > icinga::NetString::ReadStringFromStream(boost::intrusive_ptr<icinga::Stream> > const&, icinga::S > Jan 26 16:53:55 icinga01 icinga2[3826]: (3) libbase.so: > icinga::ConfigObject::RestoreObjects(icinga::String const&, int) > (+0x1f2) [0x7f58c6e37882] > Jan 26 16:53:55 icinga01 icinga2[3826]: (4) libcli.so: > icinga::DaemonCommand::Run(boost::program_options::variables_map > const&, std::vector<std::strin > Jan 26 16:53:55 icinga01 icinga2[3826]: (5) > /usr/lib64/icinga2/sbin/icinga2() [0x411e2f] > Jan 26 16:53:55 icinga01 icinga2[3826]: (6) > /usr/lib64/icinga2/sbin/icinga2() [0x40f4fa] > Jan 26 16:53:55 icinga01 icinga2[3826]: (7) libc.so.6: > __libc_start_main (+0xf5) [0x7f58c433fb15] > Jan 26 16:53:55 icinga01 icinga2[3826]: (8) > /usr/lib64/icinga2/sbin/icinga2() [0x40f601] > Jan 26 16:53:55 icinga01 systemd[1]: icinga2.service: control process > exited, code=exited status=1 > Jan 26 16:53:55 icinga01 systemd[1]: Failed to start Icinga > host/service/network monitoring system. > > ls -lr /var/lib/icinga2/icinga2.state > -rw-r--r--. 1 icinga icinga 2164897 Jan 24 23:31 > /var/lib/icinga2/icinga2.state > > Is this a know issue? > > Icinga2 versions: > icinga2-2.4.1-1.el7.centos.x86_64 > icinga2-bin-2.4.1-1.el7.centos.x86_64 > icinga2-common-2.4.1-1.el7.centos.x86_64 > icinga2-ido-mysql-2.4.1-1.el7.centos.x86_64 > icingacli-2.1.2-1.el7.centos.noarch > icingaweb2-2.1.2-1.el7.centos.noarch > icingaweb2-common-2.1.2-1.el7.centos.noarch > icingaweb2-vendor-dompdf-0.6.1-1.el7.centos.noarch > icingaweb2-vendor-HTMLPurifier-4.7.0-1.el7.centos.noarch > icingaweb2-vendor-JShrink-1.0.1-1.el7.centos.noarch > icingaweb2-vendor-lessphp-0.4.0-1.el7.centos.noarch > icingaweb2-vendor-Parsedown-1.0.0-1.el7.centos.noarch > icingaweb2-vendor-Zend-1.12.9-1.el7.centos.noarch > > I can provide more info or if relevant open a Bug on this. > > Thanks! _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
