[rt-users] Install error - mkdir /opt/rt3/var/mason_data/obj: Permission denied

Bob.Conron at ap.ftid.com Bob.Conron at ap.ftid.com
Fri Feb 27 01:03:26 EST 2004






                               System error


                                                                           
 error: mkdir /opt/rt3/var/mason_data/obj: Permission denied at            
        /usr/local/lib/perl5/site_perl/5.8.3                               
        /HTML/Mason/Compiler/ToObject.pm line 102                          
                                                                           
 contex                                                                    
 t:                                                                        
                                                                           
        ...                                                                
                                                                           
        187:                                                               
                    # whether they should generate a full stack trace      
                    (confess() and cluck())                                
        188:                                                               
                    # or simply report the caller's package (croak() and   
                    carp()), respectively.                                 
        189:                                                               
                    # confess() and croak() die, carp() and cluck() warn.  
        190:                                                               
                                                                           
        191:                                                               
                    sub croak { die shortmess @_ }                         
        192:                                                               
                    sub confess { die longmess @_ }                        
        193:                                                               
                    sub carp { warn shortmess @_ }                         
        194:                                                               
                    sub cluck { warn longmess @_ }                         
        195:                                                               
                                                                           
        ...                                                                
                                                                           
                                                                           
                                                                           
 code   /usr/local/lib/perl5/5.8.3/Carp.pm:191                             
 stack: /usr/local/lib/perl5/5.8.3/File/Path.pm:162                        
        /usr/local/lib/perl5/5.8.3/File/Path.pm:155                        
        /usr/local/lib/perl5/site_perl/5.8.3                               
        /HTML/Mason/Compiler/ToObject.pm:102                               
        /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:308      
        /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:198     
        /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Request.pm:166     
        /usr/local/lib/perl5/site_perl/5.8.3                               
        /HTML/Mason/ApacheHandler.pm:60                                    
        /usr/local/lib/perl5/site_perl/5.8.3/Class/Container.pm:265        
        /usr/local/lib/perl5/site_perl/5.8.3/Class/Container.pm:343        
        /usr/local/lib/perl5/site_perl/5.8.3/HTML/Mason/Interp.pm:213      
        /usr/local/lib/perl5/site_perl/5.8.3                               
        /HTML/Mason/ApacheHandler.pm:863                                   
        /usr/local/lib/perl5/site_perl/5.8.3                               
        /HTML/Mason/ApacheHandler.pm:789                                   
        /opt/rt3/bin/webmux.pl:134                                         
        /dev/null:0                                                        
                                                                           



It appears that I have got Apache running as www and www owns the
directory, I have looked in the FAQ and can not find anything that is
relavent.


[root at melba2 conf]# ps -ef | grep http
root      8509     1  0 17:34 ?        00:00:00 httpd start
www       8510  8509  0 17:34 ?        00:00:00 httpd start
www       8511  8509  0 17:34 ?        00:00:00 httpd start
www       8512  8509  0 17:34 ?        00:00:00 httpd start
www       8513  8509  0 17:34 ?        00:00:00 httpd start
www       8514  8509  0 17:34 ?        00:00:00 httpd start
root      8520  6744  0 17:48 pts/0    00:00:00 grep http
[root at melba2 conf]# cd /opt/rt3/var/mason_data
[root at melba2 mason_data]# ls -al
total 5
drwxrwx---    5 www      www          1024 Feb 27 12:10 .
drwxr-xr-x    5 root     root         1024 Feb 27 12:10 ..
drwxr-xr-x    2 www      www          1024 Feb 27 12:10 cache
drwxr-xr-x    2 www      www          1024 Feb 27 12:10 etc
drwxr-xr-x    2 www      www          1024 Feb 27 12:10 obj
[root at melba2 mason_data]# cd ../
[root at melba2 var]# ls -al
total 5
drwxr-xr-x    5 root     root         1024 Feb 27 12:10 .
drwxr-xr-x    9 root     root         1024 Feb 27 12:10 ..
drwxr-xr-x    2 root     root         1024 Feb 27 12:10 log
drwxrwx---    5 www      www          1024 Feb 27 12:10 mason_data
drwxrwx---    2 www      www          1024 Feb 27 12:10 session_data



Anyone have any ideas?

Thanks

Bob

Robert Conron
IT Manager - Asia Pacific
FT Interactive Data

Phone:  + 613 92492051
Fax:       + 613 92492099
Email:     bob.conron at ap.ftid.com




More information about the rt-users mailing list