Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 9th December 2011, 18:01
talkingnews talkingnews is offline
Member
 
Join Date: Jan 2011
Posts: 67
Thanks: 15
Thanked 6 Times in 6 Posts
Question nginx + php-fpm = various problems for SOME sites inc 500 or 404 or no input file

I've got 5 sites on Ubuntu 11.10 with ISPC 3.0.4.1 and Nginx 1.0.10

2 of them are running just fine - 1 running phpbb, the other a shopping cart (Zen Cart) with ssl. In order to make Zen Cart work, I had to make these changes to workaround a php bug http://forum.nginx.org/read.php?11,2...664#msg-219664
phpbb works with or without those changes.

But for sites I recently create, I get a 404 or a 500 or "No input file specified.".
It seems to change every time I do I restart php5-fpm which I have to do manually as ISPC doesn't do that.
But the crazy thing is, if I browse to a text file, it'll show it, but most of the time if I try a php file, like phpinfo, it'll say "file not found", even though I can see it right there in ftp in the same folder as the text file with the correct permissions, and the only difference with the try_files for php is to the working site is the php socket. And I've checked that the php for that pool is running via ps, and there's no startup error in the fpm log.

I've badgered my VPS host and now have 5 separate IPs, each site running on it's own IP.

I've put http_debug and in the debug log, I'm seeing debug info for one of my other sites mixed in with it!

I've printed out the fpm pool configs and the nginx conf files for the sites and compared them. I've made sure the users and groups and owner and permissions and open_basedir are correct. I've looked in the fpm logs and the nginx logs and it doesn't even give a clue. I've checked the symlinks, I've tried the real path instead of the symlink, I've checked the IP addresses...

I've rebooted the whole server, I've taken the sites offline and back online, I've even tried deleting and re-creating the sites.

I'd really appreciate some help here - I've been at this all yesterday and most of today and slept 3 hours last night and I've exhausted pretty much every relevant thread here, on the Nginx forums (which are almost completely lifeless) and StackOverflow.

Last edited by talkingnews; 9th December 2011 at 18:26.
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
500, nginx, no input file specified, php-fpm

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
Centos 6.0 support Acid_Scorpion Developers' Forum 47 16th September 2011 11:36
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
ISPConfig3 Debian Squeeze Crontab - Log petrichbg Installation/Configuration 5 22nd March 2011 13:25
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 23:41
Facing problem with ICMP (ping request) princeu28 Installation/Configuration 5 14th August 2008 01:13


All times are GMT +2. The time now is 23:06.


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