Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd March 2006, 22:29
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default troubleshooting HORDE installation

I am trying to install horde from tar.gz, but I stumbled upons these probs (results from the test.php)

Quote:
# Mcrypt Support: No
Mcrypt is a general-purpose cryptography library which is broader and significantly more efficient (FASTER!) than PHP's own cryptographic code and will provider faster logins.
# MIME Magic Support (fileinfo): No
The fileinfo PECL module or the mime_magic PHP extension (see below) will most likely provide faster MIME Magic lookups than the built-in Horde PHP magic code. See horde/docs/INSTALL for information on how to install PECL/PHP extensions.
# memcached Support (memcache): No
The memcache PECL module is needed only if you are using the memcached SessionHandler. See horde/docs/INSTALL for information on how to install PECL/PHP extensions.
how can I fix this?
Reply With Quote
Sponsored Links
  #2  
Old 23rd March 2006, 22:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

Where do you install horde? In a website or in the ISPConfig webserver on port 81?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd March 2006, 22:54
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

I do install in a normal website, using the usual apache2 (from the debian install guide provided on howtoforge) not in ispcfg webserver..

and btw I just locked myself out: after installing the user is horde and the password is horde, I went to configuration (webbased) and selected authentication method: horde.... if I go to horde and try to login wiht horde/horde I get this:


Quote:
Ein schwerer Fehler ist aufgetreten:
horde does not provide an authenticate() method.
Details wurden für den Administrator mitgeloggt.

Last edited by Ovidiu; 23rd March 2006 at 23:04.
Reply With Quote
  #4  
Old 23rd March 2006, 23:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

First. The modules that you listed are not nescessary, they where only enhancements for your horde installation.

The php mcrypt module is available in most linux distributions. If you use debian, you can search for it with:

apt-cache search mcrypt

The mime magic module might be also available as php module from your linux distribution.

The memcache module might be installable with the pear installer that comes with PHP, but i never tested it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 23rd March 2006, 23:11
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

apt-get install php4-mcrypt

gave me already installed, so why is it still listed as missing?

pecl install memcache

went strait through but still in the list I posted and finally

apt-cache search mime magic

gives me:

libfile-type-perl - determine file type using magic structure
libapache-mod-php4 - server-side, HTML-embedded scripting language (apache 1.3 module)
libapache-mod-php5 - server-side, HTML-embedded scripting language (apache 1.3 module)
libapache2-mod-php4 - server-side, HTML-embedded scripting language (apache 2.0 module)
libapache2-mod-php5 - server-side, HTML-embedded scripting language (apache 2.0 module)
libfile-mmagic-perl - Perl module to guess file type
php4-cgi - server-side, HTML-embedded scripting language (CGI binary)
php4-cli - command-line interpreter for the php4 scripting language
php5-cgi - server-side, HTML-embedded scripting language (CGI binary)
php5-cli - command-line interpreter for the php5 scripting language

and the relevant ones (in my opinion) give me this

Quote:
apt-get install libfile-type-perl libapache2-mod-php4 libfile-mmagic-perl
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
libfile-type-perl ist schon die neueste Version.
libapache2-mod-php4 ist schon die neueste Version.
libfile-mmagic-perl ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Reply With Quote
  #6  
Old 23rd March 2006, 23:40
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

You can try to install mime magic with pear.
Dont forget to restart your webserver afterwards.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 24th March 2006, 00:49
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

ok, I got some steps closer, no I am stuck here while configuring:

whatever change I make that involves some DB I get this error:

Quote:
Ein schwerer Fehler ist aufgetreten:
DB Error: extension not found

[Zeile 1615 von /var/www/webmail/web/horde/lib/Horde/DataTree/sql.php]
to be more precise, now I cannot even get to the login screen of horde:

Quote:
Ein schwerer Fehler ist aufgetreten:
DB Error: extension not found

[Zeile 388 von /var/www/webmail/web/horde/lib/Horde/Prefs/sql.php]
Details (auch in Hordes Logdatei):

object(db_error)(8) {
["error_message_prefix"]=>
string(0) ""
["mode"]=>
int(1)
["level"]=>
int(1024)
["code"]=>
int(-25)
["message"]=>
string(29) "DB Error: extension not found"
["userinfo"]=>
string(41) " [DB Error: extension not found] ** Array"
["backtrace"]=>
array(12) {
[0]=>
array(6) {
["file"]=>
string(21) "/usr/share/php/DB.php"
["line"]=>
int(888)
["function"]=>
string(10) "pear_error"
["class"]=>
string(8) "db_error"
["type"]=>
string(2) "->"
["args"]=>
array(5) {
[0]=>
string(29) "DB Error: extension not found"
[1]=>
int(-25)
[2]=>
int(1)
[3]=>
int(1024)
[4]=>
string(32) " [DB Error: extension not found]"
}
}
[1]=>
array(6) {
["file"]=>
string(23) "/usr/share/php/PEAR.php"
["line"]=>
int(563)
["function"]=>
string(8) "db_error"
["class"]=>
string(8) "db_error"
["type"]=>
string(2) "->"
["args"]=>
array(4) {
[0]=>
int(-25)
[1]=>
int(1)
[2]=>
int(1024)
[3]=>
string(32) " [DB Error: extension not found]"
}
}
[2]=>
array(6) {
["file"]=>
string(28) "/usr/share/php/DB/common.php"
["line"]=>
int(1849)
["function"]=>
string(10) "raiseerror"
["class"]=>
string(4) "pear"
["type"]=>
string(2) "::"
["args"]=>
array(7) {
[0]=>
NULL
[1]=>
int(-25)
[2]=>
NULL
[3]=>
NULL
[4]=>
string(32) " [DB Error: extension not found]"
[5]=>
string(8) "DB_Error"
[6]=>
bool(true)
}
}
[3]=>
array(6) {
["file"]=>
string(28) "/usr/share/php/DB/mysqli.php"
["line"]=>
int(281)
["function"]=>
string(10) "raiseerror"
["class"]=>
string(9) "db_mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
int(-25)
}
}
[4]=>
array(6) {
["file"]=>
string(21) "/usr/share/php/DB.php"
["line"]=>
int(556)
["function"]=>
string(7) "connect"
["class"]=>
string(9) "db_mysqli"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
thats only an excerpt but I think its enough. I use Debian 3.1 with the install guide provided by howtoforge, using php4

Last edited by Ovidiu; 24th March 2006 at 09:26.
Reply With Quote
  #8  
Old 24th March 2006, 09:32
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
Default

Check with phpinfo() if the PHP mysqli extension is installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 24th March 2006, 09:39
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,270
Thanks: 84
Thanked 25 Times in 21 Posts
Default

thx, you can view the result here: http://mail.web-designerz.de/horde/testt.php

unfortunately I cannot handle that question you had - there is nothing about mysqli... I googled around last night and all similar posts on the net were dealing with php5 - if I do apt-cache search mysqli I only get 2-3 packages, if I try and install one of them apt-get will also install php5 which I don't want...

any suggestions?
Reply With Quote
  #10  
Old 24th March 2006, 09:43
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,769
Thanks: 840
Thanked 5,608 Times in 4,419 Posts
 
Default

As far as i know there is a php 4.1 mysqli extension in available in ext/pear.

By the way. You are getting now these errors why I never used the horde framework for programming. ... Sorry, i know this dont help you with your problem, it's just a personal comment
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPC install stops str2etboy Installation/Configuration 19 28th January 2006 08:18
Installation Coldfusion error misterm Installation/Configuration 1 15th January 2006 20:06
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 13:23
mysql password during installation Hellbound Installation/Configuration 4 21st September 2005 19:52
Trouble with Installation. cjkeeme Installation/Configuration 3 3rd August 2005 19:46


All times are GMT +2. The time now is 00:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.