Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    3

    Exclamation Horde Mail and Squirell mail failing after server restore

    Help I have a problem with one of our servers.
    When I login under an account , click add/remove email accounts, then click read webmail and login with password, click on horde , click ok on english, It craps out with bunch of errors.

    I saw a post to repair the tables in here and it said it was successful so I ran
    connect horde
    repair table horde_sessionhandler
    It didnt work, and now I get different errors on the horde log.

    I was thinking perhaps the horde db is corrupted now, and maybe I can restore it. I just dont know where the files physically reside so I can restore it from backup.. any ideas anyone? Or what can I do to fix this problem anyone?

    I got the errors and the log files below... someone please help this poor admin who doesnt know crap about cpanel~ please~
    --------------------------------------
    on the top section - Horde Webmail

    Warning: fopen(/tmp/horde_32001.log): failed to open stream: Permission denied in /usr/local/cpanel/3rdparty/lib/php/Log/file.php on line 202

    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/3rdparty/lib/php/Log/file.php:202) in /usr/local/cpanel/base/horde/templates/common-header.inc on line 4

    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/3rdparty/lib/php/Log/file.php:202) in /usr/local/cpanel/base/horde/templates/common-header.inc on line 5
    --- bottom section --
    Notice: (null)(): No such host as localhost (errflg=2) in Unknown on line 0


    -----------------------------------------------------HORDE ERROR LOG ------
    Aug 31 16:21:03 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 299 of "/usr/local/cp
    anel/base/horde/lib/Horde/SessionHandler/mysql.php"]
    Aug 31 16:21:03 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 299 of "/usr/local/cp
    anel/base/horde/lib/Horde/SessionHandler/mysql.php"]
    Aug 31 16:21:03 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 299 of "/usr/local/cp
    anel/base/horde/lib/Horde/SessionHandler/mysql.php"]
    Aug 31 16:25:38 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 299 of "/usr/local/cp
    anel/base/horde/lib/Horde/SessionHandler/mysql.php"]
    Aug 31 16:25:38 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 299 of "/usr/local/cp
    anel/base/horde/lib/Horde/SessionHandler/mysql.php"]
    Aug 31 16:25:38 HORDE [emergency] [horde] Could not connect to database for SQL SessionHandler. [on line 299 of "/usr/local/cp
    anel/base/horde/lib/Horde/SessionHandler/mysql.php"]

    ----ERROR LOG AFTER repair table horde_sessionhandler run --

    Sep 01 15:44:55 HORDE [error] [turba] DB Error: no such field: SELECT object_id, owner_id, object_type, object_members, object
    _uid, object_name, object_email, object_alias, object_homeaddress, object_workaddress, object_homephone, object_workphone, obj
    ect_cellphone, object_fax, object_title, object_company, object_notes, object_pgppublickey, object_smimepublickey, object_free
    busyurl FROM turba_objects WHERE (owner_id = 0) [nativecode=1054 ** Unknown column 'object_uid' in 'field list'] [on line 86 o
    f "/usr/local/cpanel/base/horde/turba/lib/Driver/sql.php"]
    Sep 07 13:48:54 HORDE [error] [turba] DB Error: no such field: SELECT object_id, owner_id, object_type, object_members, object
    _uid, object_name, object_email, object_alias, object_homeaddress, object_workaddress, object_homephone, object_workphone, obj
    ect_cellphone, object_fax, object_title, object_company, object_notes, object_pgppublickey, object_smimepublickey, object_free
    busyurl FROM turba_objects WHERE (owner_id = 0) [nativecode=1054 ** Unknown column 'object_uid' in 'field list'] [on line 86 o
    f "/usr/local/cpanel/base/horde/turba/lib/Driver/sql.php"]

  2. #2
    Member
    Join Date
    Aug 2003
    Posts
    10

    Default I have same error!

    Does anyone have any solution...?

    -TmC74

  3. #3
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    try
    /usr/local/cpanel/bin/updatehorde

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge gorilla's Avatar
    Join Date
    Feb 2004
    Location
    Sydney / Australia
    Posts
    736

    Default

    am getting those errors after running /usr/local/cpanel/bin/updatehorde
    ------------------------
    Fatal error: Cannot instantiate non-existent class: pear_frontend_cli in /usr/local/cpanel/3rdparty/lib/php/PEAR/Command.php on line 144
    DBD::mysql::st execute failed: Table 'horde.horde_categories' doesn't exist at /usr/local/cpanel/bin/horde_update_usernames line 42.
    DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/cpanel/bin/horde_update_usernames line 43.
    -----------------------


    on
    WHM 10.6.0 cPanel 10.8.0-R27
    CentOS 4.1 x86_64 - WHM X v3.1.0

    Any suggestions ?

  5. #5
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Same problem here and when we ran update we got this instead.

    ** Default histories successfully created ***
    Package 'Log' already installed, skipping
    Package 'Mail_Mime' already installed, skipping
    Package 'File' already installed, skipping
    Package 'Date' already installed, skipping
    Package 'Net_Socket' already installed, skipping
    Package 'Net_URL' already installed, skipping
    Package 'Auth_SASL' already installed, skipping
    Package 'HTTP_Request' already installed, skipping
    xml_rpc_client: Connection to RPC server pear.php.net:80 failed. Connection timed out
    DBD::mysql::st execute failed: Table 'horde.horde_categories' doesn't exist at /usr/local/cpanel/bin/horde_update_usernames line 42.
    DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/local/cpanel/bin/horde_update_usernames line 43.


    When is this going to be fixed?

  6. #6
    cPanel Partner NOC cPanel Partner NOC Badge gorilla's Avatar
    Join Date
    Feb 2004
    Location
    Sydney / Australia
    Posts
    736

    Default

    For me the fix was by disabling ioncube in tweak settings and horde and phpmyadmin started working again
    This only effected my server running 64bit , all other ones didnt have this issue
    Last edited by gorilla; 10-11-2005 at 11:14 AM.

  7. #7
    Member
    Join Date
    Apr 2003
    Location
    Houston
    Posts
    70

    Default

    I changed permissions on /tmp/horde_32001.log to chmod 777 and ran /usr/local/cpanel/bin/updatehorde

    Works great for me now.

  8. #8
    Member
    Join Date
    Mar 2004
    Posts
    5

    Default

    Quote Originally Posted by xprt5
    I changed permissions on /tmp/horde_32001.log to chmod 777 and ran /usr/local/cpanel/bin/updatehorde

    Works great for me now.
    I had the same error and this fix works, i did the following:

    changed permissions on /tmp/horde_32001.log to 777
    ran /usr/local/cpanel/bin/updatehorde
    repaired the table horde_sessionhandler
    changed permissions on /tml/horde_32001.log to 777

Similar Threads & Tags
Similar threads

  1. Horde POP3 Fetch Mail From Google Apps Mail
    By bEgUnDaL in forum E-mail Discussions
    Replies: 3
    Last Post: 03-11-2012, 09:19 PM
  2. Mail not failing...
    By chrisd77 in forum E-mail Discussions
    Replies: 0
    Last Post: 02-28-2008, 06:03 PM
  3. Squirrel Mail and Horde mail did not work
    By vietkool in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 06-12-2007, 11:12 AM
  4. Replies: 7
    Last Post: 11-01-2006, 12:15 AM
  5. mail failing
    By pkuk in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-02-2004, 01:33 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube