Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Horde Webmail Error - PEAR_LOG_ERROR

Discussion in 'E-mail Discussion' started by canfone, Oct 11, 2006.

  1. canfone

    canfone Active Member

    Joined:
    Aug 15, 2003
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Montreal
    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. gilman01

    gilman01 Member

    Joined:
    Jun 13, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Glen Rock, PA
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ParabolaStudios

    ParabolaStudios Registered

    Joined:
    Jul 13, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Boise, ID
    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. :rolleyes:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Bangalore, India
    /scripts/fullhordereset
    /scripts/fixwebmail
    /scripts/upcp --force
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. ParabolaStudios

    ParabolaStudios Registered

    Joined:
    Jul 13, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Boise, ID
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #5 ParabolaStudios, Oct 12, 2006
    Last edited: Oct 12, 2006
  6. nettigritty

    nettigritty Well-Known Member
    PartnerNOC

    Joined:
    Jan 21, 2004
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Bangalore, India
    yup, you can also drop the horde DB from phpmyadmin in WHM and then run that or even try a repair before dropping it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. internetfab

    internetfab Well-Known Member
    PartnerNOC

    Joined:
    Feb 20, 2003
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Gothenburg, Sweden
    cPanel Access Level:
    DataCenter Provider
    Dropping the horde DB? Won't that erase calendars, address books and so on? :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    3
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Why are you replying to a 2 year old thread? ;)
     
  9. MattDees

    MattDees Well-Known Member

    Joined:
    Apr 29, 2005
    Messages:
    416
    Likes Received:
    1
    Trophy Points:
    243
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. H2Hosting.com

    H2Hosting.com Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    316
    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. sabarishks

    sabarishks Active Member

    Joined:
    Jun 29, 2007
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    56
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice