[rt-users] Server error: Not Found (404)

Mike Peachey mike.peachey at jennic.com
Thu Feb 1 12:32:44 EST 2007


Regardless, this doesn't deal with the issue that in rt-3.6.1 .rtrc
implementation doesn't *seem* to work, and I'd love to know if anyone
knows why..

For reference, John, you don't store the password in the .rtrc or pass
it as an environment variable, you manually run it once as whatever user
rt will run as and it will ask you for the password, once done it
creates a .rt_sessions file in that user's home directory and doesn't
ask for the password again for that user -- or at least that's how it's
worked for me.

John James wrote:
> Thanks to Mike's comment I sorted it:
> 
> The mail gateway doesn't use DNS. I had to use the actual (remote) ip in the
> address
> 
> export RTSERVER=http://123.123.123.123:88
> 
> Cheers
> 
> John
> 
> 
> 
> 
> -----Original Message-----
> From: Mike Peachey [mailto:mike.peachey at jennic.com] 
> Sent: 01 February 2007 16:46
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] Server error: Not Found (404)
> 
> I also could not get this to work and spent a great deal of time trying
> to get it to work, and none of the ways to give it a .rtrc file worked
> for me. In the end, since I was running it from a perl script, I had no
> choice but to run `export RTSERVER=http://foo.bar;export RTUSER=foo; rt
> show foobar`
> 
> John James wrote:
>> Hi
>>
>> Just started running RT 3.6.1, web and email fine AFAIK, but I cannot get
>> the CLI to work.
>>
>> My .rtrc file is:
>>
>> ser    John
>> server  http://jupiter:88
>> passwd  XXXXXX
>>
>> but when I execute /opt/rt/bin/rt I get:
>>
>> rt: show: No objects specified.
>> rt: For help, run 'rt help show'.
>> rt> rt list "Status = 'new'"
>> rt: Server error: Not Found (404)
>> john at jupiter:~>
>>
>> It doesn't ask for my password, so I assume the .rtrc file is read OK (if
>> the passwd is missing, I'm prompted)
>>
>> Any ideas??
>>
>> John
>>
>>
>> _______________________________________________
>> 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
> 

-- 
Kind Regards,

___________________________________________________

Mike Peachey, IT
Tel: +44 (0) 114 281 2655
Fax: +44 (0) 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT,  UK
http://www.jennic.com
Confidential
___________________________________________________



More information about the rt-users mailing list