Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Can't start nginx

General questions about VestaCP
Post Reply
  • Print view
Advanced search
23 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Can't start nginx
  • Quote

Post by skurudo » Thu Jan 29, 2015 5:19 pm

webdotapp wrote: Please note i am able to access VESTA CP.
Sorry man, but does not matter - VestaCP uses port 8083 and own nginx ;-)
Top

webdotapp
Posts: 33
Joined: Thu Jan 29, 2015 2:04 pm

Re: Can't start nginx
  • Quote

Post by webdotapp » Thu Jan 29, 2015 5:20 pm

netstat -tunlp | grep 80 outputs following...

Code: Select all

tcp        0      0 209.187.25.116:8080     0.0.0.0:*               LISTEN      27461/apache2
tcp        0      0 209.187.25.115:8080     0.0.0.0:*               LISTEN      27461/apache2
tcp        0      0 127.0.0.1:8081          0.0.0.0:*               LISTEN      27461/apache2
tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN      8511/vesta-nginx
udp        0      0 0.0.0.0:35226           0.0.0.0:*                           2809/dhclient
udp        0      0 0.0.0.0:68              0.0.0.0:*                           2809/dhclient
udp6       0      0 :::20966                :::*                                2809/dhclient
skurudo wrote:Ok, let's see what's demon on your port:

Code: Select all

netstat -tunlp | grep 80
Show output, please.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Can't start nginx
  • Quote

Post by skurudo » Thu Jan 29, 2015 5:25 pm

Something strange with ip 192.168.103.9
I don't unterstand, where you use this address? In network/interfaces IP different.
Top

webdotapp
Posts: 33
Joined: Thu Jan 29, 2015 2:04 pm

Re: Can't start nginx
  • Quote

Post by webdotapp » Thu Jan 29, 2015 5:29 pm

So what should i do in order to fix this issue, 5-6 websites are not working. Please suggest ways.

Thanks a lot for your help.


skurudo wrote:Something strange with ip 192.168.103.9
I don't unterstand, where you use this address? In network/interfaces IP different.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Can't start nginx
  • Quote

Post by skurudo » Thu Jan 29, 2015 5:34 pm

Try to change IP for one site or user for test in /home/YOUR-USER/conf/web/nginx.conf and use 209.187.25.116
Top

webdotapp
Posts: 33
Joined: Thu Jan 29, 2015 2:04 pm

Re: Can't start nginx
  • Quote

Post by webdotapp » Thu Jan 29, 2015 5:52 pm

Still the same issue.

skurudo wrote:Try to change IP for one site or user for test in /home/YOUR-USER/conf/web/nginx.conf and use 209.187.25.116
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Can't start nginx
  • Quote

Post by skurudo » Thu Jan 29, 2015 5:54 pm

webdotapp wrote:Still the same issue.
Don't forget restart nginx -> service nginx restart

PS: Try PM me, let's see your machine together.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Can't start nginx
  • Quote

Post by skurudo » Thu Jan 29, 2015 6:23 pm

It was a bad address from dhcp (i think) in config /etc/nginx/conf.d/192.168.103.9.conf and /usr/local/vesta/data/ips/192.168.103.9 -- after moving those files nginx started well.
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Can't start nginx
  • Quote

Post by imperio » Thu Jan 29, 2015 6:42 pm

The problem is solved ?
Top

webdotapp
Posts: 33
Joined: Thu Jan 29, 2015 2:04 pm

Re: Can't start nginx
  • Quote

Post by webdotapp » Thu Jan 29, 2015 6:44 pm

Yes problem is solved. Thanks a lot for great support you've provided today. Wish you luck.
imperio wrote:The problem is solved ?
Top


Post Reply
  • Print view

23 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password