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.

just upgraded cpanel and squirrel mail no longer works

Discussion in 'E-mail Discussions' started by betoranaldi, Apr 2, 2010.

  1. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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
     
    #1 betoranaldi, Apr 2, 2010
    Last edited: Apr 2, 2010
  2. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    Please make sure that the file "config/config.php" is present in your server where you have installed Squirrelmail.
     
  3. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    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. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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. cPanelJamyn

    cPanelJamyn Social Engineer
    Staff Member

    Joined:
    Jan 29, 2009
    Messages:
    105
    Likes Received:
    2
    Trophy Points:
    0
    <snip>
    </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. betoranaldi

    betoranaldi Well-Known Member

    Joined:
    Dec 5, 2007
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    If you can reliably reproduce this situation, then yes we would like to examine your system.
     
Loading...

Share This Page