The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Webmail don't work

Discussion in 'E-mail Discussions' started by speckados, Oct 26, 2004.

  1. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    291
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Acequias :: Granada :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    This morning https://domain.tld:2096/ show a blank page.

    Al servers run WHM 9.9.7 cPanel 9.9.8-R5 Fedora i686 - WHM X v3.1.0 . Also any automatic update on server.

    Misterious.

    Run /scripts/upcp --force and webmail work fine.
     
  2. Dillard

    Dillard Well-Known Member

    Joined:
    Feb 26, 2003
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    The Netherlands
    FIXED: Webmail, Horde and Squirrelmail on FreeBSD

    That didn't work for us (CPanel 9.9.8 on FreeBSD 5.2).

    We tried touch /var/cpanel/usecpphp etc. but finally found we needed to recompile the Cpanel-PHP version.

    /scripts/makecpphp did't worked either.

    The following we found to be the error :

    type "ls -l /usr/bin/mysql"

    If /usr/bin/mysql is a symbolic link to /usr/local/bin/mysql do the following:

    type "pico /scripts/makecpphp"

    Replace this:

    Code:
    $MYSQL='--with-mysql';
    if (-e "/usr/local/bin/mysql") {
            $MYSQL='--with-mysql=/usr/local';
    }
    if (-e "/usr/bin/mysql") {
            $MYSQL='--with-mysql=/usr';
    }
    
    by this:

    Code:
    $MYSQL='--with-mysql';
    if (-e "/usr/local/bin/mysql") {
            $MYSQL='--with-mysql=/usr/local';
    }
    if (-e "/usr/bin/mysql") {
            $MYSQL='--with-mysql=/usr/local';
    }
    
    And run /scripts/makecpphp again. This time it will compile and webmail (horde and squirrelmail) runs again.

    NB: This is NOT an elegant fix, but as /usr/bin/mysql is just a link (in our case) the script needs to know where it can find the mysql-header files, and that is in /usr/local ..

    Perhaps CPanel-support can update makecpphp (with a something more elegant solution)?
     
  3. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Here is what we found that goes wrong with every upgrade in cpanel.

    The following files are removed from /usr/local/cpanel/lib

    If you have more than one machine, we then fetch and copie them over.

    libz.so.2
    libpq.so.3
    libpq.so.2
    libmysqlclient.so.12
    libintl.so.6
    libintl.so.5
    libintl.so.4
    libiconv.so.3

    Also make sure libcrypto.so.3 is located in
    /usr/local/lib before you do any upgades.

    Once these files are restored, Horde and Squirrel mail will work again.
     
    #3 easyhoster1, Oct 29, 2004
    Last edited: Oct 29, 2004
  4. Born2Kill

    Born2Kill Well-Known Member

    Joined:
    Jan 2, 2004
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    localhost or dev/null
    Hello,
    I does not have that files
    can someone post me or send me that files ?
     
  5. easyhoster1

    easyhoster1 Well-Known Member

    Joined:
    Sep 25, 2003
    Messages:
    659
    Likes Received:
    0
    Trophy Points:
    16
    Sent you a PM
     
  6. NocTurNalFX

    NocTurNalFX Active Member

    Joined:
    Jan 24, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I am missing those files as well, is there anyway to get them?


     
Loading...

Share This Page