[rt-users] Error in script

Stephen Turner sturner at MIT.EDU
Tue Jan 10 10:31:55 EST 2006


At Tuesday 1/10/2006 10:24 AM, Stewart Tranter wrote:
>Stewart Tranter wrote:
>>hurrah, after an chmod a+x on RT_Config.pm and RT_SiteConfig.pm, I have 
>>moved on to non-RT Specific messages :))  Thanks!
>
>Sadly back on to RT errors now.  I now get:
>
>[Tue Jan 10 15:23:37 2006] [error] [client 131.231.82.229] [Tue Jan 10 
>15:23:37 2006] [err]: Couldn't load  from the users database., referer: 
>http://gilo/Ticket/Create.html?casetype=Problem&Queue=Helpdesk
>[Tue Jan 10 15:23:37 2006] [error] [client 131.231.82.229] 
>(/opt/rt3/lib/RT/CurrentUser.pm:146), referer: 
>http://gilo/Ticket/Create.html?casetype=Problem&Queue=Helpdesk
>
>I have tried with root and with non-root users, but to no avail :(  Can 
>anyone help please?

For whichever RT user you want to be the 'current' user, you have to set 
the Gecos field to the Unix login name you are using to run the script. For 
example, if you are logged in to the machine as 'root' and you want the 
current user to be the RT user 'stewart', you need to make sure stewart's 
Gecos field in RT is set to 'root'.

Steve 




More information about the rt-users mailing list