new install, squirrelmail broken... ??

BrooksBridges

Well-Known Member
Sep 2, 2004
50
0
156
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
 
Last edited:

ispro

Well-Known Member
Verifed Vendor
Apr 8, 2004
628
2
168
Tony said:
Did you fix this ?
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.
 

BrooksBridges

Well-Known Member
Sep 2, 2004
50
0
156
yep, worked here as well

thanks for the help!
 

bking

Well-Known Member
Mar 1, 2004
206
1
168
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?
 

FeeL

Well-Known Member
Apr 17, 2004
134
2
168
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!

:(
 

bking

Well-Known Member
Mar 1, 2004
206
1
168
Sydney
Found the issue with the help of the post below this one...

Missing cpanel_auth files in the plugins directory...
 

gallot

Active Member
Oct 24, 2003
43
0
156
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?
 

FeeL

Well-Known Member
Apr 17, 2004
134
2
168
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!!!

:(
 

bking

Well-Known Member
Mar 1, 2004
206
1
168
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
 

gmagana

Active Member
May 18, 2005
41
0
156
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...
 

gupi

Well-Known Member
Apr 27, 2004
125
0
166
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)
 

RKF

Member
Jul 25, 2003
8
0
151
Thanks Ispro.

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

edybv

Member
Dec 19, 2007
8
0
51
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
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
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.
 

edybv

Member
Dec 19, 2007
8
0
51
Hey jayh


Tnx for your answer.

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

TNX

Eduard.