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
  #11  
Old 24th March 2006, 10:06
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

thx, I do not usually take personal offense when searching for help :-)

I tried this but need help understanding:

Quote:
pear search mysqli
Retrieving data...0%....50%....Matched packages, channel pear.php.net:
=======================================
Package Stable/(Latest) Local
MDB2_Driver_mysqli 1.0.0/(1.0.0 stable) mysqli MDB2 driver
h5810:/var/www/webmail/web/horde/config# pear install MDB2_Driver_mysqli
Did not download dependencies: pear/MDB2, use --alldeps or --onlyreqdeps to download automatically
pear/MDB2_Driver_mysqli requires PHP (version >= 5.0.0, version <= 6.0.0), installed version is 4.3.10-16
pear/MDB2_Driver_mysqli requires package "pear/MDB2" (version >= 2.0.0RC5)
pear/MDB2_Driver_mysqli requires PHP extension "mysqli"
No valid packages found
install failed
I understood I need MDB2_Driver_mysqli, tried installing but it says I need php 5 ? I have 4 and want to keep it...

I am going to try this now:

pear install MDB2 - that was ok

if I try again with pear install MDB2_Driver_mysqli it gives me the same error as above except for the MDB2 part

###edit###

please help!
I am stuck. I treid uninstalling DB, then I get an DB.php not found error, if I reinstall it (always restarting apache) I get the error from above: DB Error: extension not found

[Zeile 388 von /var/www/webmail/web/horde/lib/Horde/Prefs/sql.php]

Last edited by Ovidiu; 24th March 2006 at 14:10.
Reply With Quote
Sponsored Links
  #12  
Old 24th March 2006, 21:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

mysqli is available for PHP5 only.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 24th March 2006, 22:04
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

wel, yes, so what to do? horde does not need php5, why do I keep getting these errors? any clue?
Reply With Quote
  #14  
Old 25th March 2006, 04:33
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

well, never mind. I figured that all out. I went seevrall steps further now I am configuring IMP...

still there is only one step missing from the perfect install of horde :-) fileinfo...

I tried: pecl install fileinfo and it gives me this:

Quote:
checking for fileinfo support... yes, shared
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
ERROR: `/tmp/tmpV6O8oa/Fileinfo-1.0.3/configure' failed
I have checked - I have libmagick6 installed, a reinstall does not help. any clue how I can pass to pecl the right path to the magic files, as it seems it cannot find them?
Reply With Quote
  #15  
Old 25th March 2006, 12:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

I'am sure libmagick != libmagick.

libmagick is the library from the imagemagick package. I'guess the fileinfo package needs a library for filetype detection which is named libmagic.

I dont know which package includes libmagic, but maybe the post helps you anyway
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 25th March 2006, 13:16
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

you guys are great :-)

I did a apt-cache search libmagic and found the culprit: libmagic-dev

apt-get install libmagic-dev
pecl install fileinfo

and its done :-)

btw. if someone wants to try and install horde/imp combination, I can give help. I just succeeded in installing horde perfectly :-) solved every needed/optional component install...

now I am busy configuring IMP and then I will continue with the rest of the apps...
Reply With Quote
  #17  
Old 25th March 2006, 18:21
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

ok, here is the next challenge: if I click on webmail settings I get this error:

Quote:
Notice: Undefined index: base_protocol in /var/www/webmail/web/horde/imp/lib/IMP.php on line 1234

Notice: Undefined index: base_protocol in /var/www/webmail/web/horde/imp/lib/IMP.php on line 1198

Notice: Undefined index: base_protocol in /var/www/webmail/web/horde/imp/lib/IMP.php on line 1198

Notice: Undefined index: base_protocol in /var/www/webmail/web/horde/imp/lib/IMP.php on line 927

Notice: Undefined index: base_protocol in /var/www/webmail/web/horde/imp/lib/IMP.php on line 948
It just appears above the menue, I can still work... I googled around and all I foudn is that I might have not defined a protocol in the servers.php

I looked at the indicated lines and they all are concerned with pop3 which indeed I did not define inside my servers.php because I use IMAP, here is my servers.php:

Quote:
$servers['_prompt'] = array(
'name' => _("Choose a mail server:")
);

$servers['imap'] = array(
'name' => 'lokaler Mailserver',
'server' => 'localhost',
'protocol' => 'imap/notls',
'port' => '143',
'quota' => array(
'driver' => 'command',
'params' => array(
'quota_path' => '/usr/bin/quota',
'grep_path' => '/bin/grep'
),
),
);
if ($GLOBALS['conf']['kolab']['enabled']) {
$servers['kolab'] = array(
'name' => 'Kolab Cyrus IMAP Server',
'server' => $GLOBALS['conf']['kolab']['imap']['server'],
'hordeauth' => 'full',
'protocol' => 'imap/notls/novalidate-cert',
'port' => $GLOBALS['conf']['kolab']['imap']['port'],
'maildomain' => $GLOBALS['conf']['kolab']['imap']['maildomain'],
'realm' => '',
'preferred' => '',
'quota' => array(
'driver' => 'cyrus',
'params' => array(
'login' => $GLOBALS['conf']['kolab']['imap']['adminuser'],
'password' => $GLOBALS['conf']['kolab']['imap']['adminpw'],
'userhierarchy' => 'user.'
)
'userhierarchy' => 'user.'
)
),
'acl' => array(
'driver' => 'rfc2086',
),
);
}
btw. quota does not work too :-(
Reply With Quote
  #18  
Old 26th March 2006, 12:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

I can't find base_protocol in servers.php...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #19  
Old 26th March 2006, 16:41
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

I googled again for: Notice: Undefined index: base_protocol in horde

and one of the results contained this:

Quote:
head 2.637; access; symbols IMP_4_1:2.560.4.34 IMP_4_1_RC3:2.560 ... - [ Diese Seite übersetzen ]
$selfURL = Util::removeParameter(Horde::selfUrl(true), array('index', 'actionID')); ... Use $imp['base_protocol'] instead of $imp['protocol']. ...
downloads.planetmirror.com/pub/horde-cvs/imp/message.php,v - 657k -
but the original page is gone, thats all I found.
So I will try and find another hint.

I thought I am done, yet I have still some errors:

Quote:
Notice: unserialize(): Argument is not a string in /var/www/webmail/web/horde/kronolith/lib/base.php on line 69

Notice: unserialize(): Argument is not a string in /var/www/webmail/web/horde/kronolith/lib/base.php on line 70

Warning: array_values(): The argument should be an array in /var/www/webmail/web/horde/kronolith/lib/base.php on line 92

Notice: unserialize(): Argument is not a string in /var/www/webmail/web/horde/kronolith/lib/base.php on line 102
###edit###
anyone using gollem as a filemanager? if so what backend do you use? I would liek to provide file access for my users, I mean access to their files on the server and need some help doing so. If that is not possible with the existing structure of ispconfig then I will give them access to a vfs in a mysql database.

Last edited by Ovidiu; 26th March 2006 at 17:41.
Reply With Quote
  #20  
Old 26th March 2006, 21:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Quote:
Use $imp['base_protocol'] instead of $imp['protocol'].
I'd then replace
Code:
'protocol' => 'imap/notls',
in servers.php with
Code:
'base_protocol' => 'imap/notls',
Maybe it works.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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 10:34.


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