Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th January 2013, 21:26
MaddinXx MaddinXx is offline
Senior Member
 
Join Date: Jul 2011
Location: Switzerland
Posts: 197
Thanks: 25
Thanked 60 Times in 44 Posts
Default suPHP - have to CHMOD dirs/files

Hi there

I recently switched from a Debian HW node to CentOS and migrated all the OpenVZ containers on there. Inside the container's I'm running ISPConfig.

Since I had some permission problems inside the VEs, I double checked them. I found that several files are owned (were owned, I "fixed" it) by users/groups that to not exist (e.g. all php-fcgi-scripts etc).

However, I'm now having the problem that for sites running under suPHP mode directories and files need to be chmoded (666/777) - but that should exactly not be the case when running suPHP, right?

Also, running as Fasti-CGI brings: "No input file specified".

May anyone bring me on the right path? I guess it's a simple permissions problem.

Error logs of apache itself and client vhosts don't seem to be helpful.

Thanks a lot!
MaddinXx
__________________
Rackster Internet Services's presences:
Official | Open Source | Github | Facebook | Twitter
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2013, 10:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,461
Thanks: 813
Thanked 5,246 Times in 4,112 Posts
 
Default

The fcgi startr scripts and also the web directories have to be owned by the web user and client group of the website. If you say that users and groups did not exist, then your passwd and group files of the vms are either corrupted or incomplete. You should check a backup that you made before you moved the vm and restore the files from there.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
MaddinXx (17th January 2013)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ssl is not writed on apache servidoresadmin.com General 1 19th November 2012 21:35
Upgrade 3.0.3 -> 3.0.4.1 (bug fix release) failed Snowman Installation/Configuration 7 13th December 2011 16:55
chmod failure when switching from suPHP to fast-CGI Bookworm Installation/Configuration 4 18th August 2009 12:13
File Permissions demonize Installation/Configuration 0 26th June 2008 20:11
Goal: user separation (but apache can't read what suPHP wrote) berny Installation/Configuration 1 26th April 2008 18:22


All times are GMT +2. The time now is 13:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.