Hey Alexander,
could you share the respecting lines in sudoers and auth.xml?

Cheers
Markus

2013/8/13 Alexander Vierschilling <alex.vierschill...@web.de>:
> i tried to comment it... In the end "requiretty" was disabled, but it didn't
> work...
>
> Gesendet: Montag, 12. August 2013 um 17:20 Uhr
> Von: "Markus Frosch" <mar...@lazyfrosch.de>
> An: "Icinga Users Mailingliste" <icinga-users@lists.sourceforge.net>
>
> Betreff: Re: [icinga-users] LConf - Export
>
> Hey Alexander,
> I guess your problem is "Defaults RequireTTY" - this requires the user to be
> on a terminal.
>
> Please comment that line in your sudoers file and retry.
>
> Cheers Markus
>
> Am 12.08.2013 16:59 schrieb "Alexander Vierschilling"
> <alex.vierschill...@web.de>:
>>
>> yes... when i type it in cmd (sudo -u apache sudo -u icinga
>> /usr/local/LConf/bin/llconf_deploy.sh) everything works fine... But via
>> icinga-web-interface... no chance :'(
>>
>> Gesendet: Montag, 12. August 2013 um 12:48 Uhr
>> Von: "Jannis Moßhammer" <jannis.mossham...@netways.de>
>> An: icinga-users@lists.sourceforge.net
>> Betreff: Re: [icinga-users] LConf - Export
>> Hi,
>>
>> did you run the command with sudo as the httpd user (so exactly the
>> command as lconf tries to call)?
>>
>> Greets,
>>
>> Jannis
>> --
>> Jannis Moßhammer
>> Software Developer
>>
>> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nürnberg
>> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>> GF: Julian Hein, Bernd Erk | AG Nürnberg HRB18461
>>
>> http://www.netways.de | jannis.mossham...@netways.de
>>
>>
>> ** OpenNebula Conf 2013 - September - http://opennebulaconf.com/ **
>> ** OSMC 2013 - Oktober - http://www.netways.de/osmc **
>>
>> On Aug 12, 2013, at 12:13 PM, Alexander Vierschilling
>> <alex.vierschill...@web.de> wrote:
>>
>>
>> Hello Friends,
>>
>> I got some trouble with the LConf-Exporter you can use to save your
>> Icinga-Config done with the LDAP-Editor..
>> I need permissions for the Apache User to run orders as Icinga-User.
>> Well... I configured everything like the guys did in the turorials you can
>> find all over the web.
>>
>> You have to open a specific .xml archive and input the export-order with
>> "sudo -u icnga" to make sure that the apache-user is allowed to do so.
>>
>> But everytime I want to export my LConf Config via *IPADDRESS/icinga-web,
>> i get the error-message "Could not export Config -
>>
>> sudo -u icinga /usr/local/LConf/bin/LConfDeploy.sh is not allowed
>>
>> But Why? In Centos (6.4 by the way) im able to do so via cmd..
>> Logged in as Icinga-User, I run the command "
>> /usr/local/LConf/bin/LConfExport.pl -o /usr/local/icinga/etc/config".
>> It also works with the LConfDeploy.sh command.
>>
>> I am using the latest versions of httpd, icinga, icinga-web, ...
>> I also read the errorlogs icinga put out... No solution so far!
>>
>> Please, can anybody help me?
>>
>>
>> ------------------------------------------------------------------------------
>> Get 100% visibility into Java/.NET code with AppDynamics Lite!
>> It's a free troubleshooting tool designed for production.
>> Get down to code-level detail for bottlenecks, with <2% overhead.
>> Download for free and get started troubleshooting in minutes.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk_______________________________________________
>> icinga-users mailing list
>> icinga-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Get 100% visibility into Java/.NET code with AppDynamics Lite!
>> It's a free troubleshooting tool designed for production.
>> Get down to code-level detail for bottlenecks, with <2% overhead.
>> Download for free and get started troubleshooting in minutes.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
>> _______________________________________________
>> icinga-users mailing list
>> icinga-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>



-- 
Markus Frosch
mar...@lazyfrosch.de
http://www.lazyfrosch.de

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to