I just cant get Magento running on a new server. I followed these Instructions exactly, I tried both methods.
When I open the website, it just gives me the Magento 404 "Page not Found" page. I do not get any errors in my nginx error log either.
How can I fix that? How could I enable some Magento logging, without having access to the admin panel?
Thanks in advance,
I have a django app running on Nginx and uwsgi.
I'm trying to make a reverse proxy from nginx to apache on my Ubuntu 10.04 server. It is working fine right now with HTML files... the requests are sent directly to apache. But whenever I visit a PHP file, I see a nginx 502 bad gateway error.
I have a "hello world" fastcgi running on 127.0.0.1:9000 and would like to serve it via nginx.
Magento Development India. Highly expert professionals for Magento customization, Magento Ecommerce Development, Magento shopping cart development, Hire Magento Developer/Team/Resource at Rutuja Creation. Contact us Now for your Magento requirement.
Instead of seeing the rhodecode page when visiting repo.xxx.com I get a 502 (Bad Gateway).
Here is the nginx error.log entry.
2013/03/14 21:48:33 [error] 11207#0: *3 connect() failed (111: Connection refused) while connecting to upstream, client: 11.111.111.11, server: repo.xxx.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:5000/", host: "repo.xxx.com"
Here is the relevant portion
I get the follow error in the nginx log
[error] 17734#0: *6643 recv() failed (104: Connection reset by peer)
while reading response header from upstream, client: [cut],
server: [cut], request: "GET /venues HTTP/1.1", upstream:
"fastcgi://127.0.0.1:9000", host: "[cut]"
I have a dedicated box with 8 gb ram, quad core chip.
Im running CentOS 6.2, Nginx 1.2.3 following these Linode Instructions to get Perl to work with Nginx I've done everything upto the point of testing an actual Perl file. When I do this the browser says:
The page you are looking for is temporarily unavailable.
Please try again later.
I have been trying to resolve my issue of spiking cpu caused by php-fpm processes. I've reduced the php-fpm config settings to:
pm = ondemand
pm.max_children = 12
pm.start_servers = 2
pm.min_spare_servers = 2
pm.max_spare_servers = 10
pm.max_requests = 500
php_admin_value[memory_limit] = 128M
Problem still exists.