[horde] Trouble running latest horde on CentOS 6.x...
Michael J Rubinsky
mrubinsk at horde.org
Mon Mar 13 15:25:39 UTC 2017
Quoting Michael Christopher Robinson <plug_1 at robinson-west.com>:
> I can log in with the IMAP server password, but I'm having trouble when
> I select IMP. I get error communicating with the server. I'm using
> the stock Dovecot that comes with CentOS 6.x on the server, a different
> physical machine. Is there trouble communicating with Dovecot or
> trouble communicating with postgresql???
This is the IMAP server. A RDBMS communication issue would cause
failures all over Horde and Horde logs and would explicitly specify
the error.
> Horde Groupware 5.2.17 on a CentOS 6.x server.
I will assume you installed via Horde's PEAR packages, and not any
distribution packages.
> With the following backends.local.php:
>
> [admin at web config]$ cat backends.local.php
> <?php
> /**
> * This file specifies which mail servers IMP can login to.
> */
>
> $servers['imap'] = array(
> 'disabled' => false,
> 'name' => 'mail.robinson-west.com',
> 'hostspec' => 'mail.robinson-west.com',
> 'hordeauth' => false,
> 'protocol' => 'imap',
> 'port' => 143,
> 'secure' => 'tls',
> );
1) With 'hordeauth' => false you will have to login again to the IMAP
server (in addition to logging in to Horde). Assuming the
authentication credentials are the same for both you should set this
to either true or 'full' depending on your needs.
2) Ensure that the the IMAP server is reachable from the Horde box via
mail.robinson-west.com port 143 and TLS. You can also check the IMAP
server logs to see if any connection is attempted and if so, why it
was dropped/refused.
3) You can use IMP's test.php page to test the connection to your IMAP server.
4) More of an FYI, but you should only redefine the items that are
different in the *.local.php files. This prevents changes/additions to
the configuration from breaking your install. So e.g.,
$servers['imap']['hostspec'] = 'mail.robinson-west.com'; etc...
> Postgresql-9.3.5 custom compiled on a Slackware 14.x server.
>
> Dovecot 2.0.9 on a CentOS 6.x server.
> [admin at goose ~]$ dovecot -n
> # 2.0.9: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.32-642.el6.x86_64 x86_64 CentOS release 6.5 (Final)
> listen = 192.168.5.3, 127.0.0.1
> mbox_write_locks = fcntl
> passdb {
> driver = pam
> }
> protocols = imap
> service imap-login {
> inet_listener imap {
> port = 143
> }
> inet_listener imaps {
> port = 993
> ssl = yes
> }
> }
> ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
> ssl_key = </etc/pki/dovecot/private/dovecot.pem
> userdb {
> driver = passwd
> }
> [admin at goose ~]$
>
> php-5.6.30 configued by the following script:
>
> #!/bin/bash
>
> ./configure --prefix=/usr \
> --sysconfdir=/etc \
> --localstatedir=/var \
> --datadir=/usr/share/php \
> --mandir=/usr/share/man \
> --enable-fpm \
> --with-fpm-user=apache \
> --with-fpm-group=apache \
> --enable-intl \
> --with-config-file-path=/etc \
> --with-zlib \
> --enable-bcmath \
> --with-bz2 \
> --enable-calendar \
> --enable-dba=shared \
> --with-gdbm \
> --with-gmp \
> --enable-ftp \
> --with-mysqli=shared \
> --with-pdo-mysql=shared \
> --with-pgsql \
> --with-pdo-pgsql \
> --with-gettext \
> --enable-mbstring \
> --with-gd \
> --with-openssl \
> --with-tidy \
> --with-ldap \
> --with-readline
>
> tail end of php.ini:
>
> extension=lzf.so
> extension=horde_lz4.so
> extension=pam.so
> extension=imagick.so
> extension=geoip.so
> extension=memcache.so
> extension=mongodb.so
>
> I am not interested in using MariaDB, it worked for a while and then
> quit on me. I'm also not interested in running the database on an
> Internet connected machine. Partially because I'm unclear on how to
> encrypt database communications across my network.
>
> Can I get on site paid support where the person who comes out will
> teach me how to configure this properly? What are the rates for that
> support?
Depending on your location this may or may not be possible. We can
discuss this with you directly. Send details to consulting at horde.org.
> Might I suggest that test.php support testing the connection to the
> database?
Unless you don't use a database for anything else, like
Preferences/Shares etc..., you will get failures on just about every
page of Horde if it's not connecting. If you want to be 100% sure, you
can use the Administration->SQL Shell and perform some simple SELECT *
from horde_prefs; or similar.
> I forget how to check that the password I specify and the
> username are correct.
You can use your RDBM's CLI client.
> Is a list of the installed pear modules for horde needed to
> troubleshoot this?
Not at this time.
> Horde is changing where every time I set horde up again I run into
> different problems.
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3282 bytes
Desc: S/MIME Signature
URL: <https://lists.horde.org/archives/horde/attachments/20170313/93411367/attachment.bin>
More information about the horde
mailing list