HELP!!! 404 after install. #275
Replies: 13 comments
-
puffrfish wrote at May 27 2016 14:57:58 UTC: Please provide the following information:
Thanks. |
Beta Was this translation helpful? Give feedback.
-
adamwbb wrote at May 27 2016 14:57:58 UTC: puffrfish said:
location /srv/pufferpanel [root@localhost pufferpanel]# ls -al /srv/pufferpanel total 1692 drwxr-xr-x. 9 nginx nginx 4096 May 27 04:38 . drwxr-xr-x. 3 root root 4096 May 27 04:37 .. drwxr-xr-x. 6 nginx nginx 4096 Feb 19 14:06 app -rw-r--r--. 1 nginx nginx 489 Mar 10 16:36 composer.json -rw-r--r--. 1 nginx nginx 37617 Feb 19 14:06 composer.lock -rwxr-xr-x. 1 nginx nginx 1580316 Mar 10 16:36 composer.phar -rw-r--r--. 1 nginx nginx 256 May 27 05:50 config.json -rw-r--r--. 1 nginx nginx 6064 Mar 10 16:36 CONTRIBUTING.md drwxr-xr-x. 2 nginx nginx 4096 Mar 10 16:36 install -rw-r--r--. 1 nginx nginx 275 Mar 10 16:36 ISSUE_TEMPLATE.md -rw-r--r--. 1 nginx nginx 32452 Mar 10 16:36 LICENSE drwxrwxrwx. 2 nginx nginx 4096 Mar 10 16:36 logs drwxr-xr-x. 2 nginx nginx 4096 Mar 10 16:36 public -rwxr-xr-x. 1 nginx nginx 11547 Mar 10 16:36 pufferpanel -rw-r--r--. 1 nginx nginx 4442 Mar 10 16:36 README.md drwxr-xr-x. 6 nginx nginx 4096 Feb 19 14:06 src drwxr-xr-x. 2 nginx nginx 4096 Mar 10 16:36 tools drwxr-xr-x. 18 nginx nginx 4096 Mar 10 16:36 vendor Centos 7.1 x64 Server edition logs: |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 27 2016 14:57:58 UTC: Can you please provide /etc/nginx/conf.d/pufferpanel.conf and any other nginx config files found in there as well? |
Beta Was this translation helpful? Give feedback.
-
adamwbb wrote at May 27 2016 14:57:58 UTC: puffrfish said:
only one conf file in conf.d and thats pufferpanel.conf heres the output: ive included /etc/nginx/nginx.conf output in there. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 27 2016 14:57:58 UTC: Could you please run the following command and provide the output from it?
|
Beta Was this translation helpful? Give feedback.
-
adamwbb wrote at May 27 2016 14:57:58 UTC: [root@localhost /]# grep '^listen *=' /etc/php-fpm.d/www.conf listen = 127.0.0.1:9000 |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 27 2016 14:57:58 UTC: On the fastcgi_pass line (line 15 of your paste) of the pufferpanel.conf replace unix:/var/run/php5-fpm.sock; with 127.0.0.1:9000; So it should now read
Then restart nginx and see if that fixes it. |
Beta Was this translation helpful? Give feedback.
-
adamwbb wrote at May 27 2016 14:57:58 UTC: puffrfish said:
nope still 404. |
Beta Was this translation helpful? Give feedback.
-
adamwbb wrote at May 27 2016 14:57:58 UTC: I think the main issue is this: 2016/05/27 08:41:41 [crit] 18612#0: *2 stat() "/srv/pufferpanel/public/router.php" failed (13: Permission denied), client: 69.133.202.230, server: 198.101.14.54, request: "GET / HTTP/1.1", host: "198.101.14.54" but how do i fix it. ive try setting tis permissions to 777 to see if that would fix it but it didnt work. ive even tried running chown -R nginx:nginx /srv/pufferpanel |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 27 2016 14:57:58 UTC: Setting permissions to 777 is likely to break everything. Please re-download PufferPanel so everything is back to the default. To confirm, you restarted nginx as well? Edit: to clarify, you can just run these steps and everything will be back to the way it was http://www.pufferpanel.com/docs/updating-pufferpanel |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 27 2016 14:57:58 UTC: If those steps do not work, please do the following: (as root)
|
Beta Was this translation helpful? Give feedback.
-
adamwbb wrote at May 27 2016 14:57:58 UTC: ok its working now after i ran this:
ive only 777 that one file i can change it back. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 27 2016 14:57:58 UTC: Yes that is fine too, I thought you meant you chmod 777'd everything. Glad you got it working. |
Beta Was this translation helpful? Give feedback.
-
adamwbb wrote at May 27 2016 14:57:58 UTC:
I have tried everything that was said in the other posts.
heres my output:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1642/php-fpm: maste
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 31613/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2428/nginx: master
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 3796/perl
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1198/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2342/master
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 27682/mineos
tcp6 0 0 :::80 :::* LISTEN 2428/nginx: master
tcp6 0 0 :::22 :::* LISTEN 1198/sshd
tcp6 0 0 ::1:25 :::* LISTEN 2342/master
udp 0 0 0.0.0.0:39576 0.0.0.0:* 27682/mineos
udp 0 0 0.0.0.0:40347 0.0.0.0:* 27682/mineos
udp 0 0 0.0.0.0:10000 0.0.0.0:* 3796/perl
udp 0 0 0.0.0.0:45690 0.0.0.0:* 27682/mineos
obvious php-fpm is running and nginx is running.
ive tried reinstalling pufferpanel and nginx ive tried EVERYTHING!
why is it giving me a 404 error.
all config files look as they should be their output match whats in the documentation.
HELP ME PLZ!!!
Beta Was this translation helpful? Give feedback.
All reactions