Server ip looks wrong

agasar

Verified User
Joined
May 16, 2021
Messages
71
When I run the above command, the server ip shows the main ip incorrectly.

116.202.xxx.xx this server ns2 backup ip this is wrong. When I run the above command, 116.202.xxx.xx shows this ip.
This is wrong this server ns2 backup ip.

78.47.xxx.xxx should be the correct ip. This should be the server master ns1 ip. Why is it showing the second backup ip.

softaculous.com' server is giving an error because it can't see its main ip. softaculous server sees the backup ip. Whereas my main server should see the ip.

78.47.xxx.xxx this is my server ip address is my main ip address.

screenshot
 
I just helped you with this and the ip's were fine?
What command are you running? Because you write "the above command" but I don't see any command.

You made a mistake with the screenshot, there is no link or image to see.
 
Hello there
It is my second ip address on the server, starting with 116.202.xxx.xx.

my server main ip address is 78.47.xxx.xxx this is my first server ip address this is 78.47.xxx.xxx

Softaculous.com experts say it detects your IP address. The ip server was seeing the second ip address. They say this is your server ip address.

But my main server ip address is 78.47.xxx.xxx this is it. It should see that there why is it still seeing the different second backup ip address
 

Attachments

  • sc2.png
    sc2.png
    15.6 KB · Views: 97
Oke, lets ask it in another way. Is the 78.47.xx.xx ip the ip in your license?

If yes try this.
Code:
cd /usr/local/directadmin/scripts
./ipswap.sh [B]116.202.xxx.xxx[/B] [B]78.47.xxx.xxx[/B]

So first the "old" ip and then the "new" ip.
It might not work and give an error that the ip already exists. There is some odd thing happening to your server. Because also with the mail it shouldn't have used the 118 ip.
If it works, without error, reboot the server.

Is the server originally installed with the 116 ip maybe?

I now it's full of accounts, but if this does not work I don't know, Maybe you can install the server newly with the main ip only.
Otherwise you might need to contact support via a ticket. Unless support or somebody else reply's with the solution.[/code]
 
Oke, lets ask it in another way. Is the 78.47.xx.xx ip the ip in your license?

Yes, 78.47.xx.xx is the licensed ip.

i ran the code
cd /usr/local/directadmin/scripts
./ipswap.sh 116.202.xxx.xx 78.47.xxx.xxx
The result is below. It didn't give an error. I did not encounter any error.
Do I need to REBOOT the server? Shall I restart the server?
Updating Linked IPs
Debug mode. Level 100

starting queue
dataskq: command: action=ipswap&value=linked_ips&old=116.202.xxx.xx&new=78.47.xxx.xxx
Swapping Linked-IPs
116.202.xxx.xx is not a valid IP
done queue
./ipswap.sh: line 234: [: : integer expression expected

*** Done swapping 116.202.xxx.xx to 78.47.xxx.xx ***

"Is the server originally installed with the 116 ip maybe?"

No. server 78.47.xxx.xxx was set up with this main ip. Then the second rope was taken.

How can I see the server's output master ip? What is the server exit ip right now? What command do I see this via DA. How can I test what is the output ip on the server.
 
Normally the main ip is visible in /usr/local/directadmin/scripts/setup.txt but I had a look there and that was the 78 ip.
As far as I know there is no other way. You can use the ifconfig command and then it should be the first ip on the first eth device.
If I'm not mistaken, also that was the 78 ip. Doublecheck please.

I don't know why it said 116.202.xxx.xxx is not a valid ip. Unless you used the xxx.xxx instead of the real numbers or a script issue.

Since your server should have been having odd issues with that second ip, I would suggest to send in a ticket.
 
Hello

/usr/local/directadmin/scripts/setup.txt

hostname=server.xxxxx.org
email=[email protected]
mysql=xxxxxxx
mysqluser=da_admin
adminname=admin
adminpass=xxxxxxxx
ns1=ns1.guzel.net.tr
ns2=ns2.guzel.net.tr
ip=78.47.xxx.xxx
netmask=255.255.255.255
uid=66384
lid=238925
services=servicesxxxxxxx.tar.gz

ns1=ns1.guzel.net.tr
ns2=ns2.guzel.net.tr

The NS settings above where I purchased the ns1 - ns2 DA license. Do I need to change this place? Should I change it with my NS settings or is it normal?

ip=78.47.xxx.xxx

ip address is my server ip address is correct my first main ip address.

I can't assign support to DA. I don't have support message rights. As seen in the screenshot below.
Name
E-mail
Client ID
License ID

I fill in the above fields. "contact your license provider" I click on that link. The website of the company from which I purchased the license opens. He can't send support in that company, he can't even send guest support.

I don't know how to reach DA. If there is an urgent problem, how can we reach DA for the solution of the problem. Does anyone know this, can anyone send a support message to the DA. DA licensed but I don't have the right to throw support. I bought the license from another company. Even the company I bought can't give support to DA.


You can see it in the attached picture. Error when assigning support.

I ran the command. first server ip main ip arrived ip=78.47.xxx.xxx
 

Attachments

  • destek1.png
    destek1.png
    69.9 KB · Views: 107
Should I change it with my NS settings or is it normal?
No you don't need to. It's normal, it's just a .txt file which contains the data from the setup.

Oke we have to ask something now.
The website of the company from which I purchased the license opens. He can't send support in that company, he can't even send guest support.
1.) You purchased a license or you rent the license? If that company sold you the license, and it was recently, then the probably sold you an illegal license.
2.) If they sold you a legal license (not possible anymore without selling you the complete account) you should be able to login to the DA customer portal with your User id and license id.
3.) What license do you have from them? Personal license? These you can better rent from DA itself.
4.) Is it a rented license, so you pay them monthley, they should be able to login to the customer panel and get support.

Having that said....
You should be able to request a ticket yourself.
When looking at your screenshot, ONLY fill in the lower part where it says "proceed as server admin". Remember to write down the ticket ID.

Is it possible to create a ticket like that? If not, what error notice did you get?
 
4.) Is it a rented license, so you pay them monthley, they should be able to login to the customer panel and get support.

I pay monthly license fee. I pay every month for the license.

"contact your license provider"

When I click it, it redirects me to the price I bought, Güzel.net.tr goes here.


Client ID
License ID

License TypeInternal

Error when I say "continue" when I type

This is an Internal License on guest login.
Please contact your license provider for technical support.
contact your license provider

When I click on this, it goes to the company that I bought this company from Güzel.net.tr.

Güzel.net.tr does not have the right to write a support message to the DA in this company. They couldn't send support messages either.
 
his is an Internal License on guest login.
Ah oke, this explains a lot. So this is an internal license. In that case indeed the hoster Güzel should provide you with support.
They are also able to login to the customer portal for the license. I wouldn't wonder if maybe the 116 ip is the license ip.

Güzel.net.tr does not have the right to write a support message to the DA in this company. They couldn't send support messages either.
They have customer login to the internal license. They can at least check ip and OS in the license.
Furthermore with internal licenses, if I'm not mistaken, they can buy support. They can try by email too.

But as said, they are the ones which can check ip and OS in the license. Let them check that first.

Otherwise you have to wait until somebody comes along which might be able to be of help, like DA support or smtalk but since they are very busy, chances are rather small.
 
[root@server ~]# wget -qO- eth0.me
116.202.xxx.xx

I found the source of the problem. Now how can I do the solution.
The server sees the ns2.116.202.xxx.xx backup ip. The server exit ip 116.202.xxx.xx sees this and sees it incorrectly.

If I delete the ip completely, the server will not work this time either.
If I delete 116.202.xxx.xx, will the server go away?

However, the ip is 78.47.xxx.xxx everywhere on the server. And this should be the first main ip, the output ip on the server should be 78.47.xxx.xxx.

I need to delete 116.202.xxx.xx, this time the server will go, I guess it won't work. Because I guess the server is running on this ip. Output ip 116.202.xxx.xx shows this.

The cloudlinux.com experts were unable to change the "CloudLinux LVE Manager" ip. There was also my 116.202.xxx.xx this second thread.

I said the server ip is not that wrong. I said 78.47.xxx.xxx must be this ip. They couldn't change. While installing, 116.202.xxx.xx sees this second ip. And they did not.
 
[root@server ~]# wget -qO- eth0.me
116.202.xxx.xx

Odd because I asked the output of ifconfig and you said that gave the 78.x.x.x ip as first. Normally the first ethernet device is displayed first.

Seems to me the Cloudlinux installation caused this problem because DA was installed with the 78.x.x.x. ip according to the setup.txt file. So that was done correctly.

You might be able to change the eth0.me ip but this could totally disturb the Cloudlinux LVE, so I don't know.

Maybe fastest solution is to backup all accounts install new with the 78 ip as before, and have Cloudlinux install with the correct ip.
Unless somebody else has a better solution.
 
Hello there

ifconfig
You can see the ip information in the screenshot. Yes the first ip is starting with 78.

It was previously installed on Cloudlinux 78 when doing the initial setup. As you said, maybe this is affecting us, it seems that removing it from the server and installing it on 78 ip again may be a solution.

The most correct solution is actually DA support, but unfortunately I can't write support. I think I'll get the license from DA. It's the most logical thing to get a license from DA so that I can feel safe and be safe.

I have more than 50 hosts. I have to choose my STANDARD from the link below.


 

Attachments

  • ip1.png
    ip1.png
    34.3 KB · Views: 85
The most correct solution is actually DA support,
I don't think so, because out of everything checked it looked like DA was installed the correct way on the correct ip.

It might indeed be more wise to get a license from DA itself. Might be more expensive, but it doesn't help if some company leases you an internal license and then do not provide the support they should.
However, I don't know if this is possible at the moment since an internal ip is already registered to an internal license. You have to take that up with sales. You might be able to contact them via their sales (at) directadmin.com email address.
For more then 10 accounts and more then 50 domains you have indeed to use the standard license.

So eth0 is the first ip (78.x.x.x) and eth0:1 is the second (116.x.x.x) which is quite correct.

Where is the eth0.me coming from then? Is that provided by Cloudlinux? If yes, they should be able to fix this too as the DA installation is correct. Maybe reinstall cloudlinux could be enough. I don't know, I don't use Cloudlinux.
 
Back
Top