IP management problem, can not remove or delete

weber.s

Verified User
Joined
Oct 7, 2009
Messages
8
I have an IP assign to a reseller, under admin's ip management, it was assign to that reseller. but login as reseller found no ip under ip mangement.

since this is a new reseller, i delete it them back to admin. the ip was still assign to that reseller which not exist anymore...try remove ip from reseller or re-assign or delete, all report error.

how can i remove that ip from system so that i can re-add?

try add another ip, works. but this one. it just there and nothing i can do..neither remove or delete...
 
Use ip management under admin and reseller levels.
 
@scsi, that won't work once the reseller has been deleted and re-added. The IP#s need to be manipulated in the various files which control IP assignment. I don't have time to look that up right now, scsi; do you know which files?

Jeff
 
anyone help?

Admin can not delete an report the ip is assigned.

but there is no reseller/user who take this ip. the ip was deleted from the reseller/user
 
If I remembered exactly how to do it, I would have said so in my previous post.

However, I've just taken some time to look this up on one of my servers.

Each IP# is listed in the directory /usr/local/directadmin/data/admin/ips.

Open the file for the IP# with the problem and empty the important fields. Then save the file. When you're done it should look something like this:
Code:
gateway=
netmask=255.255.255.192
ns=
reseller=
status=free
value=
That should make it show up as free.

However note that as always I only take responsibility for work I do myself; if I've made an error, or if you make an error (such as working on the wrong file) I'm not responsible. I guarantee my work but I cannot guarantee advice given on a forum.

Jeff
 
Back
Top