Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 29th August 2012, 12:10
destinedjagold destinedjagold is offline
Junior Member
Join Date: Aug 2012
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default Problem: CentOS Turning Into A Server

Hello and good day everyone.
I am kinda new to Linux/CentOS-turn-into-a-server thing, and I have been trying for almost two weeks now to try and figure this out by myself, and I have not successfully reached the goal.

Anyway, I have recently followed this tutorial...
Well, not exactly, no.
I did not want to freshly reformat the server PC though.
On the said tutorial, I began to follow it on the part where the CentOS has been installed, and the part where I am asked to run the command "system-config-firewall-tui"...

My problem is that I get a "502 Bad Gateway" message when I try to access ...

I don't really know what information I need to provide though.
I simply followed the said tutorial.

And while I'm at it, is there a good tutorial for me to type a name to access the server instead of typing the server's I.P. address on the web browser?
I've tried searching for it as well, but I ended up creating chaos on our server. =/

Hope you pipz can enlighten me on this problem o'mine.
Reply With Quote
Sponsored Links
Old 29th August 2012, 14:41
orfi orfi is offline
Junior Member
Join Date: Mar 2006
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default 502 gateway ?

if you have acess to CLI just check the network side of the server

something like :
ifconfig eth0
route -n
arp -n ( check the MAC of the gateway )
ping " ip of the gateway"
Reply With Quote
Old 30th August 2012, 05:10
destinedjagold destinedjagold is offline
Junior Member
Join Date: Aug 2012
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts

If what you mean by CLI is command-line interface, then yes, I have access to it. It's the only way I am able to reach and do some things with the server.

Anyway, I tried doing what you suggested, and here are the results.

ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:90:99:33:98:B1
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::290:99ff:fe33:98b1/64 Scope:Link
          RX packets:5950 errors:0 dropped:0 overruns:0 frame:0
          TX packets:325 errors:0 dropped:0 overruns:0 carrier:0
          collisions:2 txqueuelen:1000
          RX bytes:682794 (666.7 KiB)  TX bytes:42115 (41.1 KiB)
          Interrupt:18 Base address:0xa000
route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   U     1      0        0 eth0         UG    0      0        0 eth0
arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface              ether   00:19:66:cb:f7:97   C                     eth0
And I can ping the gateway.

Any help would be appreciated.
Thank you~
Reply With Quote
Old 31st August 2012, 18:50
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Make sure that PHP-FPM is started. If it doesn't start, check the logs in /var/log/ for errors. Also, make sure that SELinux is disabled.
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


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
Local mail server - final touch Alexhor Installation/Configuration 4 12th April 2012 23:33
Sending mail ISPConfig 3 but not receivind catza Installation/Configuration 20 19th May 2010 13:47
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 11:05
I don't recieve mail. privir Installation/Configuration 2 3rd June 2009 23:08
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30

All times are GMT +2. The time now is 05:58.

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