#1  
Old 13th January 2010, 00:21
bseibenick bseibenick is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
Default suphp error

I just happened to add a new site using suphp and I get a 500 error executing any php page. The log file shows this:

[Tue Jan 12 18:19:07 2010] [error] [client 99.62.58.126] SoftException in Application.cpp:555: Directory /var/www/clients/client2/web16/web is not owned by web15
[Tue Jan 12 18:19:07 2010] [error] [client 99.62.58.126] Premature end of script headers: index.php

Web16 is the correct web. I am not sure why it thinks web15 should own it...

Any suggestions?

Thanks,
Brian
Reply With Quote
Sponsored Links
  #2  
Old 13th January 2010, 09:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,579
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

Thats a bit strange indeed. Please post the output of:

ls -la /var/www/clients/client2/web16
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th January 2010, 13:17
bseibenick bseibenick is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
Default

[root@dev1 web]# ls -la /var/www/clients/client2/web16
total 24
drwxr-x--x 6 web16 client2 4096 Jan 12 18:07 .
drwxr-xr-x 4 root root 4096 Jan 12 18:07 ..
drwxr-x--x 2 web16 client2 4096 Jan 12 18:07 cgi-bin
lrwxrwxrwx 1 root root 48 Jan 12 18:07 log -> /var/log/ispconfig/httpd/mailmig.domain.com
drwxr-x--x 2 web16 client2 4096 Jan 12 18:07 ssl
drwxrwxrwx 2 web16 client2 4096 Jan 12 18:07 tmp
drwx--x--- 5 web16 client2 4096 Jan 12 21:28 web
[root@dev1 web]#

Thanks,
Brian
Reply With Quote
  #4  
Old 13th January 2010, 13:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,579
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

1) Which exact ISPConfig version do you use?
2) On the options tab of the website settings, what is listed as "Linux user" there?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 13th January 2010, 13:44
bseibenick bseibenick is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I am running 3.0.1.6.

The Linux user is web16 and the linux group is client2.

Brian
Reply With Quote
  #6  
Old 14th January 2010, 11:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,579
Thanks: 792
Thanked 4,980 Times in 3,901 Posts
Default

I guess you moved the site or copied some files from another site that was owned by user web15. Please run:

chown -R web16:client2 /var/www/clients/client2/web16/web
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 14th January 2010, 13:23
bseibenick bseibenick is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 17
Thanks: 3
Thanked 0 Times in 0 Posts
 
Default

I had tried that previously no luck. I finally just deleted the site, recreated it and reuploaded my php test file and everything worked.

Not sure how to explain that one...

Brian
Reply With Quote
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
mod_layout and php gd branov Installation/Configuration 8 2nd September 2009 15:51
gd-png: fatal libpng error: zlib error Boon-Dog-Danny Installation/Configuration 3 13th February 2009 12:12
LB1 Not Taking Over Shared IP Using Heartbeat 2.1.3 On FC10 64Bit asyadiqin Installation/Configuration 5 11th February 2009 20:11
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 16:14


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


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