HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Problem: CentOS Turning Into A Server (

destinedjagold 29th August 2012 12:10

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.

orfi 29th August 2012 14:41

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"

destinedjagold 30th August 2012 05:10

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~

falko 31st August 2012 18:50

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.

All times are GMT +2. The time now is 15:11.

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