• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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