• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

ossec gui open_basedir errors

C

carpman

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


Code:
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

/var/www/vhosts/defaultdomain.net/conf/vhost.conf
with following

Code:
<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"
</Directory>

and did

Code:
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=defaultdomain.net

and restarted apache but no change?

any ideas

cheers
 
Back
Top