[horde] Install Horde 5 fails with new server

Jan Schneider jan at horde.org
Thu Jul 11 14:41:27 UTC 2013


Zitat von Louis-Philippe Allard <lp.allard.1 at gmail.com>:

> On Thu, Jul 11, 2013 at 8:25 AM, Jan Schneider <jan at horde.org> wrote:
>
>>
>> Zitat von Louis-Philippe Allard <lp.allard.1 at gmail.com>:
>>
>> Ok I spoke with the folks on freenode's php channel and according to them
>>> my setup is just fine..
>>>
>>> My pear setup is ok with the include_path directive.  They had me notice
>>> that perhaps the reason why webmail-install failed was because like it
>>> complained there are no Application.php files in the application path as
>>> provided during the horde role install script.
>>>
>>> As a matter of fact the entire app directory is extremely light and doest
>>> compare with my previous setup at all in terms of number of files.
>>>
>>> I know this is poor diagnosis but could it be possible that for whatever
>>> reason the initial pear command which retrieve the files fails and only
>>> retrieve a part of the whole thing?
>>>
>>> I see no communication error when I run the thing so I'd expect it to just
>>> work (tm)..
>>>
>>> In any case I'm not a pear expert but since there's a horde folder in my
>>> pear path I'd think the inckude_path is ok.
>>>
>>
>> Don't remove context/quotes if you reply to an older mail. I have no idea
>> what your original problem was, and I don't have time to look it up in the
>> archives.
>>
>> What you describe sounds like http://wiki.horde.org/FAQ/**
>> Admin/Troubleshoot#toc7<http://wiki.horde.org/FAQ/Admin/Troubleshoot#toc7>though.
>> --
>>
>
>
> Sorry Jan for doing this.  I sent the email from my android phone and
> had lost the initial email so I couldnt reply to the mailllist.  Anyways,
> here's the last email.
> Like I said, the issue seems to me more on the horde setup side than my
> machine's config (php, pear, etc).  In the email below I am recapping the
> steps one by one of what I did.  Look toward the middle where it downloads
> webmail-5.1.0.tgz that is only 116KB.  Is it supposed to be that small?   I

Yes.

> guess if its a downloading problem something is blocking or interrupting
> the download (firewall, ISP, local servers) or Im doing something stupid
> again.. ;)
>
>> Sorry for the lengthy email....  I added what I believe should be in the
>> include_path of php.ini as suggested, but its not working.  I ran:
>>
>> restarted apache/php with the modified php.ini (include_path=
>> ".:/php/includes:/usr/lib/php:/usr/lib64/php/PEAR"
>>
>> pear uninstall horde/horde_role
>> uninstall ok: channel://pear.horde.org/Horde_Role-1.0.1
>>
>> pear uninstall horde/webmail
>> uninstall ok: channel://pear.horde.org/webmail-5.1.0
>>
>> pear clear-cache
>> reading directory /tmp/pear/cache
>> 130 cache entries cleared
>>
>> pear channel-discover pear.horde.org
>> Channel "pear.horde.org" is already initialized
>>
>> pear install horde/horde_role
>> downloading Horde_Role-1.0.1.tgz ...
>> Starting to download Horde_Role-1.0.1.tgz (10,977 bytes)
>> .....done: 10,977 bytes
>> install ok: channel://pear.horde.org/Horde_Role-1.0.1
>> horde/Horde_Role has post-install scripts:
>> /usr/lib64/php/PEAR/Installer/Role/Horde/Role.php
>> Horde_Role: Use "pear run-scripts horde/Horde_Role" to finish setup.
>> DO NOT RUN SCRIPTS FROM UNTRUSTED SOURCES
>>
>> pear run-scripts horde/horde_role
>> Including external post-installation script
>> "/usr/lib64/php/PEAR/Installer/Role/Horde/Role.php" - any errors are in
>> this script
>> Inclusion succeeded
>> running post-install script "Horde_Role_postinstall->init()"
>> init succeeded
>> Filesystem location for the base Horde application : /var/www/htdocs/horde
>> Configuration successfully saved to PEAR config.
>> Install scripts complete
>>
>> pear install -a -B horde/webmail
>> downloading webmail-5.1.0.tgz ...
>> Starting to download webmail-5.1.0.tgz (116,522 bytes)
>> .........................done: 116,522 bytes
>> install ok: channel://pear.horde.org/webmail-5.1.0
>>
>> webmail-install
>> PHP Warning:  require_once(PEAR/Config.php): failed to open stream: No
>> such file or directory in /usr/bin/webmail-install on line 15
>>
>> Warning: require_once(PEAR/Config.php): failed to open stream: No such
>> file or directory in /usr/bin/webmail-install on line 15
>> PHP Fatal error:  require_once(): Failed opening required
>> 'PEAR/Config.php'
>> (include_path='.:/php/includes:/usr/lib/php:/usr/lib64/php/PEAR') in
>> /usr/bin/webmail-install on line 15

And do you have that file in one of those paths? If not, it doesn't  
matter what other people tell you, your include_path is still wrong,  
or your PEAR installation is still broken.

>> Fatal error: require_once(): Failed opening required 'PEAR/Config.php'
>> (include_path='.:/php/includes:/usr/lib/php:/usr/lib64/php/PEAR') in
>> /usr/bin/webmail-install on line 15
>>
>> Which OS?
>> Slackware64-14.0 (upgraded to latest packages)
>>
>> Which PHP version?
>> root <at> lhost2:~# php -v
>> PHP 5.4.16 (cli) (built: Jun  8 2013 18:06:14)
>> Copyright (c) 1997-2013 The PHP Group
>> Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
>>
>> Can you show the include path from /etc/php/cli/php.ini ?
>> root <at> lhost2:~# cat /etc/httpd/php.ini | grep include_path
>> include_path = ".:/php/includes:/usr/lib/php:/usr/lib64/php/PEAR"
>>
>> Which PEAR version?
>> root <at> lhost2:~# pear info pear
>> About pear.php.net/PEAR-1.9.4
>> Release Date           2011-07-06 22:11:24
>> Release Version        1.9.4 (stable)
>> API Version            1.9.4 (stable)
>>
>> What happens when you run "pear upgrade pear" first?
>> root <at> lhost2:~# pear upgrade pear
>> Nothing to upgrade
>>


-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list