1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ossec gui open_basedir errors

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by carpman, Aug 18, 2009.

  1. carpman

    carpman Guest

    Hello, trying to get ossec gui working on default domain (fixed IP) which is on main server IP but am having issues:

    Warning: opendir() [function.opendir]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/ossec owned by uid 0 in /var/www/vhosts/defaultdomain.net/httpdocs/ossec/lib/os_lib_handle.php on line 94
    Warning: opendir(/var/ossec) [function.opendir]: failed to open dir: No such file or directory in /var/www/vhosts/defaultdomain.net/httpdocs/ossec/lib/os_lib_handle.php on line 94
    Unable to access ossec directory. 
    I have read http://kb.odin.com/en/432 and created and edited

    with following

    <Directory /var/www/vhosts/defaultdomain.net/httpdocs>
    php_admin_value open_basedir "/var/www/vhosts/defaultdomain.net:/tmp:/var/ossec:/var/www/vhosts/defaultdomain.net/httpdocs:/var/www/vhosts/defaultdomain.net/httpsdocs"
    and did

    /usr/local/psa/admin/sbin/websrvmng -u --vhost-name=defaultdomain.net
    and restarted apache but no change?

    any ideas