Hi all, I want to thank everyone for their hard work getting these walk-throughs set up for those of us who aren't linux demigods (yet). However there seems to be a problem with Timme's how-to, The Perfect Server - CentOS 6.4 x86_64 (nginx, Dovecot, ISPConfig 3). I've gone through each and every step, carefully, and multiple times (I like to repeat an install a few times using VMs to get the feel for what I'm actually doing and observe the behaviors I am modifying). I finally come to the end checking off every step and get a 502 error trying to connect to ISPConfig on http(s)://192.168.10.10:8080 and http(s)://servername.domain.local:8080 (internal domain, not an internet machine). All services appear to running perfectly fine, I've seen no startup errors. I followed the guide to a T, checking and rechecking, and still nothing. IPTables is disabled, SELinux is disabled. This leaves me unable to configure any of the sites (phpmyadmin, mailman, squirrelmail, etc) leaving the server essentially worthless. If anyone has any insight into why this is happening I'd really appreciate the help. It doesn't make much sense to me. I have done the same configuration guide using Apache instead of Nginx and that one worked fine, however I'd like to start getting familiar with Nginx. As an aside, I really think the site configuration explanations can be done better on this guide. Why put all of the info for configuring each site in ISPConfig under the install process for the application instead of after the installation of ISPConfig? Logically, we're going to be setting that config data after ISPConfig is installed, so hiding it under previous subheaders doesn't create a clear and direct guide and manages to somewhat muddle the instructions by putting invaluable information out of sequence (and subsequently confusing new learners). Just a consideration.
What are the outputs of Code: netstat -tap and Code: iptables -L ? Did you disable SELinux? Do you get any errors when you restart nginx?
Code: [root@utility home]# sestatus SELinux status: disabled Code: Chain INPUT (policy ACCEPT) target prot opt source destination fail2ban-SSH tcp -- anywhere anywhere tcp dpt:ssh Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain fail2ban-SSH (1 references) target prot opt source destination RETURN all -- anywhere anywhere Code: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Pr$ tcp 0 0 *:pop3 *:* LISTEN 1260/d$ tcp 0 0 *:imap *:* LISTEN 1260/d$ tcp 0 0 *:webcache *:* LISTEN 1406/n$ tcp 0 0 *:http *:* LISTEN 1406/n$ tcp 0 0 *:tproxy *:* LISTEN 1406/n$ tcp 0 0 *:ftp *:* LISTEN 1416/p$ tcp 0 0 utility.xxxxx.local:domain *:* LISTEN 1046/n$ tcp 0 0 localhost:domain *:* LISTEN 1046/n$ tcp 0 0 *:ssh *:* LISTEN 1098/s$ tcp 0 0 *:smtp *:* LISTEN 1361/m$ tcp 0 0 localhost:rndc *:* LISTEN 1046/n$ tcp 0 0 *:imaps *:* LISTEN 1260/d$ tcp 0 0 *:pop3s *:* LISTEN 1260/d$ tcp 0 0 localhost:10024 *:* LISTEN 1283/a$ tcp 0 0 localhost:10025 *:* LISTEN 1361/m$ tcp 0 0 *:mysql *:* LISTEN 1237/m$ tcp 0 0 localhost:mysql localhost:41594 ESTABLISHED 1237/m$ tcp 0 0 localhost:41594 localhost:mysql ESTABLISHED 1374/s$ tcp 0 0 localhost:10025 localhost:35617 ESTABLISHED - $ tcp 0 0 localhost:10024 localhost:36902 ESTABLISHED 1427/a$ tcp 0 0 localhost:36901 localhost:10024 ESTABLISHED 1374/s$ tcp 0 0 localhost:mysql localhost:41593 ESTABLISHED 1237/m$ tcp 0 0 localhost:mysql localhost:41584 ESTABLISHED 1237/m$ tcp 0 0 localhost:41592 localhost:mysql TIME_WAIT - $ tcp 0 0 localhost:10024 localhost:36901 ESTABLISHED 1431/a$ tcp 0 0 localhost:10025 localhost:35616 ESTABLISHED - $ tcp 0 0 localhost:41584 localhost:mysql ESTABLISHED 1427/a$ tcp 0 0 localhost:35616 localhost:10025 ESTABLISHED 1431/a$ tcp 0 0 localhost:36902 localhost:10024 ESTABLISHED 1376/s$ tcp 0 0 localhost:10025 localhost:35608 TIME_WAIT - $ tcp 0 0 localhost:41593 localhost:mysql ESTABLISHED 1376/s$ tcp 0 0 localhost:41585 localhost:mysql ESTABLISHED 1431/a$ tcp 0 0 localhost:mysql localhost:41585 ESTABLISHED 1237/m$ tcp 0 52 utility.xxxxx.local:ssh 192.168.10.75:lonewolf-lm ESTABLISHED 1345/s$ tcp 0 0 localhost:35617 localhost:10025 ESTABLISHED 1427/a$ tcp 0 0 localhost:10025 localhost:35607 TIME_WAIT - $ tcp 0 0 *:pop3 *:* LISTEN 1260/d$ tcp 0 0 *:imap *:* LISTEN 1260/d$ tcp 0 0 *:ftp *:* LISTEN 1416/p$ tcp 0 0 *:domain *:* LISTEN 1046/n$ tcp 0 0 *:ssh *:* LISTEN 1098/s$ tcp 0 0 *:smtp *:* LISTEN 1361/m$ tcp 0 0 localhost:rndc *:* LISTEN 1046/n$ tcp 0 0 *:imaps *:* LISTEN 1260/d$ tcp 0 0 *:pop3s *:* LISTEN 1260/d$ tcp 0 0 localhost:48797 localhost:pop3 FIN_WAIT2 - $ tcp 1 0 localhost:pop3 localhost:48797 CLOSE_WAIT 1568/d$ tcp 0 0 localhost:51837 localhost:ftp TIME_WAIT - $ tcp 0 0 localhost:48339 localhost:imap TIME_WAIT - $ tcp 0 0 localhost:56325 localhost:smtp TIME_WAIT - $ Nginx starts up just fine. It seems a little weird to me.