[rt-users] Problem, cannot restart HTTPD

Jesse Vincent jesse at bestpractical.com
Tue Apr 8 09:35:15 EDT 2008


On Apr 8, 2008, at 9:13 AM, Nelson Pereira wrote:
> Ok that seems to have fixed the issue...
>
> But that line (I commented it out for now) is
>
> Set($LogoAltText, loc("company Solutions, RT Network Services Ticket
> System"));
>
> What is wrong with this line? This was taken from the documentation...
>

What documentation?


In this case, the problem is that even if it worked, that "loc" would  
be run as the config file is loaded, which would get a single string  
returned.


Do you really want to localize the alt text?


>
>
> Refer your friends and colleagues to MyFax!
> Click here for more information. 	www.MyFax.com 	
>
> -----Original Message-----
> From: Jesse Vincent [mailto:jesse at bestpractical.com]
> Sent: Tuesday, April 08, 2008 9:01 AM
> To: Nelson Pereira
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] Problem, cannot restart HTTPD
>
> "Undefined subroutine &RT::loc called at /opt/rt3/etc/RT_SiteConfig.pm
> line 24"
>
> is the isssue.
>
>
> On Apr 8, 2008, at 8:58 AM, Nelson Pereira wrote:
>> 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
>> Senior Network Administrator
>>
>> 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.
>> <image001.gif>
>>
>> _______________________________________________
>> 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: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20080408/20db7a7d/attachment.sig>


More information about the rt-users mailing list