The package comes from http://packages.ubuntu.com/utopic/icinga2 . Do you
recommend this source?

I changed the path of log to be able to restart Icinga2 without root
permissions (writeable for nagios) and it was possible with previous
package. But if now it's required to be root, then I can make it with root.
No problem then.

Best regards,
Katarzyna Macias


2014-09-04 12:14 GMT+00:00 Michael Friedrich <[email protected]>:

>  Am 04.09.2014 13:50, schrieb Kasia Macias:
>
>  nagios@i-2f1219d9:~$ service icinga2 restart
>  * checking Icinga2 configuration
>  * checking Icinga2 configuration. Check '/home/nagios/logs/startup.log'
> for details.
>
>  nagios@i-2f1219d9:~$ cat /home/nagios/logs/startup.log
> [2014-09-04 11:48:22 +0000] critical/icinga-app: setgroups() failed with
> error code 1, "Operation not permitted"
>
>  This is the full output. The reload looks exactly the same.
>
>
> Yeah well. The init script requires a user with root permissions to be
> called. So the error is right about the nagios user (the Icinga 2 daemon
> user) not having the proper permissions on setgroups().
>
> Become root for restarting/reloading your icinga2 daemon.
>
> That doesn't seem to be standard packages either. At least
> '/home/nagios/logs/startup.log' is not the package default for the log dir,
> that'd be /var/log/icinga2/startup.log
>
>
>
>
>
>
> 2014-09-04 11:45 GMT+00:00 Michael Friedrich <[email protected]
> >:
>
>> Am 04.09.2014 13:33, schrieb Kasia Macias:
>>
>>  The packages 2.1.0 for Ubuntu are probably not released yet (or I just
>>> cannot find them), and I don't wanna setup it from sources, so no idea.
>>>
>>
>>  Detailed shell commands and output on your restart/reload actions?
>>
>>
>>
>>> Katarzyna Macias
>>>
>>>
>>> 2014-09-04 11:24 GMT+00:00 Michael Friedrich
>>>  <[email protected] <mailto:[email protected]>>:
>>>
>>>
>>>     Am 04.09.2014 13:13, schrieb Kasia Macias:
>>>
>>>>     Hi,
>>>>
>>>>     After update to Icinga2. 2.0.2-1 my Nagios user is not able to
>>>>     restart/reload Icinga2. The root is doing it normally.
>>>>
>>>
>>>     Is this reproducible with 2.1.0?
>>>
>>>
>>>>     Is it about some specific file permissions?
>>>>
>>>>     The startup log says only:
>>>>     critical/icinga-app: setgroups() failed with error code 1,
>>>>     "Operation not permitted"
>>>>
>>>>     Best regards,
>>>>     Katarzyna Macias
>>>>
>>>>
>>>>     _______________________________________________
>>>>     icinga-users mailing list
>>>>      [email protected]  <mailto:
>>>> [email protected]>
>>>>     https://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
>>>      <tel:%2B49%20911%2092885-77>
>>>
>>>     GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>>>     http://www.netways.de | [email protected]
>>>      <mailto:[email protected]>
>>>
>>>
>>>     ** Open Source Backup Conference 2014 - September - osbconf.org
>>>      <http://osbconf.org> **
>>>
>>>     ** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp
>>>      <http://netways.de/puppetcamp> **
>>>     ** OSMC 2014 - November - netways.de/osmc <http://netways.de/osmc>
>>> **
>>>
>>>     ** OpenNebula Conf 2014 - Dezember - opennebulaconf.com
>>>      <http://opennebulaconf.com> **
>>>
>>>     _______________________________________________
>>>     icinga-users mailing list
>>>     [email protected] <mailto:[email protected]>
>>>     https://lists.icinga.org/mailman/listinfo/icinga-users
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> icinga-users mailing list
>>> [email protected]
>>> https://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 | [email protected]
>>
>> ** 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
>> [email protected]
>> https://lists.icinga.org/mailman/listinfo/icinga-users
>>
>
>
>
> _______________________________________________
> icinga-users mailing 
> [email protected]https://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 | [email protected]
>
> ** 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
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to