Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th April 2013, 15:20
mkaminski mkaminski is offline
Junior Member
 
Join Date: Apr 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Smile The Perfect Server - CentOS 6.4 x86_64 (nginx, Dovecot, ISPConfig 3) - Problems

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.
Reply With Quote
Sponsored Links
  #2  
Old 8th April 2013, 18:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th April 2013, 19:08
mkaminski mkaminski is offline
Junior Member
 
Join Date: Apr 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 10th April 2013, 19:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Have you tried to restart PHP-FPM?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 system installation script Mark_NL Tips/Tricks/Mods 12 7th March 2014 06:30
ISPConfig 3 Single server issues on POP3/IMAP/ MyDNS vk1003 Installation/Configuration 7 17th July 2012 15:25
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 12:04
Virtual Users+Postfix+Courier+CentOS problem telnet localhost 25 stinson HOWTO-Related Questions 11 5th February 2011 13:57
Postfix can't received email from exterior astra2000 Server Operation 5 17th October 2009 23:26


All times are GMT +2. The time now is 14:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.