Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    May 2004
    Location
    UK
    Posts
    25

    Default SquirrelMail broke

    Hi,

    SquirrelMail on my CentOS 3.4 box is broken. This is a new box with a new cPanel install, I don't think SquirrelMail has ever worked. When I try to access it I get the following error messages:

    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
    I have ran the following scripts, but it still doesn't work.

    ./updatenow
    ./upcp ---force
    ./fixeverything

    I am currently using cPanel 10.2.0-RELEASE 82, but have tried using the stable release and it still doesn't work.

    I also tried running /scripts/fixwebmail, and got the following error message:

    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
    Anyone have any ideas?

    Thanks,
    Steve.

  2. #2
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default squirrel mail

    Hey,

    Is there any usecpphp file in /var/cpanel/ directory?.

    If no create it by the following command

    touch /var/cpanel/usecpphp

    If the file is exist, run the following commands,

    cp -p /usr/local/cpanel/base/3rdparty/squirrelmail/config/config_default.php /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

    I hope this will solve your problem. If problem exists run the following commands.

    /scripts/updatenow
    /scripts/makecpphp

    May be it will help you to solve this issue.
    Last edited by bijo; 08-28-2005 at 05:33 PM. Reason: To set a title ;)
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  3. #3
    Member
    Join Date
    May 2004
    Location
    UK
    Posts
    25

    Default

    Hi bijo,

    Thanks for your help!

    I managed to fix the problem by switching to the CURRENT release of cPanel, and then switching back to the RELEASE release of cPanel.

    Thanks,
    Steve.

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    658

    Default

    Quote Originally Posted by bijo
    Hey,

    Is there any usecpphp file in /var/cpanel/ directory?.

    If no create it by the following command

    touch /var/cpanel/usecpphp

    If the file is exist, run the following commands,

    cp -p /usr/local/cpanel/base/3rdparty/squirrelmail/config/config_default.php /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

    I hope this will solve your problem. If problem exists run the following commands.

    /scripts/updatenow
    /scripts/makecpphp

    May be it will help you to solve this issue.
    Thank You...worked great

  5. #5
    Member
    Join Date
    May 2005
    Posts
    17

    Default

    Thanks bijo!

    Your post was spot on!!

  6. #6
    Member
    Join Date
    Apr 2003
    Posts
    25

    Default

    Should be made sticky! Fixed my problem too with STABLE version of CPanel.
    THANKS!

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge jackal's Avatar
    Join Date
    Feb 2002
    Posts
    708

    Default

    Horde still have issue when opening cpanel click on the webmail icon for the root email account with edge 47 we still get this


    Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: (null)(): Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed (errflg=2) in Unknown on line 0

  8. #8
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    Quote Originally Posted by jackal
    Horde still have issue when opening cpanel click on the webmail icon for the root email account with edge 47 we still get this


    Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: (null)(): Retrying LOGIN authentication after AUTHENTICATE LOGIN failed (errflg=1) in Unknown on line 0

    Notice: (null)(): Can not authenticate to IMAP server: AUTHENTICATE LOGIN failed (errflg=2) in Unknown on line 0
    touch /etc/passwd
    /scripts/updateuserdomains
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge jackal's Avatar
    Join Date
    Feb 2002
    Posts
    708

    Default

    Let me explain, that does fix horde user accounts all but in this instant.

    Login to a user cpanel once there do not click on the mail icon but rather the webmail icon next to it for the main cpanel user root account then try horde and squirrel mail you will see the error.


    Joey

  10. #10
    Registered User
    Join Date
    Mar 2005
    Posts
    1

    Thumbs up Thanks Bijo

    Hey Bijo,

    I have followed your setp's and my SquirrelMail error has been fixed.... You are g8

    Thanks once again...

    Thanks
    Shweta

  11. #11
    Member
    Join Date
    Jun 2004
    Posts
    49

    Default

    Oops.. I follow the steps, but the SquirrelMail issue still exist.....
    Any else solutions?


    Quote Originally Posted by bijo
    Hey,

    Is there any usecpphp file in /var/cpanel/ directory?.

    If no create it by the following command

    touch /var/cpanel/usecpphp

    If the file is exist, run the following commands,

    cp -p /usr/local/cpanel/base/3rdparty/squirrelmail/config/config_default.php /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

    I hope this will solve your problem. If problem exists run the following commands.

    /scripts/updatenow
    /scripts/makecpphp

    May be it will help you to solve this issue.
    Last edited by Cash; 08-28-2005 at 09:56 PM.

  12. #12
    Member
    Join Date
    Jul 2005
    Location
    London, UK
    Posts
    26

    Default

    Hey impressed - happened so fast to get squirrel mail working I was stunned!
    Thank you!!
    Michael

Similar Threads & Tags
Similar threads

  1. Counter Broke
    By thomamon in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 05-24-2009, 04:02 PM
  2. Exim Broke
    By tmallardi in forum E-mail Discussions
    Replies: 11
    Last Post: 11-29-2007, 10:51 AM
  3. Horde Broke :(
    By slice16 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-16-2005, 04:43 PM
  4. All Releases Broke!
    By webolocity in forum cPanel and WHM Discussions
    Replies: 40
    Last Post: 03-13-2004, 03:12 PM
  5. cPanel squirrelmail / standalone squirrelmail
    By BigBamboo in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-06-2004, 12:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube