Announcement

Collapse
No announcement yet.

Permission denied in /usr/local/oreon/exportedb.php on line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Permission denied in /usr/local/oreon/exportedb.php on line

    When ever I press "generate" for Generate configuration files under Apply I receive multi errors indicating that I do not have permission. Can someone tell me what am I doing wrong here?



    Here are thos errors:

    ____________________________________________

    Warning: copy(/usr/local/nagios/etc/checkcommands.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/contactgroups.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/contacts.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/dependencies.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/escalations.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/hostextinfo.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/hostgroups.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/hosts.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/misccommands.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/nagios.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/resource.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/services.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81

    Warning: copy(/usr/local/nagios/etc/timeperiods.cfg): failed to open stream: Permission denied in /usr/local/oreon/exportedb.php on line 81
    Error during the generation or the displacement of the files


  • #2
    hi,

    make a chown apache:apache /usr/local/nagios/etc/* chown apache:apache /usr/local/nagios/etc/. and chmod 755 /usr/local/nagios/etc/*

    apache can't overwrite nagios configuration files
    Julien Mathis
    Centreon Project Leader
    www.merethis.com |

    Comment

    Working...
    X