Help with RT 4.0.4 Installation-Mason permission denied issue

Hi,

I am trying to install RT 4.0.4 on Centos 6. I am almost done with the installation. However, when i try to start my web server (Apache - user: apache, group: apache) i get the following error:

Starting httpd: [warning]: (in cleanup) Error while loading /opt/rt4/sbin/rt-server: Cannot create directory '/opt/rt4/var/mason_data/obj' (mkdir /opt/rt4/var/mason_data/obj: Permission denied at /usr/local/share/perl5/HTML/Mason/Interp.pm line 301
) for user 'root', group 'root'. Perhaps you need to create or set permissions on your data_dir ('/opt/rt4/var/mason_data').

I tried changing the permissions for "/opt/rt4/var/mason_data" but i still get the same error. I tried all possible permissions combination but no luck. still get the same error.

Following is the current permissions for the dir:

drwxrwxrwx. 3 root root 4096 Jan 9 12:39 opt
drwxrwxrwx. 10 root root 4096 Jan 9 12:40 rt4
drwxrwxrwx. 5 root root 4096 Jan 9 12:39 var
cd var/
ls -al
drwxrwxrwx. 5 root root 4096 Jan 9 12:39 .
drwxrwxrwx. 10 root root 4096 Jan 9 12:40 ..
drwxr-xr-x. 2 root root 4096 Jan 9 12:39 log
drwxrwxrwx. 4 apache apache 4096 Jan 9 18:06 mason_data
drwxrwx---. 2 apache apache 4096 Jan 9 12:39 session_data

I am struck here and not sure what else to check/modify to make it work. Any help/suggestions would be really great :slight_smile:

Thanks!