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.

new install, squirrelmail broken... ??

Discussion in 'E-mail Discussions' started by BrooksBridges, Apr 30, 2005.

  1. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    Hello

    I'm setting up a newly installed server, and I'm having problems...

    anytime I open squirrelmail, I get this:

    Warning: main(../config/config.php): failed to open stream: No such file or directory in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 18

    Fatal error: main(): Failed opening required '../config/config.php' (include_path='/usr/local/cpanel/3rdparty/lib/php/:.') in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 18

    Version info:
    WHM 10.1.0 cPanel 10.2.0-C24
    CentOS 3.4 i686 - WHM X v3.1.0

    help please!

    edit:

    /scripts/fixwebmail gives this:

    [/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


    edit:

    I just upgraded to 10.2.0-E23 , and the problem still exists. What is the deal here?

    -Brooks
     
    #1 BrooksBridges, Apr 30, 2005
    Last edited: Apr 30, 2005
  2. Tony

    Tony Registered

    Joined:
    Jun 8, 2002
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Did you fix this ?
     
  3. ispro

    ispro Well-Known Member

    Joined:
    Apr 8, 2004
    Messages:
    628
    Likes Received:
    1
    Trophy Points:
    18
    Execute this via SSH:
    Code:
    cp -p /usr/local/cpanel/base/3rdparty/squirrelmail/config/config_default.php /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
    It will copy default config file which works for us (we have upgraded to 10.0.2 STABLE 48 today and got the same issue) and has no issues working with cPanel.
     
  4. FeeL

    FeeL Well-Known Member

    Joined:
    Apr 17, 2004
    Messages:
    135
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Rio de janeiro
    cPanel Access Level:
    Reseller Owner
    it works

    Worked fine here.

    Thank You.
     
  5. BrooksBridges

    BrooksBridges Well-Known Member

    Joined:
    Sep 2, 2004
    Messages:
    50
    Likes Received:
    0
    Trophy Points:
    6
    yep, worked here as well

    thanks for the help!
     
  6. truehustercom

    truehustercom Member

    Joined:
    Aug 27, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Also worked here

    Good fix and post. Thanks.


    -FC2-
     
  7. aspr

    aspr Member

    Joined:
    Sep 26, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Worked

    It worked fine Thanks!
     
  8. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    I had the same issue, and copied the default config file as was posted above.
    Now, instead of logging me straight into webmail, I am forced to log in an extra time at the squirrelmail login box.

    Is that the result others are seeing also?
     
  9. FeeL

    FeeL Well-Known Member

    Joined:
    Apr 17, 2004
    Messages:
    135
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Rio de janeiro
    cPanel Access Level:
    Reseller Owner
    me too!!

    Good point!

    This is happening with me too.
    And also the Portuguese language never applies!

    :(
     
  10. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    Found the issue with the help of the post below this one...

    Missing cpanel_auth files in the plugins directory...
     
  11. Dr. Bogger

    Dr. Bogger Well-Known Member

    Joined:
    Dec 21, 2003
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    6
    How do i fix the login issue?
     
  12. gallot

    gallot Active Member

    Joined:
    Oct 24, 2003
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    I had this issue and follow the fix above. Although it has been fixed, however, I noticed that Squirelmail will ask a second login. When one go to theirdomain.com/webmail, and select Squirrelmail, it pass to the login page yet of Squirrelmail instead of going directly to the interface. Has anyone noticed this?
     
  13. FeeL

    FeeL Well-Known Member

    Joined:
    Apr 17, 2004
    Messages:
    135
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Rio de janeiro
    cPanel Access Level:
    Reseller Owner
    same problem

    We all noticed this, my dear friend..
    This is why this solution is not ok or imcomplete!!!

    :(
     
  14. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney
    It is fixed in the latest "current" tree.

    However you can simply copy the files from the /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/cpanel_auth directory on a known working server, over to the affected server.

    If you need the files, either upgrade to current, or let me know and I can send you a tarball..

    Brad
     
  15. gmagana

    gmagana Active Member

    Joined:
    May 18, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    I can say I'm all upgraded to the current version and I still needed to do the "cp -p ..." thing, but it worked right away, and I only have to do one login.

    Just FYI...
     
  16. gupi

    gupi Well-Known Member

    Joined:
    Apr 27, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    Can someone please send me the cpanel_auth plugin at mail [at] hangarhosting [dot] net ?
    Thanks in advance

    Gupi
    (running CentOS 3.5 & Cpanel 10.2.0-R82)
     
  17. RKF

    RKF Member

    Joined:
    Jul 25, 2003
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Ispro.

    This was noted after upgrading to cPanel 10.2.0-R82. Also needed the cpanel_auth files.
     
  18. edybv

    edybv Member

    Joined:
    Dec 19, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    squirrelmail broken?

    Hello,

    I have some trobles, when i access webmail and select squirrelmai i have this :


    HTML:
    Warning: session_start() [function.session-start]: open(/tmp/sess_ddeca0f8998b78a3b34a94876693e8f8, O_RDWR) failed: Permission denied (13) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 405
    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:405) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 405
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:405) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 405
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:405) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/i18n.php on line 335
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:405) in /usr/local/cpanel/base/3rdparty/squirrelmail/src/login.php on line 64
    
    Warning: session_start() [function.session-start]: open(/tmp/sess_ccfcc06c00755784b7367ad587cf9ab4, O_RDWR) failed: Permission denied (13) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 405
    
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:405) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 405
    
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:405) in /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php on line 405
    
    Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/squirrelmail/functions/global.php:405) in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth/functions.php on line 53
    
    Warning: Unknown: open(/tmp/sess_ccfcc06c00755784b7367ad587cf9ab4, O_RDWR) failed: Permission denied (13) in Unknown on line 0
    
    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
    If somebody nows how to repair please let me not
     
  19. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    You have a permissions problem. Check the permissions for tmp/ as your sessions can not read or write it seems.

    chmod 1777 tmp/

    Also remove the old sessions:
    rm -rf /tmp/sess*

    Restart apache wouldnt hurt either.
     
  20. edybv

    edybv Member

    Joined:
    Dec 19, 2007
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Hey jayh


    Tnx for your answer.

    I change permision for /tmp and now it`s ok.

    TNX

    Eduard.
     
Loading...

Share This Page