[rt-users] Error in script

Stewart Tranter S.G.Tranter at lboro.ac.uk
Tue Jan 10 10:12:26 EST 2006


Stephen Turner wrote:
> At Tuesday 1/10/2006 09:07 AM, Stewart Tranter wrote:
> 
>> Hello,
>>
>> I have written a script which takes values from a web page and uses 
>> the CLI to submit a ticket.  I get the follwoing error in the apacher 
>> error log when i try to run it:
>>
>> [Tue Jan 10 12:03:00 2006] [error] [client 131.231.82.229] Can't 
>> locate /opt/rt3/etc/RT_SiteConfig.pm in @INC (@INC contains: 
>> /opt/rt3/etc /opt/rt3/lib
>>
>> My questions are:
>>
>> 1)  How can I fix this error?
>> 2)  What is calling RT_SiteConfig and why?
> 
> 
> I believe RT::LoadConfig(); reads the config file. Do you have read 
> permissions on the config files in /opt/rt3/etc?
> 

hurrah, after an chmod a+x on RT_Config.pm and RT_SiteConfig.pm, I have 
moved on to non-RT Specific messages :))  Thanks!

Stewart



More information about the rt-users mailing list