[horde] Install Horde 5 fails with new server
Louis-Philippe Allard
lp.allard.1 at gmail.com
Tue Jul 16 01:21:56 UTC 2013
On Mon, Jul 15, 2013 at 8:57 PM, Louis-Philippe Allard <
lp.allard.1 at gmail.com> wrote:
>
> On Fri, Jul 12, 2013 at 4:26 PM, Vilius Sumskas/LNK <vilius at lnk.lt> wrote:
>
>> >On Fri, Jul 12, 2013 at 12:13 AM, Vilius Sumskas/LNK <vilius at lnk.lt>
>> >wrote:
>> >
>> >>On Thu, Jul 11, 2013 at 10:41 AM, Jan Schneider <jan at horde.org>
>> >>wrote:
>> >>
>> >>> 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
>>
>> >
>> >Files under your webroot are installed when "horde", "imp" and other
>> >application PEAR packages are installed. These latter packages should
>> >be installed when you install "webmail" packages. Their are webmail
>> >dependencies, see
>> >https://github.com/horde/horde/blob/master/bundles/webmail/package.xm
>> >l
>> >
>> >If you are not seeing them pulled after the webmail automatically
>> >then either your PEAR is broken or misconfigured or installation
>> >doesn't satisfy one of the dependencies. You can install dependencies
>> >manually one by one (which is a pain) or try in case of broken PEAR
>> >try fixing it first.
>> >
>> >--
>> > Vilius
>> >--
>> >Horde mailing list
>> >Frequently Asked Questions: http://horde.org/faq/
>> >To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>> >
>> >
>> >
>> >Ok I understand what you;'re saying. However, since I want to use
>> >the horde webmail framework which in the end I want to use at least
>> >(but not limited to) the calendar, contacts, email, tickets, imp,
>> >etc.... Are the commands indicated in the install readme on horde's
>> >website not good??
>> >
>> >
>> >pear channel-discover pear.horde.org
>> >pear install horde/horde_role
>> >pear run-scripts horde/horde_role
>> >pear install -a -B horde/webmail
>>
>> The commands are OK. However they would only work if your PEAR is in good
>> condition.
>>
>> >Then webmail-install which fails...
>>
>> It WILL always fail if "horde" package is not installed.
>>
>> >"automatically then either your PEAR is broken or misconfigured or
>> >installation doesn't satisfy one of the dependencies"
>> >
>> >
>> >If PEAR is broken, like I said, all of Slackware's users are in
>> >trouble. Misconfigured perhaps, but thats what I have been trying to
>> >find for weeks now, on Horde's IRC channel, on Linuxquestions.org, on
>> >this maillist..
>>
>> We cannot help if we cannot reproduce the problem. "webmail" package
>> installs just fine for me under Fedora 19 and under RHEL 6.4. All I can say
>> is that from what you've posted in your last messages about empty horde
>> webroot folders almost none of the dependency packages got installed.
>>
>> Why is that you need to debug yourself. Have you tried increasing PHP log
>> levels? Have you tried increasing PEAR's log verbose level? You've never
>> showed us "pear list -a" results by the way.
>>
>> >Finally, if my setup doesn't satisfy one of the dependencies, some
>> >more transparent error messages or perhaps a dependency checkup
>> >script prior to installing horde would be in order? Like a php
>> >script or whatever...
>>
>> This is done automatically by PEAR (at least in most cases). package.xml
>> file in my last link does exactly that!
>>
>
> I take that slackware's pear or php setup is cooked out of the box. Im
> still at the same stage. I ran "pear list -a" and got:
>
> root at lhost2:~# pear list -a
> Installed packages, channel __uri:
> ==================================
> (no packages installed)
>
> Installed packages, channel doc.php.net:
> ========================================
> (no packages installed)
>
> Installed packages, channel pear.horde.org:
> ===========================================
> Package Version State
> Horde_ActiveSync 2.5.5 stable
> Horde_Alarm 2.0.4 stable
> Horde_Argv 2.0.7 stable
> Horde_Auth 2.0.4 stable
> Horde_Autoloader 2.0.1 stable
> Horde_Browser 2.0.3 stable
> Horde_Cache 2.2.0 stable
> Horde_Cli 2.0.3 stable
> Horde_Compress 2.0.3 stable
> ...
>
> Installed packages, channel pear.php.net:
> =========================================
> Package Version State
> Archive_Tar 1.3.11 stable
> Auth_SASL 1.0.6 stable
> Cache 1.5.6 stable
> Console_Color 1.0.3 stable
> Console_Getopt 1.3.1 stable
> Console_Table 1.1.5 stable
> DB 1.7.14 stable
> ...
>
> Installed packages, channel pecl.php.net:
> =========================================
> Package Version State
> APC 3.1.13 beta
> LZF 1.6.2 stable
> geoip 1.0.8 stable
> intl 3.0.0 stable
> memcache 2.2.7 stable
> mongo 1.4.1 stable
> pam 1.0.3 stable
> xdiff 1.4.1 stable
>
> I tried increasing php's log verbosity to the max, I got exactly the same
> output as the command "webmail-install"
>
> [16-Jul-2013 00:44:07 UTC] PHP Warning:
> require_once(/var/www/htdocs/horde/lib/Application.php): failed to open
> stream: No such file or directory in /usr/bin/webmail-install on line 17
> [16-Jul-2013 00:44:07 UTC] PHP Fatal error: require_once(): Failed
> opening required '/var/www/htdocs/horde/lib/Application.php'
> (include_path='.:/usr/lib64/php:/usr/include/php:/usr/lib64/php/PEAR') in
> /usr/bin/webmail-install on line 17
>
> Finally I tried uninstalling everything from horde and your pear channel:
>
> pear/Horde_ActiveSync not installed
> pear/Horde_Alarm not installed
> pear/Horde_Argv not installed
> pear/Horde_Auth not installed
> pear/Horde_Autoloader not installed
> pear/Horde_Browser not installed
> pear/Horde_Cache not installed
> pear/Horde_Cli not installed
> pear/Horde_Compress not installed
> pear/Horde_Compress_Fast not installed
> pear/Horde_Constraint not installed
> pear/Horde_Controller not installed
> pear/Horde_Core not installed
> pear/Horde_Crypt not installed
> pear/Horde_Crypt_Blowfish not installed
> pear/Horde_Css_Parser not installed
> pear/Horde_Data not installed
> pear/Horde_Date not installed
> pear/Horde_Date_Parser not installed
>
> Then I ran "pear list -a" and STILL it said that
>
> Installed packages, channel pear.horde.org:
> ===========================================
> Package Version State
> Horde_ActiveSync 2.5.5 stable
> Horde_Alarm 2.0.4 stable
> Horde_Argv 2.0.7 stable
> Horde_Auth 2.0.4 stable
> Horde_Autoloader 2.0.1 stable
> Horde_Browser 2.0.3 stable
> Horde_Cache 2.2.0 stable
>
> Is my PEAR setup completely wasted because trying to uninstall the
> packages it said that they were not installed, but when I list the packages
> they are listed.. I also tried deleting horde's channel to come back more
> or less to a stock slackware setup, it said"
>
> Channel "pear.horde.org" has installed packages, cannot delete
>
> Something' really weird.
>
I tried on a different slackware machine, same thing ;)
I will inquire on the Slackware community and post back..
More information about the horde
mailing list