Hi,
I configured my distribuite environment with 2 slave and 1 master. If I
start icinga in debug mode it's ok and the server work perfectly but if I
start icinga in the master node with the command service icinga2 start, I
receive an error although the config check is correctly.
I don't understand...
I had search in all log file but I haven't trace of this error.
How I can proceed? Everyone can help me?
Thanks in advance.



2014-07-10 17:37 GMT+02:00 Michael Friedrich <michael.friedr...@netways.de>:

>  On 09.07.2014 11:17, Alfonso Pace wrote:
>
> Hi to everybody,
> I have a problem with my distribuite settings icinga.
> I don't undestand why if I send the command "service icinga2 restart" the
> new configuration isn't send to slave host cluster. But, if I send the
> command:
> icinga2 -c icinga.conf the new configuration is send to host in my cluster.
> What's the difference between "service icinga2" and "icinga2 command" ?
>
>
> 'service' is an alias to sysvinit/systemd and starts the icinga2 binary as
> daemon with required parameters.
> running icinga2 as root in foreground (canceled by ctrl+c) is only
> reasonable when debugging stuff, but not advised for production
> environments.
>
>  Sorry for my idiots questions.
> Thanks in advance.
>
>
> 2014-07-08 17:09 GMT+02:00 Michael Friedrich <michael.friedr...@netways.de
> >:
>
>>  On 08.07.2014 17:05, Alfonso Pace wrote:
>>
>> I haven't any firewall and I don't  know why my icinga master don't start 
>> although
>> the configuration is ok.
>> If I go to start icinga in my master: service icinga2 start I have the
>> follow.
>>
>>
>> Since you've started the other box in foreground already, do that here
>> too please.
>>
>> # icinga2 -c icinga2.conf -x debug
>>
>> and post the output.
>>
>>   Checking configuration: Done
>>  Starting Icinga 2: Error starting Icinga. Check
>> '/var/log/icinga2/startup.log' for details.
>>  If I go to view startup.log I have:
>>  tail /var/log/icinga2/startup.log
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 1
>> StatusDataWriter(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 2
>> HostGroup(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 3
>> ServiceGroup(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 1 Host(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 10 Service(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 1 User(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 11
>> Notification(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 1
>> UserGroup(s).
>> [2014-07-08 15:01:55 +0000] information/ConfigItem: Checked 1
>> IcingaApplication(s).
>> [2014-07-08 15:01:55 +0000] critical/icinga-app: The daemon could not be
>> started. See logfile for details.
>>  And if I go to view error.log i have this one...
>>  tail /var/log/icinga2/error.log
>> * Local state directory: /var
>> * Package data directory: /usr/share/icinga2
>> * State path: /var/lib/icinga2/icinga2.state
>> * PID path: /var/run/icinga2/icinga2.pid
>> * Application type: icinga/IcingaApplication
>> ***
>> Stacktrace:
>>
>>          (0) /lib64/libc.so.6() [0x3a364329a0]
>> icinga2: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T*
>> boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T =
>> icinga::Zone]: Assertion `px != 0' failed.
>>
>>  How I can found precious information to know where is the error?
>> In var/log/message I don't have any information icinga.
>>
>>
>>
>>
>>
>>
>>
>> 2014-07-08 16:55 GMT+02:00 Michael Friedrich <
>> michael.friedr...@netways.de>:
>>
>>> On 08.07.2014 16:49, Alfonso Pace wrote:
>>>
>>>> [2014-07-08 14:13:45 +0000] critical/ApiListener: Cannot connect to
>>>> host '10.26.10.14' on port '5665'
>>>>
>>>
>>> What's unclear with that? Is there any (icinga2) service listening on
>>> that ip address with that port and aren't there firewall policies
>>> preventing stuff?
>>>
>>> --
>>> Michael Friedrich, DI (FH)
>>> Application Developer
>>>
>>> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
>>> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>>> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>>> http://www.netways.de | michael.friedr...@netways.de
>>>
>>> ** Open Source Backup Conference 2014 - September - osbconf.org **
>>> ** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
>>> ** OSMC 2014 - November - netways.de/osmc **
>>> ** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
>>> _______________________________________________
>>> icinga-users mailing list
>>> icinga-users@lists.icinga.org
>>> https://lists.icinga.org/mailman/listinfo/icinga-users
>>>
>>
>>
>>
>>  --
>> --
>> ATTENTION: Privacy Policy – D.L.gs 196/2003
>> The information contained in this email message are of a private and
>> confidential nature and are exclusively addressed to the person indicated
>> above. In case you have received this email in error, we comunicate to you
>> that by Law, it is forbidden for another person to use, make known,
>> distribute or copy  the contents. You are asked to report it immediately,
>> replying to the sender and destroying the contents (including any attached
>> files) without making a copy or reading the contents. The message and the
>> attachments are protected and scanned with an antivirus protection
>>
>>
>> _______________________________________________
>> icinga-users mailing 
>> listicinga-users@lists.icinga.orghttps://lists.icinga.org/mailman/listinfo/icinga-users
>>
>>
>>
>> --
>> Michael Friedrich, DI (FH)
>> Application Developer
>>
>> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
>> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>> http://www.netways.de | michael.friedr...@netways.de
>>
>> ** Open Source Backup Conference 2014 - September - osbconf.org **
>> ** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
>> ** OSMC 2014 - November - netways.de/osmc **
>> ** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
>>
>> _______________________________________________
>> icinga-users mailing list
>> icinga-users@lists.icinga.org
>> https://lists.icinga.org/mailman/listinfo/icinga-users
>>
>>
>
>
>  --
> --
> ATTENTION: Privacy Policy – D.L.gs 196/2003
> The information contained in this email message are of a private and
> confidential nature and are exclusively addressed to the person indicated
> above. In case you have received this email in error, we comunicate to you
> that by Law, it is forbidden for another person to use, make known,
> distribute or copy  the contents. You are asked to report it immediately,
> replying to the sender and destroying the contents (including any attached
> files) without making a copy or reading the contents. The message and the
> attachments are protected and scanned with an antivirus protection
>
>
> _______________________________________________
> icinga-users mailing 
> listicinga-users@lists.icinga.orghttps://lists.icinga.org/mailman/listinfo/icinga-users
>
>
>
> --
> Michael Friedrich, DI (FH)
> Application Developer
>
> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
> http://www.netways.de | michael.friedr...@netways.de
>
> ** Open Source Backup Conference 2014 - September - osbconf.org **
> ** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
> ** OSMC 2014 - November - netways.de/osmc **
> ** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>


-- 
--
ATTENTION: Privacy Policy – D.L.gs 196/2003
The information contained in this email message are of a private and
confidential nature and are exclusively addressed to the person indicated
above. In case you have received this email in error, we comunicate to you
that by Law, it is forbidden for another person to use, make known,
distribute or copy  the contents. You are asked to report it immediately,
replying to the sender and destroying the contents (including any attached
files) without making a copy or reading the contents. The message and the
attachments are protected and scanned with an antivirus protection
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to