deleted user own an IP

Alice

New member
Joined
Oct 26, 2004
Messages
3
I have this problem: I created one user at start to test the direct admin out.. perhaps the user was also a resellers.. I dunno how i managed to own an ip from that user.. but I did'nt manage to free the ip in any manner, neither after deleting the user..
now the ip is still owned from that deleted user,
I also tryed out to recreate a user with same name to try one more time to fire the IP, but I didn't managed at all..

Here how it show:

IP Status Reseller User(s) Nameserver Netmask
64.247.36.185 owned xargoth xargoth 255.255.255.255

I'm unable to delete the IP from the admin account/admin level, also unable to free, to remove from resellers.. nothing seem to be possible... nothing happen.
Please any help?
Thanks in advance,
sincerely
Alice
 
Last edited:
You won't be able to free and delete the ip address until ther are no users on it. If the ip belonged to a reseller. You will probably have to go through all the data files in directadmin and delete it from there.

you could probably even forcefully delete it by removing that particular ip address from the following files:
/usr/local/directadmin/data/admin/ip.list

This file contains what you see within directadmin:
/usr/local/directadmin/data/admin/ips/xx.xx.xx.xx
Perhaps if you set the status from whatever it is to "status=free" you might be able to delete it from directadmin
 
For others looking for this solution use jmstacey's 2nd solution.

This file contains what you see within directadmin:
/usr/local/directadmin/data/admin/ips/xx.xx.xx.xx
Perhaps if you set the status from whatever it is to "status=free" you might be able to delete it from directadmin

Edit your IP file to look like this and it will be free. :)
If your netmask differs from the one below then use it instead.

Code:
gateway=
netmask=255.255.255.255
ns=
reseller=
status=free
value=
 
Last edited:
/usr/local/directadmin/data/admin/ips/xx.xx.xx.xx

I have the same problem, but when I go to /usr/local/directadmin/data/
the data directory is empty.


Thanks.
 
In that case you may want to contact DA support or reinstall DA.
Did you double check to make sure you are in the right directory?
 
Hi,

I checked again and when I go to

/usr/local/directadmin/data/

and input "ls"

I have Permission Denied.

I'm on vps.

juliusB

-------------------------
My fault, I logged as admin. Now I logged as root and changed the file.
 
Last edited:
For others looking for this solution use jmstacey's 2nd solution.



Edit your IP file to look like this and it will be free. :)
If your netmask differs from the one below then use it instead.

Code:
gateway=
netmask=255.255.255.255
ns=
reseller=
status=free
value=

jmstacey you are my hero!!

-worked like a charm ... I should have checked here BEFORE I spent 2 hours furthering my utter frustration ... :rolleyes:
 
Back
Top