Closed Globegitter closed 10 years ago
Did you actually choose "PHP FastCGI" content type? Looks like you chose "Static files" instead.
Ive got the same problem. I choose "PHP FastCGI" content type but it still doesn't work. Marked as X.
What is marked with X?
PHP FastCGI Like the image posted by Globegitter.
The the FPM log in /var/log/php5-fpm.log
No errors there: [07-Jul-2014 14:24:57] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful
And the service is running: php5-fpm start/running, process 1057
Are all your Ajenti V packages at latest versions? What if you restart FPM service manually?
Alreay tried with rebooting the whole machine. Also tried apt-get update && upgrade. No updates.
+1, I just upgraded from 12.04 to 14.04 . Was working perfectly, then I get the same issue. I'm not a py dev, so can't really try things out. Though i tried to change "fpm_service_name" in phpfpm.py to "nginx" (which works), and it went green. I didn't go all through the servicemultiplexor thing, but ServiceMultiplexor.get().get_one("php5-fpm").running seems to return the wrong status.
I've released an update which should fix that. Please try!
Just ran the update, still not working. Using ubuntu 14.04
I also don't see any update in your github about this problem.
Thanks ! tried : Ubuntu 14.04 / Ajenti-debian 1.2.21.14. Still not working.
Just found the problem. Running in debug, I see : compat.py:20 DEBUG Popen: ['/etc/init.d/php5-fpm', 'status']
You should use 'service' instead of '/etc/init.d'. The latter is buggy for php5-fpm and returns nothing. Didn't search why, though I know that since precise, it's deprecated, and works like this on debian since lenny.
There it is :
plugins/services/sm_sysvinit.py:67
-self.script = '/etc/init.d/%s' % self.name
+self.script = 'service %s' % self.name
One thing I should mention, I use this packaging of php > ppa.launchpad.net/ondrej/php5/ubuntu
Can you check whether service status appears correctly in Services section?
Ok a ran service --status-all, php5-fpm is marked as not running, although service php5-fpm returns 'start/running' with pid. In service service section, it's strange, it appears twice. The first is running and manageable, the other is not.
What does origin column say for both?
I can confirm the same as pfz.
sysvinit for all. I don't use supervisord for now. (And i tried my mod, doesn't work, service is replaced by supervisordctl)
Same here, both: sysvinit
Please try 1.2.21.16 build, it should remove service duplication and prefer initctl
over initscripts.
Working ! Thanks ! And no more duplicates
Works, thanks!
Sorry to report ! but it breaks ajenti on debian wheezy... I've sent you an email with the report.
... and found this : https://wiki.debian.org/Debate/initsystem/upstart . Not until next release !
Fixed!
indeed ! thanks ! on both plateforms
Today, on a fresh ubuntu 14.04 installation, i installed ajenti-v and still having the same problem. Version 1.2.22.6
Having the same issue as HaSuKrOnOs
i have the same issue.. also my website is show as "502 bad gateway" when I look at the logs file in /var/log/nginx/mywebsite.error.log
it show error look like this
what's wrong?
same here: Ubuntu 14.04.1 LTS Ajenti v1.2.22.17
I just decided to give Ajenti (V) a test-run for one of our internal servers and I do really like it. Set-up was quite simple, but now trying to set-up a PHP site, when I got to 'Websites' Ajenti is showing me
Even though when I check through the server it is showing me:
So things actually do work and it just seems to be an issue with Ajenti. Any idea what the cause could be?
Edit: I am also not even getting a simple index.php to show up. I looked at the wordpress tutorial and some other things online, but all the server seems to do when I go to the URL is downloading the .php file instead displaying what it should display. Anyone here know what the issue could be?
Any help/comment is really appreciated.