Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Login not working.

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


nelsonab at pobox

Sep 29, 2009, 5:12 PM

Post #1 of 4 (632 views)
Permalink
Login not working.

I have a vhost setup for trac which does not want to let me do logins.
I'm getting to my wits end on figuring this out.

When I click on login I get the following error:
Trac Error
Authentication information not available. Please refer to the
installation documentation
<http://trac.red-tux.net/wiki/TracInstall#ConfiguringAuthentication>.

When I remove the login location tag and make the whole trac instance
part of http auth I get a login prompt and I show myself as being
authenticated. But when I have location based authentication it's not
working. Going through the trac logs is proving to be pretty useless.
Apache is not showing any errors either except for not being able to
show the banner image.

OpenSuSE 11.1 x86_64
apache2-prefork-2.2.10-2.5
apache2-2.2.10-2.5
apache2-mod_python-3.3.1-147.35
libpython2_6-1_0-2.6.0-2.22.1
python-base-2.6.0-2.22.1
python-2.6.0-2.21.1
python-devel-2.6.0-2.22.1
python-setuptools-0.6c8-10.17
subversion-python-1.5.7-0.1.1
Trac 0.11.5

What am I missing?

Section of trac log file
2009-09-29 12:15:48,273 Trac[main] DEBUG: Dispatching <Request "GET
u'/login'">
2009-09-29 12:15:48,309 Trac[svn_fs] DEBUG: Subversion bindings imported
2009-09-29 12:15:48,312 Trac[cache] DEBUG: cache metadata undefined
(youngest_rev=u'')
2009-09-29 12:15:48,313 Trac[cache] INFO: repos rev [0] != cached rev [None]
2009-09-29 12:15:48,314 Trac[main] WARNING: HTTPInternalError: 500 Trac
Error (Authentication information not available. Please refer to the <a
href="/wiki/TracInstall#ConfiguringAuthentication" title="Configuring
Authentication">installation documentation</a>.)

Apache config with obfustication
<VirtualHost *:80>
ServerName trac.red**.###
DocumentRoot /srv/vhosts/trac.red**.###
ErrorLog /var/log/apache2/trac.red**.###-error_log
CustomLog /var/log/apache2/trac.red**.###-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature On

<Directory "/srv/vhosts/trac.red**.###">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Location />
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /srv/trac/red**
PythonOption TracUriRoot /
PythonOption PYTHON_EGG_CACHE /srv/trac/python-eggs
</Location>

<Location "/login">
AuthType Basic
AuthName "Trac"
AuthUserFile /srv/www/red**.htpass
Require valid-user
</Location>
</VirtualHost>

-Andrew


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


fonsken at gmail

Sep 30, 2009, 12:45 AM

Post #2 of 4 (616 views)
Permalink
Re: Login not working. [In reply to]

On Wed, Sep 30, 2009 at 2:12 AM, Andrew Nelson <nelsonab [at] pobox> wrote:

>
>
>
> <Location "/login">
> AuthType Basic
> AuthName "Trac"
> AuthUserFile /srv/www/red**.htpass
> Require valid-user
> </Location>
> </VirtualHost>
>
> -Andrew
>
>
Hello,

Do you have any plugins installed?

I have <Location /login>, so without the quotes. I don't know if this makes
a difference for apache.

Joeri

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


eric.google at skbo

Nov 16, 2009, 3:22 PM

Post #3 of 4 (520 views)
Permalink
Re: Login not working. [In reply to]

Hi,

I have the same error as you at the moment.
I see on the link you gave that you were able to resolve this problem
on your side.
Please, can you explain me how you did it?

Regards,
SKBo

On 30 sep, 01:12, Andrew Nelson <nelso...@pobox.com> wrote:
> I have a vhost setup for trac which does not want to let me do logins.  
> I'm getting to my wits end on figuring this out.
>
> When I click on login I get the following error:
> Trac Error
> Authentication information not available. Please refer to the
> installation documentation
> <http://trac.red-tux.net/wiki/TracInstall#ConfiguringAuthentication>.
>
> When I remove the login location tag and make the whole trac instance
> part of http auth I get a login prompt and I show myself as being
> authenticated.  But when I have location based authentication it's not
> working.  Going through the trac logs is proving to be pretty useless.  
> Apache is not showing any errors either except for not being able to
> show the banner image.
>
> OpenSuSE 11.1 x86_64
> apache2-prefork-2.2.10-2.5
> apache2-2.2.10-2.5
> apache2-mod_python-3.3.1-147.35
> libpython2_6-1_0-2.6.0-2.22.1
> python-base-2.6.0-2.22.1
> python-2.6.0-2.21.1
> python-devel-2.6.0-2.22.1
> python-setuptools-0.6c8-10.17
> subversion-python-1.5.7-0.1.1
> Trac 0.11.5
>
> What am I missing?
>
> Section of trac log file
> 2009-09-29 12:15:48,273 Trac[main] DEBUG: Dispatching <Request "GET
> u'/login'">
> 2009-09-29 12:15:48,309 Trac[svn_fs] DEBUG: Subversion bindings imported
> 2009-09-29 12:15:48,312 Trac[cache] DEBUG: cache metadata undefined
> (youngest_rev=u'')
> 2009-09-29 12:15:48,313 Trac[cache] INFO: repos rev [0] != cached rev [None]
> 2009-09-29 12:15:48,314 Trac[main] WARNING: HTTPInternalError: 500 Trac
> Error (Authentication information not available. Please refer to the <a
> href="/wiki/TracInstall#ConfiguringAuthentication" title="Configuring
> Authentication">installation documentation</a>.)
>
> Apache config with obfustication
> <VirtualHost *:80>
>   ServerName trac.red**.###
>   DocumentRoot /srv/vhosts/trac.red**.###
>   ErrorLog /var/log/apache2/trac.red**.###-error_log
>   CustomLog /var/log/apache2/trac.red**.###-access_log combined
>   HostnameLookups Off
>   UseCanonicalName Off
>   ServerSignature On
>
>   <Directory "/srv/vhosts/trac.red**.###">
>     Options Indexes FollowSymLinks
>     AllowOverride None
>     Order allow,deny
>     Allow from all
>   </Directory>
>
>   <Location />
>     SetHandler mod_python
>     PythonInterpreter main_interpreter
>     PythonHandler trac.web.modpython_frontend
>     PythonOption TracEnv /srv/trac/red**
>     PythonOption TracUriRoot /
>     PythonOption PYTHON_EGG_CACHE /srv/trac/python-eggs
>   </Location>
>
>   <Location "/login">
>     AuthType Basic
>     AuthName "Trac"
>     AuthUserFile /srv/www/red**.htpass
>     Require valid-user
>   </Location>
> </VirtualHost>
>
> -Andrew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


eric.google at skbo

Nov 17, 2009, 1:54 PM

Post #4 of 4 (511 views)
Permalink
Re: Login not working. [In reply to]

Ok, so installing the AccountManagerPlugin fixed the problem, after
tweaking it a bit.

On 17 nov, 00:22, SKBo <eric.goo...@skbo.net> wrote:
> Hi,
>
> I have the same error as you at the moment.
> I see on the link you gave that you were able to resolve this problem
> on your side.
> Please, can you explain me how you did it?
>
> Regards,
> SKBo
>
> On 30 sep, 01:12, Andrew Nelson <nelso...@pobox.com> wrote:
>
>
>
> > I have a vhost setup for trac which does not want to let me do logins.  
> > I'm getting to my wits end on figuring this out.
>
> > When I click on login I get the following error:
> > Trac Error
> > Authentication information not available. Please refer to the
> > installation documentation
> > <http://trac.red-tux.net/wiki/TracInstall#ConfiguringAuthentication>.
>
> > When I remove the login location tag and make the whole trac instance
> > part of http auth I get a login prompt and I show myself as being
> > authenticated.  But when I have location based authentication it's not
> > working.  Going through the trac logs is proving to be pretty useless.  
> > Apache is not showing any errors either except for not being able to
> > show the banner image.
>
> > OpenSuSE 11.1 x86_64
> > apache2-prefork-2.2.10-2.5
> > apache2-2.2.10-2.5
> > apache2-mod_python-3.3.1-147.35
> > libpython2_6-1_0-2.6.0-2.22.1
> > python-base-2.6.0-2.22.1
> > python-2.6.0-2.21.1
> > python-devel-2.6.0-2.22.1
> > python-setuptools-0.6c8-10.17
> > subversion-python-1.5.7-0.1.1
> > Trac 0.11.5
>
> > What am I missing?
>
> > Section of trac log file
> > 2009-09-29 12:15:48,273 Trac[main] DEBUG: Dispatching <Request "GET
> > u'/login'">
> > 2009-09-29 12:15:48,309 Trac[svn_fs] DEBUG: Subversion bindings imported
> > 2009-09-29 12:15:48,312 Trac[cache] DEBUG: cache metadata undefined
> > (youngest_rev=u'')
> > 2009-09-29 12:15:48,313 Trac[cache] INFO: repos rev [0] != cached rev [None]
> > 2009-09-29 12:15:48,314 Trac[main] WARNING: HTTPInternalError: 500 Trac
> > Error (Authentication information not available. Please refer to the <a
> > href="/wiki/TracInstall#ConfiguringAuthentication" title="Configuring
> > Authentication">installation documentation</a>.)
>
> > Apache config with obfustication
> > <VirtualHost *:80>
> >   ServerName trac.red**.###
> >   DocumentRoot /srv/vhosts/trac.red**.###
> >   ErrorLog /var/log/apache2/trac.red**.###-error_log
> >   CustomLog /var/log/apache2/trac.red**.###-access_log combined
> >   HostnameLookups Off
> >   UseCanonicalName Off
> >   ServerSignature On
>
> >   <Directory "/srv/vhosts/trac.red**.###">
> >     Options Indexes FollowSymLinks
> >     AllowOverride None
> >     Order allow,deny
> >     Allow from all
> >   </Directory>
>
> >   <Location />
> >     SetHandler mod_python
> >     PythonInterpreter main_interpreter
> >     PythonHandler trac.web.modpython_frontend
> >     PythonOption TracEnv /srv/trac/red**
> >     PythonOption TracUriRoot /
> >     PythonOption PYTHON_EGG_CACHE /srv/trac/python-eggs
> >   </Location>
>
> >   <Location "/login">
> >     AuthType Basic
> >     AuthName "Trac"
> >     AuthUserFile /srv/www/red**.htpass
> >     Require valid-user
> >   </Location>
> > </VirtualHost>
>
> > -Andrew

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.