Hi Denis,
the error message is clear.
"new_name already exists with another clientid, rename it "
it means that a client with name new_name was defined in the past and the
record still exists in the media db.
You need to unlink the "other" clientid ("other_id") from the "new_name" before
you can use that "new_name" with the "actual" client id.
To break the link between new_name and "other_id" you have to link the
"other_id" to some other client name that doesn't already exist on networker
(Solution: us a dummy client -- lets call it "dummyclient").
Procedure step by step:
(0) make sure that new_name is not a client already defined (delete all the
instances if it is so, stop NW and rename the index/new_name to
index/OLD_new_name if exists, then start NW again )
(1) [important -- 1st step] add an entry for the dummyclient to the /etc/hosts.
Example entry:
172.16.0.1 dummyclient
(2) delete all entries of old_name
(3) stop NW
(4) rename index/old_name to index/temp_old_name
(don't use the final name yet to keep it simpler in case of problems)
(5) start Nw on the nw server
(6) create a new client using dummyclient/other_id (that should free new_name
from other_id)
(7) create a new client using new_name/actual_id (where actual_id is the
client Id of the client you wanted to rename)
If everything is alright
(8) stop NW
(9) rename index folders:
- delete index/new_name
- rename index/temp_old_name to index/new_name
(10) start networker
jee
On Thursday 29 Dec 2011 13:19:02 you wrote:
> Hello,
>
> I want to rename a client but I still have an error that I cant' explain.
>
> Things I've done :
>
> - keeping the actuel clientid
> - deleting all client instances with the NMC
> - shutting down NW
> - renaming the /nsr/index/actual_name to /nsr/index/new_name
> - starting NW
> - creating a new client instance with the previously clientid saved
>
> At this point, I issue an error like the following terms :
>
> new_name already exists with another clientid (which is displayed), rename
> it first or use the given clientid (the one displayed).
>
> The only way to success is to give this 'new' clientid.
>
> I don't know where NW found this clientid (file under the
> /nsr/index/clientname directory ?)
>
> I've checked the clients resources with nsradmin to display all clientid but
> no way.
>
> I've also checked the media database with mminfo to get all clientid, but no
> way, too.
>
> It looks like an index crossing of something like that...
>
> Can someone explain me where NW finds this clientid, and how can I bypass
> this $*%£%# error message ?
>
> Thanks in advance.
>
> Denis
>
> To sign off this list, send email to listserv AT listserv.temple DOT edu and
> type
> "signoff networker" in the body of the email. Please write to
> networker-request AT listserv.temple DOT edu if you have any problems with
> this
> list. You can access the archives at
> http://listserv.temple.edu/archives/networker.html or via RSS at
> http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|