Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    cPanel Verified Vendor This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Aug 2003
    Location
    Montreal
    Posts
    26

    Arrow Horde Webmail Error - PEAR_LOG_ERROR

    I have a new cPanel installation -- having issues with the Horde webmail I am receiving the following error messages:

    Notice: Use of undefined constant PEAR_LOG_ERROR - assumed 'PEAR_LOG_ERROR' in /usr/local/cpanel/base/horde/lib/Horde/Group.php on line 400

    Notice: Undefined index: PEAR_LOG_ERROR in /usr/local/cpanel/3rdparty/lib/php/Log.php on line 427

    Does anyone have any ideas? I have most up to date PEAR ....

  2. #2
    Member
    Join Date
    Jun 2003
    Location
    Glen Rock, PA
    Posts
    14

    Default

    We've got the same issue on our server. Started within the last three days. We did a complete reinstall of Horde but that didn't solve the issue. Opening a bug report.
    Jeff Hoffman
    The Gilman Group

  3. #3
    Registered User
    Join Date
    Jul 2003
    Location
    Boise, ID
    Posts
    3

    Default Horde Errors

    I'm receiving the following errors on a server that has been running fine up until about a week ago:
    Notice: Use of undefined constant PEAR_LOG_ERROR - assumed 'PEAR_LOG_ERROR' in /usr/local/cpanel/base/horde/lib/Horde/Group.php on line 400

    Notice: Undefined index: PEAR_LOG_ERROR in /usr/local/cpanel/3rdparty/lib/php/Log.php on line 427

    Warning: array_keys(): The first argument should be an array in /usr/local/cpanel/base/horde/lib/Horde/Share.php on line 541

    Notice: Use of undefined constant PEAR_LOG_ERROR - assumed 'PEAR_LOG_ERROR' in /usr/local/cpanel/base/horde/lib/Horde/Group.php on line 400

    Notice: Undefined index: PEAR_LOG_ERROR in /usr/local/cpanel/3rdparty/lib/php/Log.php on line 427

    Warning: array_keys(): The first argument should be an array in /usr/local/cpanel/base/horde/lib/Horde/Share.php on line 541

    Notice: Use of undefined constant PEAR_LOG_ERROR - assumed 'PEAR_LOG_ERROR' in /usr/local/cpanel/base/horde/lib/Horde/Group.php on line 400

    Notice: Undefined index: PEAR_LOG_ERROR in /usr/local/cpanel/3rdparty/lib/php/Log.php on line 427

    Warning: array_keys(): The first argument should be an array in /usr/local/cpanel/base/horde/lib/Horde/Share.php on line 541

    I was hoping they were going to release an update to fix this considering it's obviously an update that broke it in the first place. No such luck so far.

  4. #4
    Member nettigritty's Avatar
    Join Date
    Jan 2004
    Location
    Bangalore, India
    Posts
    196

    Default

    /scripts/fullhordereset
    /scripts/fixwebmail
    /scripts/upcp --force

  5. #5
    Registered User
    Join Date
    Jul 2003
    Location
    Boise, ID
    Posts
    3

    Default

    After performing /scripts/fullhordereset, I received the following messages:

    mysqladmin: DROP DATABASE horde failed;
    error: 'Error dropping database (can't rmdir './horde/', errno: 17)'
    Creating Horde database
    ERROR 1007 at line 48: Can't create database 'horde'. Database exists
    Updating Pear modules ...Done
    Restoring Horde data
    Resyncing Horde database items
    DBD::mysql::st execute failed: Table 'horde.horde_vfs' doesn't exist at /usr/local/cpanel/bin/horde_update_usernames line 38.
    Done. Horde updated to 3.1.3

    Horde no longer allows me to log in, it just brings me to the language page and when I click the log in button, it just refreshes to the same page.

    News:
    I stopped mysql, moved /var/lib/mysql/horde to a temp spot, started mysql, and reran /scripts/fullhordereset. This seems to have fixed all the issues.
    Last edited by ParabolaStudios; 10-12-2006 at 04:28 PM.

  6. #6
    Member nettigritty's Avatar
    Join Date
    Jan 2004
    Location
    Bangalore, India
    Posts
    196

    Default

    yup, you can also drop the horde DB from phpmyadmin in WHM and then run that or even try a repair before dropping it.

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Feb 2003
    Location
    Gothenburg, Sweden
    Posts
    324

    Default

    Dropping the horde DB? Won't that erase calendars, address books and so on?

    twitter: oderland_david

  8. #8
    Member serversphere's Avatar
    Join Date
    Jan 2004
    Posts
    658

    Default

    Why are you replying to a 2 year old thread?

  9. #9
    cPanel Staff cPanelMatt's Avatar
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    409

    Default

    fullhordreset actually drops the horde table and rebuilds it from sql files in /var/cpanel/horde/ they are backed up right before this to avoid data loss.

    As for the original error this thread was started over, this was due to a bug in horde that got addressed earlier today.

    http://bugs.horde.org/ticket/6437
    Matt Dees
    Integration Developer
    cPanel, Inc.
    cPanel Integration Blog

  10. #10
    Member
    Join Date
    Sep 2001
    Posts
    189

    Default

    Actually, /scripts/fullhordereset does not work correctly. When we run it, we get incorrect tables in /var/lib/mysql/horde dir:

    -rw-r--r-- 1 mysql mysql 61440 Mar 26 08:45 hor.tar
    -rw-rw---- 1 mysql mysql 8946 Mar 26 08:50 jonah_channels.frm
    -rw-rw---- 1 mysql mysql 0 Mar 26 08:50 jonah_channels.MYD
    -rw-rw---- 1 mysql mysql 1024 Mar 26 08:50 jonah_channels.MYI
    -rw-rw---- 1 mysql mysql 8860 Mar 26 08:50 jonah_stories.frm
    -rw-rw---- 1 mysql mysql 0 Mar 26 08:50 jonah_stories.MYD
    -rw-rw---- 1 mysql mysql 1024 Mar 26 08:50 jonah_stories.MYI
    -rw-rw---- 1 mysql mysql 9436 Mar 26 08:50 kronolith_events.frm
    -rw-rw---- 1 mysql mysql 0 Mar 26 08:50 kronolith_events.MYD
    -rw-rw---- 1 mysql mysql 1024 Mar 26 08:50 kronolith_events.MYI
    -rw-r--r-- 1 mysql mysql 51200 Mar 26 08:45 kronolith_events.tar
    -rw-rw---- 1 mysql mysql 8642 Mar 26 08:50 kronolith_storage.frm
    -rw-rw---- 1 mysql mysql 0 Mar 26 08:50 kronolith_storage.MYD
    -rw-rw---- 1 mysql mysql 1024 Mar 26 08:50 kronolith_storage.MYI
    -rw-rw---- 1 mysql mysql 8778 Mar 26 08:50 mnemo_memos.frm
    -rw-rw---- 1 mysql mysql 0 Mar 26 08:50 mnemo_memos.MYD
    -rw-rw---- 1 mysql mysql 1024 Mar 26 08:50 mnemo_memos.MYI
    -rw-rw---- 1 mysql mysql 8932 Mar 26 08:50 nag_tasks.frm
    -rw-rw---- 1 mysql mysql 0 Mar 26 08:50 nag_tasks.MYD
    -rw-rw---- 1 mysql mysql 1024 Mar 26 08:50 nag_tasks.MYI
    -rw-rw---- 1 mysql mysql 9452 Mar 26 08:50 turba_objects.frm
    -rw-rw---- 1 mysql mysql 0 Mar 26 08:50 turba_objects.MYD
    -rw-rw---- 1 mysql mysql 1024 Mar 26 08:50 turba_objects.MYI

    This script does not restore all databases!!!

    errors:

    ERROR 1146 at line 12614: Table 'horde.horde_histories' doesn't exist
    ERROR 1146 at line 12615: Table 'horde.horde_histories' doesn't exist
    ERROR 1146 at line 12616: Table 'horde.horde_histories' doesn't exist
    ERROR 1146 at line 12617: Table 'horde.horde_histories' doesn't exist
    ERROR 1146 at line 12618: Table 'horde.horde_histories' doesn't exist
    ERROR 1146 at line 12619: Table 'horde.horde_histories' doesn't ex

    and so on.

  11. #11
    Member
    Join Date
    Jun 2007
    Posts
    37

    Red face Install Pear modules.

    Try these...
    pear install -o Log Mail Mail_Mime DB Date File

    pear -d preferred_state=beta install -a Services_Weather

    If not fixed, try these all.


    mkdir ~/pearstuff
    cd ~/pearstuff
    wget http://pear.php.net/get/Console_Getopt-1.2.tgz
    wget http://pear.php.net/get/Archive_Tar-1.3.1.tgz
    tar xzf Archive_Tar-1.3.1.tgz
    tar xzf Console_Getopt-1.2.tgz

    # (Need to be root now)
    su

    cd Console_Getopt-1.2/Console
    mkdir /usr/local/lib/php/Console
    cp Getopt.php /usr/local/lib/php/Console

    cd ../../Archive_Tar-1.3.1/Archive
    mkdir /usr/local/lib/php/Archive
    cp Tar.php /usr/local/lib/php/Archive

    pear upgrade Console_Getopt
    pear upgrade Archive_Tar

Similar Threads & Tags
Similar threads

  1. Horde login error usign webmail.domain.com (proxy)
    By duranduran in forum E-mail Discussions
    Replies: 0
    Last Post: 10-02-2010, 01:17 PM
  2. Horde PEAR_LOG_ERROR
    By gilman01 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-20-2007, 10:06 AM
  3. I know it's been posted but I still have the Horde webmail error
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-28-2007, 06:46 AM
  4. Error LOgin Webmail Horde/Squirel
    By chirpy in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 11-08-2006, 07:50 AM
  5. Horde Webmail error!
    By Stemel UK in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-20-2003, 06:28 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube