[rt-users] Problem, cannot restart HTTPD

jmoseley at corp.xanadoo.com jmoseley at corp.xanadoo.com
Tue Apr 8 09:05:29 EDT 2008


This says it all:

The RT_* files are set as root:apache and the permission is set to 500

How is the Apache process (running as user 'apache', I assume) supposed to
access your RT configs if they have no permissions to do so?  Chmod those
files to 640 or something similar - that should fix your problem.


James Moseley




                                                                           
             "Nelson Pereira"                                              
             <npereira at protus.                                             
             com>                                                       To 
             Sent by:                  <rt-users at lists.bestpractical.com>  
             rt-users-bounces@                                          cc 
             lists.bestpractic                                             
             al.com                                                Subject 
                                       [rt-users] Problem, cannot restart  
                                       HTTPD                               
             04/08/2008 07:58                                              
             AM                                                            
                                                                           
                                                                           
                                                                           
                                                                           




HI,

Did something and not sure what…:

[Tue Apr 08 09:00:00 2008] [error] \nRT couldn't load RT config file
/opt/rt3/etc/RT_SiteConfig.pm as:\n    user: root \n    group: root\n\nThe
file is owned by user root and group apache.  \n\nThis usually means that
the user/group your webserver is running\nas cannot read the file.  Be
careful not to make the permissions\non this file too liberal, because it
contains database passwords.\nYou may need to put the webserver user in the
appropriate group\n(apache) or change permissions be able to run
succesfully.\n\nUndefined subroutine &RT::loc called at
/opt/rt3/etc/RT_SiteConfig.pm line 24.\nCompilation failed in require at
/opt/rt3/lib/RT.pm line 152.\nBEGIN failed--compilation aborted at
/opt/rt3/bin/webmux.pl line 78.\nCompilation failed in require at (eval 2)
line 1.\n
[Tue Apr 08 09:00:00 2008] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server netnet-ems.protus.org:0, exiting...

The RT_* files are set as root:apache and the permission is set to 500

What do I need to do to get this file to run?




                                                                           
 Nelson Pereira                         (Embedded image moved to file:     
 Senior Network Administrator           pic26500.gif)www.MyFax.com         
                                                                           
 Protus IP Solutions Inc.                                                  
 npereira at protus.com                                                       
 phone: 613.733.0000 ext.528                                               
 MyFax: 613.822.5083                                                       
 www.myfax.com                                                             
                                                                           
 Refer your friends and colleagues to                                      
 MyFax!                                                                    
 Click here for more information.                                          
                                                                           


 _______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales at bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic26500.gif
Type: image/gif
Size: 4180 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080408/335e183b/attachment.gif>


More information about the rt-users mailing list