Results 1 to 8 of 8

Thread: Webmail no loading in ssl mode

  1. #1
    Member
    Join Date
    Dec 2003
    Posts
    28

    Question Webmail no loading in ssl mode

    Hi, i need some help about webmail, if i try to use it in port 2095 it loads ok, but if i want to use the port 2096 it show me the 3 webmail options, but if i click in them the page never loads.

    I hope someone can help me to fix this problem, my cpanel version is WHM 9.4.0 cPanel 9.4.1-S65 in a box with RedHat Enterprise 3.

    Thank you
    Carlos

  2. #2
    Member
    Join Date
    Apr 2004
    Location
    Brisbane, Queensland, Australia
    Posts
    66

    Lightbulb

    Login to root through SSH and run the /scripts/fixwebmail script.
    See how you go with that.

  3. #3
    Member
    Join Date
    Dec 2003
    Posts
    28

    Default

    Thank you for your response, that script give me this error:

    Code:
    /scripts/fixwebmail
    chown: failed to get attributes of `/usr/local/etc/cpanel/base/webmail/data': No such file or directory
    chmod: failed to get attributes of `/usr/local/etc/cpanel/base/webmail/data': No such file or directory
    There are any other way to fix this?

    Carlos.

  4. #4
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/WHM Access Level

    Root Administrator

    Default

    i do not think that file named "/usr/local/etc/cpanel/base/webmail/data" exists in a C-panel server. The path to c-panel base is "/usr/local/cpanel/base/webmail".

    are your secure WHM/C-panel access working at port 2087 and 2083 ? the link for securewebmail shld be
    ================
    https://ip:2096
    ================
    remember to have the https when using the 2096/2087/2083.

  5. #5
    Member
    Join Date
    Dec 2003
    Posts
    28

    Default

    Hi linux-image, yes whm and cpanel works ok in 2083 and 2087 ports, the webmail is working too in the correct port with https (2096), in fact, i have to automatic log in in the secure connection using http://domain/webmail, i can see the first screen to select the webmail you want to use, change password and such, but the problem is when i select some of them and try to see the inbox, the email list never download, the site shows blank page and kepp downloading but never show the results, in the account i'm testing there are about 20 emails and all shows normal and with normal speed in the port 2095.

    Locating webmail i can see the files are in "/usr/local/cpanel/base/webmail" as you said, so maybe is a typo in the script? you think if i change the script manually the problem can be fixed?

    Thank you in advanced for your help.

    Carlos

  6. #6
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/WHM Access Level

    Root Administrator

    Default

    there is no file/folder with the name " /usr/local/etc/cpanel/base/webmail/data" or /usr/local/cpanel/base/webmail/data that the script is trying to correct. hence running the script will not help much.

    the https authentication is usually run by the stunnel for c-panel; and since the error is shown only when data transfer using stunnel is done; you can try a stunnel restart.

    do the following:
    ===============
    ps ax | grep stunnel
    ===============

    you will get a pid for the current running stunnel. Kill it via:
    ===============
    kill -9 pid
    ===============

    now start stunnel: /usr/local/cpanel/etc/init/startstunnel
    ==============================================
    then restart exim and cpanel via the "/etc/rc.d/init.d/" start/stop directives.

    you can try these and see for any change...

  7. #7
    Member
    Join Date
    Oct 2003
    Location
    Valencia, CA
    Posts
    60

    Default Just encountered this issue

    We have encountered the same issue. Actually, it appears to be more widespread than just webmail connections, because we have also found phpmyadmin connections to get stuck.

    We believe that this situation is somehow connected to how cPanel is handling ssl (https) connections. We tried restarting stunnel, as outlined above, and then restarting exim and cpanel. This does not work, at least not consistently or permanently.

    We have found a temporary workaround, which is to change the URL that your browser is attempting to connect to. If you are trying to connect to:

    https://yourdomain.com:2096/horde/index.php, change it to:
    http://yourdomain.com:2095/horde/index.php

    This also works if you are connecting through cPanel:

    https://yourdomain.com:2083/horde/index.php, change it to:
    http://yourdomain.com:2082/horde/index.php.

    Can anyone suggest a permanent fix to this problem? In addition to the stunnel restart, we have tried updating WHM/cPanel (/scripts/upcp --force) and fixing webmail (/scripts/fixwebmail), which BTW returns the same error that has been mentioned in another thread (chown: failed to get attributes of `/usr/local/etc/cpanel/base/webmail/data': No such file or directory), so that may be related, or it may be a totally different issue.

    We did notice that when we restart cPanel, Interchange services always show as failed, but we don't know if that's related.

    We are running WHM 9.9.7 cPanel 9.9.8 S6 on RHE.

    Any help would be appreciated.

  8. #8
    Member
    Join Date
    Oct 2003
    Location
    Valencia, CA
    Posts
    60

    Default

    If anyone is interested, the fix for this situation is to turn OFF "When users access /cpanel or /whm or /webmail on their domain redirect them to the https(ssl) port instead of the insecure one" in Tweak Settings. You should be able to turn this on, but at least in this version (9.9.7 / 9.9.8 S6), it doesn't work properly.

    Between this issue and the spamassassin problems, I don't really know how they can call this a STABLE release?

Similar Threads

  1. Webmail URL Not Loading
    By mibos in forum New User Questions
    Replies: 2
    Last Post: 05-24-2011, 05:54 AM
  2. Problems loading Horde via webmail (IMAP)
    By junglecat in forum E-mail Discussions
    Replies: 1
    Last Post: 09-01-2010, 09:08 PM
  3. Horde broken in SSL mode
    By philpem in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 09-28-2006, 04:31 AM
  4. Using SSL mode :2087
    By DigiCrime in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 09-13-2006, 09:33 AM
  5. Webmail -> Neomail loading problems w/ Safari (Mac)
    By TAK in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-14-2005, 08:11 PM