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 Web Server
  • Search

Unidentified IP in VestaCP

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
20 posts
  • Previous
  • 1
  • 2
skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Unidentified IP in VestaCP
  • Quote

Post by skamasle » Sat Mar 05, 2016 9:50 pm

You can delete it, first delete from default site, by default vestacp asign it to default site, then you can delete it.

Edit...

I mean delete it from vesta not from server , if you delete from server may can break it.
Top

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

Re: Unidentified IP in VestaCP
  • Quote

Post by webdotapp » Thu Mar 10, 2016 9:09 pm

Hello,

Its still saying - 'Unable to delete Main IP' when i am trying to delete this IP.
Top

hafeezksa
Posts: 81
Joined: Mon Apr 27, 2015 5:45 pm
Contact:
Contact hafeezksa
Website

Re: Unidentified IP in VestaCP
  • Quote

Post by hafeezksa » Sat Mar 12, 2016 3:08 pm

Yes, you are right vesta creating this IP "10.15.0.**" just I test it on DO with fresh vesta installation while this ip is not available with Ifconfig info.
Top

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

Re: Unidentified IP in VestaCP
  • Quote

Post by webdotapp » Fri Mar 18, 2016 12:36 am

@imperio How to get this fixed?

Can someone suggest please?
Top

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

Re: Unidentified IP in VestaCP
  • Quote

Post by webdotapp » Fri Mar 18, 2016 3:59 pm

Can somebody help?
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Unidentified IP in VestaCP
  • Quote

Post by skamasle » Sat Mar 19, 2016 12:16 am

I dont know if this working 100% , but, you can remove 10.x ip from main site, then to remove it from vestacp you can:

( Make backup of all file in orther location like /root/bk )

- Delete file from /usr/local/vesta/data/ips/10.x
- Delete file from httpd/conf.d/10.x
- Delete file from nginx/conf.d/10.x

Then if you dont want to reread IP you can edit

line 39 on:

Code: Select all

v-update-sys-ip
change:

Code: Select all

ip_list=$(/sbin/ip addr|grep 'inet '|grep global|awk '{print $2}')
to

Code: Select all

ip_list=$(/sbin/ip addr|grep 'inet '|grep global|awk '{print $2} |head -n1')
It may work
Top

hafeezksa
Posts: 81
Joined: Mon Apr 27, 2015 5:45 pm
Contact:
Contact hafeezksa
Website

Re: Unidentified IP in VestaCP
  • Quote

Post by hafeezksa » Sat Mar 19, 2016 7:40 am

webdotapp wrote:The main problem is that, i can't delete this IP.
1-Delete default domain associated to this ip.
2- Edit below file, you will find there your ip 10.*. remove ip line and save this file.

Code: Select all

#nano /etc/sysconfig/network-scripts/ifcfg-eth0

3- Restart server and then you can delete it from vesta.
Just try it,,,
Top

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

Re: Unidentified IP in VestaCP
  • Quote

Post by skurudo » Thu Apr 14, 2016 11:28 am

webdotapp, how's going?
Top

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

Re: Unidentified IP in VestaCP
  • Quote

Post by webdotapp » Tue Jun 28, 2016 5:54 pm

Never got any solution for the same. Can't get this vestacp running on DO server.
Top

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

Re: Unidentified IP in VestaCP
  • Quote

Post by skurudo » Tue Jun 28, 2016 7:38 pm

XoXiLhJ0mn wrote:You just cannot delete the 10.xx.xx.xx Ip from your Vesta server like Skurudo told you. This is part of the eth file as IP2, which is the only file!
I did, not hafeezksa?
viewtopic.php?f=11&t=10165&start=10#p41320
Top


Post Reply
  • Print view

20 posts
  • Previous
  • 1
  • 2

Return to “Web Server”



  • 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