• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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