1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Xanubi
  2. 21.06.2010
  3.  Subscribe via email
Hello, i\'ve installed the trial to a CentOS production server with CPANEL with 4 different clients (4 different sites).

I see that everything went ok, everything was installed (Kernel, LVE, install-lve with mod_sucgid, etc.).

In cpanel i\'ve selected SuPHP, but now after reboot, none of the sites are working, i always get PERMISSION Denied. All the files and directories have the user group/id (example: cloudlinux:cloudlinux), and the directories have 755 and files 644.

Before cloudlinux i used the normal apache with SUPHP and permissions like this:
/home/user/public_html -> user:nobody 750
/home/user/public_html/* -> user:user 755 for directories and 644 for files
This is not working anymore after the Cloudlinux installation.

I\'ve also tested PHP with DSO and with CGI, and CloudLinux works with both in cpanel, but if i choose SUPHP, nada, nothing.

I\'ve enabled the debug mode of Apache logs, but nothing new over there:
APACHE LOG
=================
[Mon Jun 21 14:55:06 2010] [error] [client 220.181.94.233] Premature end of script headers: index.php
[Mon Jun 21 14:55:06 2010] [error] [client 220.181.94.233] File does not exist: /home/futsalpo/public_html/500.shtml
[Mon Jun 21 14:55:07 2010] [error] [client 85.242.136.170] Premature end of script headers: index.php
[Mon Jun 21 14:55:07 2010] [error] [client 85.242.136.170] File does not exist: /home/cmvilare/public_html/500.shtml

suexec_log
=================
(empty, but is enabled at cpanel)

The error is the same, with warn or debug level. This error only happens when this is a problem of permissions. If i remove the Include \"/usr/local/apache/conf/conf.d/*\", everything goes ok with SUPHP. If i include Include \"/usr/local/apache/conf/conf.d/*\", suphp don\'t work, giving the normal 500 Internal Server error (normally permissions).
Rate this post:
  1. 21.06.2010 11:06:09
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
0
Votes
Undo
It does look like permission problem. CloudLinux gives out 503 errors if something goes wrong.
Please, check the permissions for the scripts, and if that is not the case -- contact me off line, I will help you diagnose the problem.
CloudLinux doesn\'t change anything in regards of permissions, or settings with cPanel.
All we do - add mod_hostinglimits, and that shouldn\'t affect anything like that.
  1. 21.06.2010 11:06:18
  2. # 2
Xanubi Accepted Answer
Posts: 12
Joined: 21.06.2010
0
Votes
Undo
Igor Seletskiy wrote:
It does look like permission problem. CloudLinux gives out 503 errors if something goes wrong.

Please, check the permissions for the scripts, and if that is not the case -- contact me off line, I will help you diagnose the problem.

CloudLinux doesn\'t change anything in regards of permissions, or settings with cPanel.

All we do - add mod_hostinglimits, and that shouldn\'t affect anything like that.


I know that, but is when the mod_sucgid is added to apache that the permissions of SUPHP that worked for years, don\'t work anymore. It\'s very strange. I\'ve PM you.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.