Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 21:46:30

Author Topic: 502 bad gateway using Nginx  (Read 1406 times)

0 Members and 1 Guest are viewing this topic.

Offline Shine Servers

  • Junior Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
502 bad gateway using Nginx
« on: 2013-08-15, 02:47:18 »
Hi,

I installed Kloxo MR in my customers webserver, when i choose Nginx it gets me 502 bad gateway and Apache does boot up. Shows the following error.

Code: [Select]
[root@server ~]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: apr_sockaddr_info_get() failed for server.adsurl.biz
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
[root@server ~]#


Please help.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 502 bad gateway using Nginx
« Reply #1 on: 2013-08-15, 02:52:11 »
Try reboot
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Shine Servers

  • Junior Member
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: 502 bad gateway using Nginx
« Reply #2 on: 2013-08-15, 03:33:39 »
Quote from: "MRatWork"
Try reboot

Works very well.

Now, can you please tell me the config to optimize nginxproxy, mysql to it's best for site having 50k hits.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: 502 bad gateway using Nginx
« Reply #3 on: 2013-08-15, 15:55:04 »
Depend on your RAM and how many clients you set (remember, admin also as client in this context).

Inform here 'sh /script/sysinfo'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.035 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM