Apache management plug-in for JBoss ON fails to update resource configuration using Augeas if agent was not started as same user that owns Apache configuration or as root

Solution Unverified - Updated -


  • Update apache configuration fails
  • Augeas enabled but not possible to update any configuration item
  • Agent log contains:

    ERROR [ResourceContainer.invoker.nonDaemon-3] (org.rhq.plugins.apache.ApacheDirectoryComponent)- Augeas failed to save configuration Error open_augnew
    message Permission denied
    net.augeas.AugeasException: save failed
  • Save configuration fails:

    net.augeas.AugeasException: save failed
        at net.augeas.Augeas.processLastCall(Unknown Source)
        at net.augeas.Augeas.save(Unknown Source)
  • Agent log reports:

    ERROR [ResourceContainer.invoker.nonDaemon-5] (org.rhq.plugins.apache.ApacheDirectoryComponent)- Augeas failed to save configuration Error xfer_attrs
    message Operation not permitted
    net.augeas.AugeasException: save failed


  • Red Hat JBoss Operations Network (ON) 3.2
  • Red Hat JBoss Web Server 2 management plug-in for JBoss ON
  • Apache HTTP Server resource connection setting Enable augeas support is set to true
  • User who owns the JBoss ON agent process does not have write permission to the Apache HTTP Server's configuration directory httpd/conf and is not the owner of the target configuration file -- httpd/conf/httpd.conf

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content