Hello everyone,
I need help with the initial configuration of horde on Mandriva 2007. I download horde-webmail-1.0.tar.gz, and ungziped it. After doing so, I moved all its content in the horde directory in my apache htdcs directory. Without problem I created the 'horde' data directory using mysql --user=root --password=<MySQL-root-passwd> < create.mysql.sql command.
Please note that I have used horde-toaster with qmail-toaster for few years now and have never had any problem with horde running on Mandrake. I decided to update from Mandriva 2005 where I was running horde-toaster-2.2.3-1.0.8mdk.i586.rpm for my emails.
After upgrading to Mandriva 2007, I noted that the above vision of horde was note working properly. Each time I tried to connect to the sever to read emails. I would see nothing but a blank page. Immediately I thought the version of horde working in the rpm above conflicted with php5, which I am using.
So I decided to download horde-webmail, put the right settings in the horde/conf.php file, restarted apache and tried to connect to my
http://www.myserver.com/horde/ but have not been able to enter the Administrator area. Instead, I am being taken to
http://www.myserver.com/horde/imp/lo..._reason=failed. Below is the error message I am getting in /tmp/horde.log:
“Feb 17 20:17:33 HORDE [error] [imp] FAILED LOGIN 192.168.0.5 to localhost:143[imap/notls] as admin [on line 258 of "/var/www/htdcs/horde/imp/lib/Auth/imp.php"]”
Can someone give me any clue as to why I am receiving such a error. Below is my conf.php settings.
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: horde/config/conf.xml,v 1.74.2.41 2006/08/04 17:13:25 jan Exp $
$conf['debug_level'] = E_ALL & ~E_NOTICE;
$conf['max_exec_time'] = 0;
$conf['use_ssl'] = 2;
$conf['server']['name'] = $_SERVER['SERVER_NAME'];
$conf['server']['port'] = $_SERVER['SERVER_PORT'];
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
$conf['cookie']['path'] = '/var/www/horde';
$conf['sql']['persistent'] = false;
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['username'] = 'horde'; {
$horderec = $DB->get('horde');
$horde_pw = $horderec->prop('DbPassword') || 'horde';
return ''; }
$conf['sql']['password'] = '{$horde_pw}';
$conf['sql']['database'] = 'horde';
$conf['sql']['password'] = 'passwd';
$conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['charset'] = 'iso-8859-1';
$conf['auth']['admins'] = array('postmaster{$DomainName}');
$conf['sql']['phptype'] = 'mysql';
$conf['auth']['admins'] = array();
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';
$conf['signup']['allow'] = false;
$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['name'] = LOG_SYSLOG;
$conf['log']['type'] = 'syslog';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['log_accesskeys'] = false;
$conf['prefs']['params']['table'] = 'horde_prefs';
$conf['prefs']['params']['driverconfig'] = 'horde';
$conf['prefs']['driver'] = 'sql';
$conf['datatree']['params']['table'] = 'horde_datatree';
$conf['datatree']['params']['driverconfig'] = 'horde';
$conf['datatree']['driver'] = 'sql';
$conf['group']['driver'] = 'datatree';
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['params']['gc'] = 86400;
$conf['cache']['driver'] = 'file';
$conf['token']['params']['driverconfig'] = 'horde';
$conf['token']['driver'] = 'sql';
$conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
$conf['mailer']['params']['sendmail_args'] = '-oi';
$conf['mailer']['type'] = 'sendmail';
$conf['mailer']['params']['auth'] = '0';
$conf['mailer']['type'] = 'smtp';
$conf['vfs']['params']['vfsroot'] = '/tmp';
$conf['vfs']['params']['vfs_table'] = 'horde_vfs';
$conf['vfs']['params']['driverconfig'] = 'horde';
$conf['vfs']['type'] = 'sql';
$conf['vfs']['type'] = 'file';
$conf['sessionhandler']['type'] = 'none';
$conf['problems']['email'] = 'webmaster@example.com';
$conf['problems']['maildomain'] = 'example.com';
$conf['problems']['tickets'] = false;
$conf['menu']['apps'] = array();
$conf['menu']['always'] = false;
$conf['menu']['links']['help'] = 'all';
$conf['menu']['links']['help_about'] = true;
$conf['menu']['links']['options'] = 'authenticated';
$conf['menu']['links']['problem'] = 'all';
$conf['menu']['links']['login'] = 'all';
$conf['menu']['links']['logout'] = 'authenticated';
$conf['hooks']['permsdenied'] = false;
$conf['hooks']['username'] = false;
$conf['hooks']['preauthenticate'] = false;
$conf['hooks']['postauthenticate'] = false;
$conf['hooks']['authldap'] = false;
$conf['portal']['fixed_blocks'] = array();
$conf['accounts']['driver'] = 'null';
$conf['imsp']['enabled'] = false;
$conf['kolab']['enabled'] = false;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
Please note that I have noticed that mysqlmanager.log file reports that the safe side of mysql is running on port “0”. Port 3306 is also working for the main mysql server. Please not that there was two ports found in /etc/my.cnf file; port 3306 and another port which I commented out. I don't know if it is because of the above ports that I am not able to connect. They are all listed in my shorewall firewall.
I run apache-conf2.2.3-3mdv2007.0. I believe all php and pear dependencies which are required to run horde are installed and they are listed below:
php-simplexml-5.1.6-1mdv2007.0
php-xmlwriter-5.1.6-1mdv2007.0
php-pear-Date-1.4.6-1mdk
php-pear-PEAR_RemoteInstaller-0.3.0-1mdk
php-bcmath-5.1.6-1mdv2007.0
php-sysvshm-5.1.6-1mdv2007.0
php-gd-5.1.6-1mdv2007.0
php-pear-Var_Dump-1.0.3-1mdk
php-pear-Net_URL-1.0.14-8mdk
php-pear-Net_DIME-0.3-8mdv2007.0
php-hash-5.1.6-1mdv2007.0
php-smarty-2.6.14-1mdv2007.0
php-pear-HTML_Table-1.7.0-1mdk
php-pear-PHP_Compat-1.5.0-1mdk
php-pear-File-1.2.2-3mdk
php-mcrypt-5.1.6-1mdv2007.0
php-ctype-5.1.6-1mdv2007.0
php-imap-5.1.6-1mdv2007.0
php-manual-fr-5.1.6-1mdv2007.0
php-pear-5.1.6-1mdv2007.0
php-pear-Text_Highlighter-0.6.9-1mdk
php-pear-HTML_Progress-1.2.5-2mdk
php-pear-Text_Figlet-0.8.1-1mdv2007.0
php-pear-HTTP_WebDAV_Server-0.99.1-7mdv2007.0
php-mbstring-5.1.6-1mdv2007.0
php-ftp-5.1.6-1mdv2007.0
apache-mod_php-5.1.6-2mdv2007.0
php-cli-5.1.6-1.3mdv2007.0
php-pear-Net_FTP-1.3.2-1mdk
php-pear-HTML_Template_Sigma-1.1.4-2mdk
php-pear-I18Nv2-0.11.4-1mdk
php-pear-HTTP_Request-1.3.0-2mdk
php-pear-Cache-1.5.4-8mdv2007.0
php-pear-HTTP-1.4.0-1mdv2007.0
php-fileinfo-1.0.3-7mdv2007.0
php-posix-5.1.6-1mdv2007.0
libphp5_common5-5.1.6-1.3mdv2007.0
php-pear-MDB2-2.2.1-2mdv2007.0
php-pear-XML_Serializer-0.18.0-2mdk
php-pear-HTML_Javascript-1.1.1-2mdk
php-pear-HTML_Template_Flexy-1.2.4-1mdk
php-pear-XML_sql2xml-0.3.2-8mdv2007.0
php-pear-SOAP-0.9.4-1mdv2007.0
php-session-5.1.6-1mdv2007.0
libc-client-php0-2004g-2mdv2007.0
php-mysql-5.1.6-2mdv2007.0
php-readline-5.1.6-1mdv2007.0
php-manual-en-5.1.6-1mdv2007.0
php-ldap-5.1.6-1mdv2007.0
php-pear-HTML_Common-1.2.2-2mdk
php-pear-Config-1.10.6-1mdk
php-pear-Cache_Lite-1.7.1-1mdk
php-pear-Translation2-2.0.0-8mdk
php-pear-Crypt_Rc4-1.0.2-7mdv2007.0
php-pear-Net_POP3-1.3.6-7mdv2007.0
php-pear-HTML_Select-1.2.1-1mdv2007.0
php-ini-5.1.6-1mdv2007.0
php-xmlreader-5.1.6-1mdv2007.0
php-iconv-5.1.6-1mdv2007.0
php-pear-XML_Util-1.1.1-8mdk
php-pear-DB_DataObject-1.7.15-5mdk
php-pear-Image_Color-1.0.2-2mdk
php-pear-HTML_QuickForm_Controller-1.0.5-2mdk
php-pear-HTML_Template_Xipe-1.7.6-7mdv2007.0
php-pear-File_Fstab-2.0.2-5mdv2007.0
php-mime_magic-5.1.6-1mdv2007.0
php-mcal-0.6-9mdv2007.0
php-pcre-5.1.6-1mdv2007.0
php-xml-5.1.6-1mdv2007.0
php-pear-Validate-0.6.3-1mdk
php-pear-HTML_QuickForm-3.2.5-2mdk
php-pear-Services_Weather-1.4.0-1mdv2007.0
php-gettext-5.1.6-1mdv2007.0
php-cgi-5.1.6-1.3mdv2007.0
php-xmlrpc-5.1.6-1mdv2007.0
php-pear-HTML_Page-2.0.0-7mdk
php-pear-Console_ProgressBar-0.2-7mdk
php-pear-Net_IMAP-1.0.3-7mdv2007.0
php-memcache-2.0.4-3mdv2007.0
php-tokenizer-5.1.6-1mdv2007.0
php-pear-HTML_Template_IT-1.1.4-1mdk
php-pear-PEAR_Command_Packaging-0.1.2-1mdv2007.0
php-pear-Tree-0.2.4-7mdv2007.0
php-sysvsem-5.1.6-1mdv2007.0
php-pear-MDB-1.3.0-8mdk
php-pear-File_Gettext-0.3.4-2mdk
I also tried the horde rpms listed below:
horde-turba-2.1.2-2mdv2007.0
horde-nag-2.1.2-1mdv2007.0
horde-3.1.3-1mdv2007.0
horde-imp-4.1.3-2mdv2007.0
horde-kronolith-2.1.4-1mdv2007.0
The instillation went well but. I also made sure I created a new horde data with full permission. Again I connected to httpf://www.myserver.com/horde/ . With this install I am able to reach the setup page but I end-up getting the following errors:
Address Book (turba) H3 (2.1.2) : No version found in your configuration. Regenerate configuration.
Calendar (kronolith) H3 (2.1.4): No version found in your configuration. Regenerate configuration.
Horde (horde) 3.1.3 : No version found in your configuration. Regenerate configuration.
Mail (imp) H3 (4.1.3) : No version found in your configuration. Regenerate configuration.
Tasks (nag) H3 (2.1.2) : No version found in your configuration. Regenerate configuration.
It does not matter what I do nothing changes.
Can someone help.
I look forward to hearing from anyone who can help.
Thanks