just upgraded cpanel and squirrel mail no longer works

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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:

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
Please make sure that the file "config/config.php" is present in your server where you have installed Squirrelmail.
 

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
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
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
 

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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.
 

cPanelJamyn

Social Engineer
Staff member
Jan 29, 2009
105
2
143
<snip>
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!
 

betoranaldi

Well-Known Member
Dec 5, 2007
105
0
66
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.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
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.