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.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th August 2012, 11: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 https://192.168.1.16:8080/ ...

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.
Thankies~
Reply With Quote
Sponsored Links
  #2  
Old 29th August 2012, 13: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
  #3  
Old 30th August 2012, 04:10
destinedjagold destinedjagold is offline
Junior Member
 
Join Date: Aug 2012
Posts: 11
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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
Code:
eth0      Link encap:Ethernet  HWaddr 00:90:99:33:98:B1
          inet addr:192.168.1.16  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::290:99ff:fe33:98b1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          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
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
arp -n
Code:
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.1.9              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
  #4  
Old 31st August 2012, 17:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

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


All times are GMT +2. The time now is 23:54.


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