Can't login through web interface

My setup: Mac OS X 10.3, RT 3.0.7_01, MySQL 4, Apache w/mod_perl …

Installation went OK, thanks mostly to:
http://www.boksa.de/tutorials/rt3_macosx.mpp

Now I have a web interface that won’t accept the default user /
password combo. I’ve seen in the mailing list archives that many
others have had this problem, but I haven’t seen a definitive answer.
Are people still struggling with this? It seem to a shame to have a
nice system running that you can’t log into. I’ve looked at the MySQL
rt3 tables and I see the default user’s md5_base64-encoded password is
in there.

Geoffrey
Geoffrey S. Knauth | Geoffrey S. Knauth

Geoffrey Knauth wrote:

My setup: Mac OS X 10.3, RT 3.0.7_01, MySQL 4, Apache w/mod_perl …

Installation went OK, thanks mostly to:
http://www.boksa.de/tutorials/rt3_macosx.mpp
root/password
?

I tried root/password, thanks. After I press the Login button, I just
get another login screen with Username/Password blank.

Geoffrey
Geoffrey S. Knauth | http://knauth.org/gskOn Dec 31, 2003, at 07:20, Ruslan U. Zakirov wrote:

Geoffrey Knauth wrote:

My setup: Mac OS X 10.3, RT 3.0.7_01, MySQL 4, Apache w/mod_perl …
Installation went OK, thanks mostly to:
http://www.boksa.de/tutorials/rt3_macosx.mpp
root/password
?
Now I have a web interface that won’t accept the default user /
password combo. I’ve seen in the mailing list archives that many
others have had this problem, but I haven’t seen a definitive answer.
Are people still struggling with this? It seem to a shame to have a
nice system running that you can’t log into. I’ve looked at the
MySQL rt3 tables and I see the default user’s md5_base64-encoded
password is in there.

Geoffrey Knauth wrote:

I tried root/password, thanks. After I press the Login button, I just
get another login screen with Username/Password blank.
And no error message close login box?

Try specify login and pass in URL:
rt.example.com/?name=root&pass=password

rt log within debug level? httpd logs?

Update Digest::MD5 to latest.

What browser you are using?
Can you view Cookies? There is should be something like RT_SID if don’t
use external auth.

Good luck. Ruslan.

Happy new year to all of you.

Geoffrey Knauth wrote:

I tried root/password, thanks. After I press the Login button, I
just get another login screen with Username/Password blank.
And no error message close login box?

No error.

Try specify login and pass in URL:
rt.example.com/?name=root&pass=password

Tried that, same behavior (login screen displays again).

rt log within debug level?

I’ll have to figure out how to get rt to dump logs or debug logs.
Right now, I don’t see that rt is logging anything.

httpd logs?

access_log provided an interesting clue:
127.0.0.1 - - [31/Dec/2003:09:25:50 -0500] “user=root&pass=passwordGET
/favicon.ico HTTP/1.1” 501 392

I never saw CGI parameters appear before GET like this. Looks wrong.
And indeed:

error_log is not happy about that either:
[Wed Dec 31 03:23:48 2003] [notice] Apache/1.3.28 (Darwin)
mod_perl/1.26 configured – resuming normal operations
[Wed Dec 31 03:23:48 2003] [notice] Accept mutex: flock (Default: flock)
[Wed Dec 31 09:25:35 2003] [error] [client 127.0.0.1] File does not
exist: /opt/rt3/share/html/favicon.ico
[Wed Dec 31 09:25:50 2003] [error] [client 127.0.0.1] Invalid method in
request user=root&pass=passwordGET /favicon.ico HTTP/1.1

Update Digest::MD5 to latest.

$ perldoc -m Digest::MD5 | grep ‘VERSION =’
$VERSION = ‘2.33’; # $Date: 2003/12/07 08:40:18 $

What browser you are using?

On Mac OS X: Safari 1.0, IE 5.5, NS 7. Same behavior for each browser.

Can you view Cookies? There is should be something like RT_SID if
don’t use external auth.

Yes, the cookie is there.

Good luck. Ruslan. Happy new year to all of you.

Thanks. S novym godom! Happy New Year!

Geoffrey
Geoffrey S. Knauth | Geoffrey S. Knauth

Geoffrey Knauth wrote:

Geoffrey Knauth wrote:

I tried root/password, thanks. After I press the Login button, I
just get another login screen with Username/Password blank.

And no error message close login box?

No error.

Try specify login and pass in URL:
rt.example.com/?name=root&pass=password

Tried that, same behavior (login screen displays again).

rt log within debug level?

I’ll have to figure out how to get rt to dump logs or debug logs. Right
now, I don’t see that rt is logging anything.

Use RT_SiteConfig.pm
By default RT uses SysLog, but you can specify standalone file.
Defautls are in RT_Config.pm

Look in your configs again: httpd, RT.
I really don’t know where problem is.

If you are using httpd2 and mp2 then try to update it from sources.

Good luck. Ruslan.

httpd logs?

access_log provided an interesting clue:
127.0.0.1 - - [31/Dec/2003:09:25:50 -0500] “user=root&pass=passwordGET
/favicon.ico HTTP/1.1” 501 392

I never saw CGI parameters appear before GET like this. Looks wrong.
And indeed:

error_log is not happy about that either:
[Wed Dec 31 03:23:48 2003] [notice] Apache/1.3.28 (Darwin) mod_perl/1.26
configured – resuming normal operations
[Wed Dec 31 03:23:48 2003] [notice] Accept mutex: flock (Default: flock)
[Wed Dec 31 09:25:35 2003] [error] [client 127.0.0.1] File does not
exist: /opt/rt3/share/html/favicon.ico
[Wed Dec 31 09:25:50 2003] [error] [client 127.0.0.1] Invalid method in
request user=root&pass=passwordGET /favicon.ico HTTP/1.1

Update Digest::MD5 to latest.

$ perldoc -m Digest::MD5 | grep ‘VERSION =’
$VERSION = ‘2.33’; # $Date: 2003/12/07 08:40:18 $

What browser you are using?

On Mac OS X: Safari 1.0, IE 5.5, NS 7. Same behavior for each browser.
So it’s server side issue.

Can you view Cookies? There is should be something like RT_SID if
don’t use external auth.

Yes, the cookie is there.
Seems to like httpd relaited error.

Good luck. Ruslan. Happy new year to all of you.

Thanks. S novym godom! Happy New Year!
Thanks.

What finally got me up and running was building my own apache with
statically linked mod_perl1, instead of just “enabling” the dynamic
mod_perl1 in the apache that comes with Mac OS X. Thanks for your
help.

Geoffrey
Geoffrey S. Knauth | http://knauth.org/gskOn Jan 5, 2004, at 02:45, Ruslan U. Zakirov wrote:

Geoffrey Knauth wrote:

On Dec 31, 2003, at 09:20, Ruslan U. Zakirov wrote:

Geoffrey Knauth wrote:

I tried root/password, thanks. After I press the Login button, I
just get another login screen with Username/Password blank.

And no error message close login box?
No error.
Try specify login and pass in URL:
rt.example.com/?name=root&pass=password
Tried that, same behavior (login screen displays again).
rt log within debug level?
I’ll have to figure out how to get rt to dump logs or debug logs.
Right now, I don’t see that rt is logging anything.

Use RT_SiteConfig.pm
By default RT uses SysLog, but you can specify standalone file.
Defautls are in RT_Config.pm

Look in your configs again: httpd, RT.
I really don’t know where problem is.

If you are using httpd2 and mp2 then try to update it from sources.

Good luck. Ruslan.

httpd logs?
access_log provided an interesting clue:
127.0.0.1 - - [31/Dec/2003:09:25:50 -0500]
“user=root&pass=passwordGET /favicon.ico HTTP/1.1” 501 392
I never saw CGI parameters appear before GET like this. Looks
wrong. And indeed:
error_log is not happy about that either:
[Wed Dec 31 03:23:48 2003] [notice] Apache/1.3.28 (Darwin)
mod_perl/1.26 configured – resuming normal operations
[Wed Dec 31 03:23:48 2003] [notice] Accept mutex: flock (Default:
flock)
[Wed Dec 31 09:25:35 2003] [error] [client 127.0.0.1] File does not
exist: /opt/rt3/share/html/favicon.ico
[Wed Dec 31 09:25:50 2003] [error] [client 127.0.0.1] Invalid method
in request user=root&pass=passwordGET /favicon.ico HTTP/1.1
Update Digest::MD5 to latest.
$ perldoc -m Digest::MD5 | grep ‘VERSION =’
$VERSION = ‘2.33’; # $Date: 2003/12/07 08:40:18 $
What browser you are using?
On Mac OS X: Safari 1.0, IE 5.5, NS 7. Same behavior for each
browser.
So it’s server side issue.
Can you view Cookies? There is should be something like RT_SID if
don’t use external auth.
Yes, the cookie is there.
Seems to like httpd relaited error.