February 06, 2012, 12:15:12 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Work on Kolab2/Gentoo-2.2 has stopped. The project has been deprecated (see board Kolab2/Gentoo).
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Successful login return me to the login page with kolab2.1  (Read 4572 times)
FuriousGeorge
Newbie
*

Karma: 0
Posts: 6


View Profile Email
« on: April 18, 2008, 02:42:07 AM »

I installed kolab-horde using these docs:
http://wiki.kolab.org/index.php/Gentoo_-_SysAdmin_-_Installation
http://wiki.kolab.org/index.php/Gentoo_Extension_-_Horde
http://wiki.kolab.org/index.php/Kolab2_Installation_-_Horde'
http://wiki.kolab.org/index.php/Kolab2_Server_Troubleshooting_-_Horde

#1 - emerge kolabd with horde use variable and install it as per the official gentoo kolab howto

#2 - emerge horde-kolab-all and configure it as per the instructions i found on gentoo specific and general documentation listed above

I get returned to the login page when I successfully logged in, with no error.  I found some troubleshooting information about that in the Kolab2_Server_Troubleshooting_-_Horde page, which reads:

Quote
Problem

On login the screen turns white for a short time but you are being returned to the login screen. There is no error message but the Horde log file states that the user successfully logged into the system.



Solution

There are several possible reasons for this:

    * Missing PEAR packages
    * Unwriteable temporary directory
    * syntax errors in edited config files
    * wrong cookie path

Try to check your log files for any errors. Also check the configuration files for any errors you might have introduced when editing them.

*I know I installed a lot of PEAR packages.  Almost too many to list.  Is there a list of suspects that I can look into.
*I looked in /tmp and found horde.log there (why not in /var/log?).  It indicates no problems, and also implies that horde can write to at least one temporary directory
*As per the documentation I linked to above, besides the bootstrap process, all i needed to do was change one directive in horde/conf/config.php ($conf['auth']['admins'] = array('admin@example.com')Wink
*Finally, I checked php.ini.  The value is as follows:  ' session.cookie_path = / '    This is the gentoo default, and I've never had an issue with cookies before

Any help is much appreciated.
Logged
xehqter
Jr. Member
**

Karma: 1
Posts: 94


View Profile WWW
« Reply #1 on: April 18, 2008, 04:46:19 AM »

In the past I’ve seen this issue appear when horde isn’t talking to the OpenLDAP server.
Specifically because kolabconf didn’t copy kolab.php file from templates to horde/conf.

kolab.php overrides the “example.com” variables set in conf.php with sane values. If the file is present in horde/conf make sure it has sane values. If the file is not present copy it from /etc/kolab/templates/kolab.conf.template.dist and modify it accordingly.
 
Gunnar is the expert but you might want to avoid using the “official” (not gentoo) Kolab2 horde guide as the ebuild should take care of integration issues. Following the “official” guide would likely do more harm then good.

If you've extensively modified the config files in troubleshooting it may be best to trash horde and load a fresh copy.

I forgot to mention, incase you weren’t aware. Kolab is designed to run on OpenPKG not Gentoo, Gunnar with his infinite wisdom managed to modify kolab to run on Gentoo. If you are looking for a stable kolab build you may wish to go the OpenPKG route.

Personally I like the aggravation involved in tracking down “issues” however if you want a setup the “just works” use OpenPKG. That being said KoLab on Gentoo is dynamic allowing you to use the latest packages as-well-as have more control over your KoLab install. OpenPKG is fixed, the KoLab maintainers choose which package versions to use and how their used.

Kolab on Gentoo has come a long way in the last year. Personally I feel it is almost as stable as the OpenPKG version however be aware that you are running “Kolab on Gentoo” not “Kolab” so expect some initial “issues”.



My 2 cents.
« Last Edit: April 18, 2008, 05:04:00 AM by xehqter » Logged

Gunnar Wrobel
Administrator
Sr. Member
*****

Karma: 2
Posts: 331


275141552 gunnarwrobel@yahoo.de gunnarwrobel
View Profile WWW Email
« Reply #2 on: April 18, 2008, 02:14:07 PM »

I get returned to the login page when I successfully logged in, with no error.  I found some troubleshooting information about that in the Kolab2_Server_Troubleshooting_-_Horde page, which reads:

There is one check you should do in order to determine if this is a session issue or an installation issue: Try to log in using a different browser. If you have the same behavior it is likely to be an installation issue.

Meaning something is that broken that Horde experiences a fatal PHP error while logging in. And these are extremely hard to track with Horde. At least I don't know an easy way to do it.

In this case you can try to run the test.php scripts for each of the Horde applications to see if any errors come. If that doesn't help you could try to install just some of the applications and see if removing one allows you to log in. You'd be able to determine which app is the problematic one. This wouldn't work if the culprit is the base "horde" installation though.

As mentioned by xehqter you should check that the configuration files got rewritten correctly.

I will definitely try to get a newer Horde install ready for Kolab2/Gentoo. The current one is by far too old and I already added a lot of improvements upstream.

Cheers,

Gunnar
Logged
FuriousGeorge
Newbie
*

Karma: 0
Posts: 6


View Profile Email
« Reply #3 on: April 18, 2008, 04:07:36 PM »

Guys,

Thanks so much for the help.  I just kept stopping all the services and bootstrapping till it worked Smiley

Seriously, though, I did see that kolab.php was not copied to horde/config/, and I thought that perhaps that was because while I built kolab with the horde USE flag enabled, I did not emerge horde-kolab-all until after bootstrapping.

The first time I re-bootstrapped I generated a duplicate ssl serial, the second time was a charm.

Thanks a bunch for your help.

I'm going to try setting up some test email users, and seeing how it goes.
« Last Edit: April 18, 2008, 04:26:49 PM by FuriousGeorge » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!