Kolab2 Server Troubleshooting - Horde

From Kolab Wiki

Jump to: navigation, search

Contents

The package horde-kolab does not install correctly

Operating system Distribution Kolab version
Applies to: probably applies to all *NIX systems Applies to: probably all distributions Applies to: Kolab 2.1_rc1 + Horde
Found on: Linux Found on: OpenPKG Found on: Kolab 2.1_rc1 + Horde

Problem

  • You don't see a login screen when you try to access http://your-domain.com/horde.
  • You do not see any PHP scripts (with the ending *.php) in /kolab/var/www/kolab/horde
  • There are errors in your build log that indicate a chown problem with installing horde-kolab

Solution

If installing this package fails, you should try to clean your RPM build environment. You can run

rm -rf /kolab/RPM/PKG/*
rm -rf /kolab/RPM/TMP/*
rm -rf /kolab/RPM/SRC/*

Afterwards, try to run the installation procedure again:

sh obmtool kolab 

There is no guarantee that this will help, though.


Be careful about the $TMP env var, the script uses it. In some distro (ie Mandriva) this var can be /root/tmp and not /tmp (and of course, /root/tmp should not be 777 !)

On login I'm returned and told that login failed though I used the correct password

Operating system Distribution Kolab version
Applies to: probably applies to all *NIX systems Applies to: probably all distributions Applies to: Kolab 2.2_* + Horde
Found on: Linux Found on: OpenPKG Found on: Kolab 2.2_* + Horde

Problem

There Horde log file also states that the user credentials were invalid.


Solution

Your machine probably has no real DNS entry. Make sure you enter your fully qualified host name into /etc/hosts.

Also, check your log files for errors. Does the IMAP server see your login attempt?


Be careful about the $TMP env var, the script uses it. In some distro (ie Mandriva) this var can be /root/tmp and not /tmp (and of course, /root/tmp should not be 777 !)

On login I'm returned to the login screen without an error message

Operating system Distribution Kolab version
Applies to: probably applies to all *NIX systems Applies to: probably all distributions Applies to: Kolab 2.2_* + Horde
Found on: Linux Found on: OpenPKG Found on: Kolab 2.2_* + Horde

Problem

On login, the screen turns white for a short time but you are 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:

  • Wrong cookie path in horde/config/conf.php or horde/config/kolab.php make sure its set in the kolab.php too and looks like that:

$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];

$conf['cookie']['path'] = '/';

  • Missing PEAR packages
  • Unwritable temporary directory
  • Syntax errors in edited config files

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


Be careful about the $TMP env var, the script uses it. In some distro (ie Mandriva) this var can be /root/tmp and not /tmp (and of course, /root/tmp should not be 777 !)

On login, apache crashes closing the connection or gives an empty php page

Operating system Distribution Kolab version
Applies to: probably applies to all *NIX systems Applies to: Debian Applies to: Kolab 2.2.0
Found on: Linux Found on: Debian lenny/sid amd64 Found on: Kolab 2.2.0

Problem

Once you try to login to Horde, it doesn't matter if the login user and password are right or wrong, you always get either a "connection to host was broken" message or (depending on the web browser) a php file that is 0 bytes long.


Solution

The apache process serving the page gives a segmentation fault in a call to _nss_db_getprotobyname_r (called from getprotobyname_r, getprotobyname and tcp_socket_open respectively).

The problem is solved by removing the libnss-db package from your system.


Be careful about the $TMP env var, the script uses it. In some distro (ie Mandriva) this var can be /root/tmp and not /tmp (and of course, /root/tmp should not be 777 !)

On login ,I just get a welcome message, but no username/password fields

Operating system Distribution Kolab version
Applies to: probably applies to all *NIX systems Applies to: probably applies to all distributions Applies to: Kolab 2.2.*
Found on: Solaris Found on: Solaris Found on: Kolab 2.2.1

Problem

When connecting to Horde you see the "Welcome to Horde" block but there is no section that would allow you to enter your user credentials.


Solution

Try to remove all old session data from the temporary directory used by horde (/kolab/var/kolab/www/client/tmp or /kolab/var/kolab/tmp).


Be careful about the $TMP env var, the script uses it. In some distro (ie Mandriva) this var can be /root/tmp and not /tmp (and of course, /root/tmp should not be 777 !)

Please enter issues (and maybe solutions) you had when installing Horde into Kolab bug tracker or send a mail to the mailing list.


Email Account is not being removed

You deleted an email account and you see that the kolabDeleteFlag is set but the account is not being removed.
Try the following:
/kolab/etc/rc kolabd stop
Login to cyradm an remove the account manually:
/kolab/bin/cyradm localhost -u manager
dm user/username@hostname.tld
/kolab/etc/rc kolabd start

My problem persists

None of the above hints did help you to solve your problem?

Please check your options for getting support and reporting problems.

Back

Back to the troubleshooting index

Personal tools