Trouble installing Pufferpanel #241
Replies: 19 comments
-
puffrfish wrote at May 7 2016 22:11:03 UTC: For some reason your nginx.conf has a server block in it which is conflicting with the pufferpanel.conf. I would recommend restoring your nginx.conf to its original state, you should not need to edit that. I am assuming your PufferPanel install is indeed located at the default location (/srv/pufferpanel), but if it is not then please move it there. Make sure the pufferpanel.conf is located in /etc/nginx/conf.d and that there are no other config files in there that could be interfering. You can grab the /var/log/nginx/error.log and /var/log/nginx/access.log and paste them to http://paste.ee and give us the URL it takes you to. That might be able to help us further. Please also run
and give us the output if there are any errors. Thanks. |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: Error.log http://paste.ee/p/Yuf9f Access.log http://paste.ee/p/9oR6Z No errors were shown from nginx -t pufferpanel.conf is located in conf.d and pufferpanel is located in /srv/pufferpanel all the files in /srv/pufferpanel have 755 permissions. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: Changing permissions like that is quite unwise. I would recommend removing the /srv/pufferpanel directory and running through the installer steps again, starting with the "curl -L -o pufferpanel.tar.gz https://git.io/vaOuN" line. After the installer has been run, please try the following command:
For your reference, here is a default nginx.conf http://paste.ee/p/Rfeo9 |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: I've done the steps again and I still get a connection refused. I'm using the nginx config file you gave me and ran the installer again. This time my error.log and access.log are empty and running nginx -t has no errors. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: Can you please give the output of
Thank you |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: Looks like nginx isn't running. What happens when you this command?
|
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: It give no output and I still can't connect. running the nginx command does the same. netstat -plunt remains the same, no output to error.log or access.log. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: What is the output of
|
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: Actually use this link, my terminal truncated some of the processes http://paste.ee/p/ww5sE |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: Let's just give everything a good restart to make sure
I really don't know why nginx is refusing to listen on port 80, this is rather strange. So long as you have your default nginx.conf or the one I posted, and the pufferpanel,conf in conf.d it should work. Let me know if it prints anything to the console when you try to restart nginx. |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: No output in console and it is still not working. I haven't had this much trouble with nginx ever, weird. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: Try this just to make sure. Go ahead and copy the pufferpanel.conf somewhere safe. (as root for all of this)
Then remove nginx, install nginx, and copy back the config.
|
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: Well, progress. I'm now getting a 404 page. Error.log http://paste.ee/p/cy95E Access.log http://paste.ee/p/3TUCl I also had to manually create the conf.d directory. |
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: You ran
Correct? |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: I did. I ran it again to be sure and restarted nginx, still a 404 page. |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC: So, I did some research and set me selinux into permissive mode, which is now giving me a 502 page. The error it is giving me is
|
Beta Was this translation helpful? Give feedback.
-
puffrfish wrote at May 7 2016 22:11:03 UTC: Can you paste the contents of /etc/php-fpm.d/www.conf ? |
Beta Was this translation helpful? Give feedback.
-
1285done wrote at May 7 2016 22:11:03 UTC:
For some reason everytime I try to install pufferpanel, wherever the control panel should be is either the landing page for nginx, a 404 page, or just flat out refusing to connect based on my nginx config. I've followed the tutorial exactly and the system specs are:
Centos 7
nginx version 1.6.3
My pufferpanel.conf file is http://pastebin.com/AsiXzH3W
My nginx config is http://pastebin.com/m9W9L57a for the landing page.
My nginx config is http://pastebin.com/NNYVHxj2 for the 404 page.
my nginx config is http://pastebin.com/JSgXwa0M for the refusing to connect.
Beta Was this translation helpful? Give feedback.
All reactions