Results 1 to 8 of 8

Thread: just upgraded cpanel and squirrel mail no longer works

  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    105

    Default just upgraded cpanel and squirrel mail no longer works

    I just upgraded to cPanel 11.25.0-C43473 - WHM 11.25.0 - X 3.9 on CENTOS 5.2 x86_64

    I forced an install on everything (even if it wasn't needed)

    I can login to webmail fine but when I click the squirrelmail icon I get the following error:

    ERROR: Config file "config/config.php" not found. You need to configure SquirrelMail before you can use it.

    Roundcube is working fine.

    Any ideas on how to configure squirrelmail? It has been working fine for as long as I have had the server (2 years)

    I also tried /usr/local/cpanel/bin/update-squirrelmail --force with no luck
    Last edited by betoranaldi; 04-02-2010 at 01:32 PM.

  2. #2
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    Please make sure that the file "config/config.php" is present in your server where you have installed Squirrelmail.
    AccuWebHosting.Com | CPanel Hosting Provider Since 2003
    Cloud Powered Hosting | CPanel VPS
    Trusted by 20,000+ Clients Worldwide

  3. #3
    Member
    Join Date
    Dec 2007
    Posts
    105

    Default

    Interesting, after the update the files was not in /usr/local/cpanel/base/3rdparty/squirrelmail

    I recreated it an all is working now. It's strange that the cpup removed it.

    Thanks for you help.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,565
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by betoranaldi View Post
    I just upgraded to cPanel 11.25.0-C43473 - WHM 11.25.0 - X 3.9 on CENTOS 5.2 x86_64

    I forced an install on everything (even if it wasn't needed)

    I can login to webmail fine but when I click the squirrelmail icon I get the following error:

    ERROR: Config file "config/config.php" not found. You need to configure SquirrelMail before you can use it.

    Roundcube is working fine.

    Any ideas on how to configure squirrelmail? It has been working fine for as long as I have had the server (2 years)

    I also tried /usr/local/cpanel/bin/update-squirrelmail --force with no luck
    Quote Originally Posted by betoranaldi View Post
    Interesting, after the update the files was not in /usr/local/cpanel/base/3rdparty/squirrelmail

    I recreated it an all is working now. It's strange that the cpup removed it.

    Thanks for you help.
    If known, what was the previous version before upgrading (e.g., a build of 11.25.0, or an older version such as 11.24.x or earlier)?

    Have any modifications ever been applied to SquirrelMail?

    Is there a custom preupcp or postupcp file setup? Try using the following commands to double check:
    Code:
    # stat /scripts/preupcp /scripts/postupcp
    # grep -Hin "" /scripts/preupcp /scripts/postupcp
    Of note, the reported OS version is out-of-date; CentOS 5.4 is the latest release, superseding the older release of CentOS 5.2. Depending on the unique configuration OS updates may or may not be automatic; however, YUM may be used via SSH access to ensure CentOS is upgraded:
    Code:
    # yum upgrade

  5. #5
    Member
    Join Date
    Dec 2007
    Posts
    105

    Default

    I upgraded the system to the latest OS version. I was having some problems with yum and open a support ticket with my vps company. All is set now.

    It was an 11.25 build, I try to stay as current as possible with my updates.

    As far as I know there are no custom file setups... below is the results of those commands.

    stat /scripts/preupcp /scripts/postupcp:

    Code:
    # stat /scripts/preupcp /scripts/postupcp
    stat: cannot stat `/scripts/preupcp': No such file or directory
      File: `/scripts/postupcp'
      Size: 65        	Blocks: 8          IO Block: 4096   regular file
    Device: c4h/196d	Inode: 102236924   Links: 1
    Access: (0700/-rwx------)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2010-04-03 08:23:43.000000000 -0400
    Modify: 2010-04-03 08:23:43.000000000 -0400
    Change: 2010-04-03 08:23:43.000000000 -0400
    grep -Hin "" /scripts/preupcp /scripts/postupcp:

    Code:
    # grep -Hin "" /scripts/preupcp /scripts/postupcp
    grep: /scripts/preupcp: No such file or directory
    /scripts/postupcp:1:/usr/local/cpanel/whostmgr/docroot/cgi/deluxe/asspdeluxepostupcp
    Yes I have modified squirrelmail. typically after each update I modify the new updated file again (which is why I manually update the system and not have it set for auto updates.) I have never had a problem in the past doing it this way, the system updates squirrelmail, I make my modification and so on.

    I even tried deleting the squirrelmail directory and force upcp. it writes the squirrelmail directory but still is missing the config file.

    It's not a big deal since I got it up and running, just seems to be odd behavior.

  6. #6
    cPanel Staff cPanelJamyn's Avatar
    Join Date
    Jan 2009
    Posts
    104

    Post

    <snip>
    Quote Originally Posted by betoranaldi View Post
    Yes I have modified squirrelmail. typically after each update I modify the new updated file again (which is why I manually update the system and not have it set for auto updates.) I have never had a problem in the past doing it this way, the system updates squirrelmail, I make my modification and so on.

    I even tried deleting the squirrelmail directory and force upcp. it writes the squirrelmail directory but still is missing the config file.
    </snip>

    Hi,

    If you'd like, I can take a closer look at this. I was not able to reproduce this behaviour on a local test system, but I'm certainly interested in any circumstances that may result in the problem you describe. If you do open a support ticket on this, please PM me the number and I'll be happy to take a look. Thanks!

  7. #7
    Member
    Join Date
    Dec 2007
    Posts
    105

    Default

    Quote Originally Posted by cpaneljamyn View Post
    If you'd like, I can take a closer look at this. I was not able to reproduce this behaviour on a local test system, but I'm certainly interested in any circumstances that may result in the problem you describe. If you do open a support ticket on this, please PM me the number and I'll be happy to take a look. Thanks!
    cpaneljamyn, would you like me to open up a ticket so that you can look into this? Like I said, I have everything up and running but would be willing to let you look into to to help any future development of cpanel.

  8. #8
    cPanel Development cPanelKenneth's Avatar
    Join Date
    Apr 2006
    Posts
    4,143
    cPanel/WHM Access Level

    Root Administrator

    Default

    Quote Originally Posted by betoranaldi View Post
    cpaneljamyn, would you like me to open up a ticket so that you can look into this? Like I said, I have everything up and running but would be willing to let you look into to to help any future development of cpanel.
    If you can reliably reproduce this situation, then yes we would like to examine your system.
    Kenneth
    Development
    cPanel, Inc.

Similar Threads

  1. Latest CSF no longer works on cPanel VPS?
    By aisagtr in forum cPanel Developers
    Replies: 3
    Last Post: 03-28-2008, 08:42 AM
  2. Upgraded to apache 2.2 and SSL no longer works
    By Snowman30 in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 10-28-2007, 04:08 PM
  3. cpanel login no longer works
    By CunningStunt in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 01-17-2006, 01:03 PM
  4. I upgraded WHM and now my images take longer to load
    By lexmark in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 01-27-2004, 01:45 PM
  5. how much longer until apache 2.x works with cpanel?
    By quadrahost in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 09-05-2003, 08:35 AM