Message boards :
Questions and problems :
Duplicate CPID
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
I have a problem with two of my machines, one was cloned from the other a long time ago. At the time some Boinc projects got mixed up, but they worked it out automatically somehow. Now I'm on grcpool, the problem is occurring again. When one of them synchs with grcpool, the pool changes the hostname to that one, thinking it's the same machine. How do I seperate them? I've tried uninstalling boinc from one of them and deleting the boinc data directory, but the problem persists. The CPID is the same for both machines, dd731609735947bc6aed4d89a2205adc, one is called ryzen, the other is called glass. |
![]() Send message Joined: 28 Jun 10 Posts: 1694 ![]() |
Not quite sure if this is a BOINC problem or a GRIDCOIN ONE. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
Since it's on the same two machines that really upset WCG before, because I cloned one to the other, and the same thing is happening now - same CPID, I'm sure that's what's wrong. All I need to know is where the machine has stored the CPID, so I can delete it and it can get a new one. I can't find it in the registry or the data or user folders. Perhaps, even reinstalling Boinc, a project recognised it and it got the same ID again? Would changing the Windows network name help? |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
No, changing the network name didn't help. Does somebody know how to make it forget who it is? |
![]() Send message Joined: 28 Jun 10 Posts: 1694 ![]() |
Not quite sure if this is a BOINC problem or a GridCoin one. A substantial change to one of the machines, such that it is no longer recognised as the same computer would be one way to resolve this but certainly not the most elegant way. If I come up with something better I will post. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
When I cloned it, it was a substantial change. Every single component was dramatically different. Who or what is recognising it as the same machine? Is this stored at the project, at the gridcoin pool, or on my machine? Would reformatting the machine help? (Not that big a deal since one of them only runs Boinc). |
Send message Joined: 31 Dec 18 Posts: 225 ![]() |
When I cloned it, it was a substantial change. Every single component was dramatically different. I believe that substantial change is Windows to Linux or Intel to AMD - not just Win7 to Win10 or Ryzen 5 to Ryzen 7. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
When I cloned it, it was a substantial change. Every single component was dramatically different. The CPU changed from an Intel i5 to a Ryzen 9. |
Send message Joined: 31 Dec 18 Posts: 225 ![]() |
When I cloned it, it was a substantial change. Every single component was dramatically different. That should have done it. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
When I cloned it, it was a substantial change. Every single component was dramatically different. It didn't. I cloned from the i5 to the Ryzen 9, then ran Boinc on them both, can't remember which first. At that point it had the drastically different CPU and motherboard and a different hard disk all at once. The memory was similar, the OS the same, and the GPU the same. |
Send message Joined: 25 Nov 05 Posts: 1636 ![]() |
This is the info page about cpid: Cross-project_identification Results from a web search suggest that using a different email address may give you a different cpid. |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 703 ![]() |
For the machine you need to change the CPID to the correct one, just edit its client_state.xml file and change the CPID in the <external_cpid>{CPID}</external_cpid> field and save the file. The external CPID field is the one that the stats sites and GridPool pay attention to. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
This is the info page about cpid: Cross-project_identification I assume that could be temporary, and changing it back to the original email address would give me yet another new CPID? I'd prefer to keep the same email address or I'd need seperate accounts on all the projects, and keeping track of credit would be difficult. I'll try this tomorrow, time for bed in the UK.... |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
For the machine you need to change the CPID to the correct one, just edit its client_state.xml file and change the CPID in the <external_cpid>{CPID}</external_cpid> field and save the file. I've just checked one of the offending machines, and that field is blank. Can I just put anything in there? I suppose I could make something that looks similar to what they should be. The file has: <cross_project_id>d8ffd2cc24b930b1c79b0041a5f21fc5</cross_project_id> <external_cpid></external_cpid> But grcpool.com shows that machine as dd731609735947bc6aed4d89a2205adc |
![]() ![]() Send message Joined: 27 Jun 08 Posts: 611 ![]() |
For the machine you need to change the CPID to the correct one, just edit its client_state.xml file and change the CPID in the <external_cpid>{CPID}</external_cpid> field and save the file. I just went through this as un-accountably, einstein had not put a value in the extern_cpid field The value in there is the one for all your systems, the one that starts with 53... https://www.gridcoinstats.eu/cpid/53ed9d9b7d568cb7eb1ccc25a7dc4492 Hopefully you do not have different external CPIDs which is a PITA to fix. [edit] I do not see any of your system addresses. Either you have another account or the systems have not propagated their CPID into the eu stats table. if you put in my name you will see 5 active addresses each corresponding to a system CPID and under that the four main projects I work on. You should have a single external CPID good for all your work. |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 703 ![]() |
Gridcoin depends on a single CPID address across all projects. That address is the one that goes into external_cpid in every host computers client_state.xml file. The other cpid addresses are for identifying each host for only that particular project in EACH project section of the client_state. Those addresses have nothing to do with gridcoin. They are only important for the individual host stats at the 3rd party aggregation websites or the projects websites. As Joseph points out the CPID you need to concentrate on is the one starting with 53ed . . . that needs to be put into every <external_cpid> field in every project section in the client state file. The easiest way is to use the global Find and Replace function in a file editor. |
![]() ![]() Send message Joined: 17 Nov 16 Posts: 703 ![]() |
Yes, Einstein is notorious for leaving the <external_cpid> field blank and unfilled because they use outdated server software. Updated server software fills that in and properly propagates it to all the project fields in the client state file. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
PROBLEM SORTED, SEE MY LATER POST AND DON'T READ THE BELOW UNLESS YOU'RE BORED...... I didn't realise there was more than one entry in client state. The one I saw blank was Einstein. All the others on my computer "Ryzen" are: <cross_project_id>d8ffd2cc24b930b1c79b0041a5f21fc5</cross_project_id> <external_cpid>163f049997e8a2dee054d69a7720bf05</external_cpid> Einstein only has the (same) cross_project_id, with external left blank. That external CPID doesn't seem to relate to me, but one of the grcpool.com pools: https://www.gridcoinstats.eu/cpid/163f049997e8a2dee054d69a7720bf05 Note I used gridcoin 3 years ago and stopped, and only started again yesterday, so you might be looking at an old version of me. I'm using grcpool.com as a pool, and not solo crunching. Picard (a seperate machine, I don't think was cloned) has the same IDs. Black (a seperate machine, not cloned) has the same IDs. Glass (the one having a problem with Ryzen, definitely a clone) has the same IDs. I'm confused now, clearly neither of these is used to identify a computer, it's used to identify me. I need to seperate the two computers so I can set different projects for them in the account manager (grcpool.com). Perhaps what I need is this? <host_cpid>6741f045fe588ae7762d5277e80edf4b</host_cpid> That is shown on the page on grcpool.com for the computer black, and it's also in the client state on that computer. Glass and Ryzen both get called dd731609735947bc6aed4d89a2205adc, on the pool page and in client state. Black has a different one, 6741f045fe588ae7762d5277e80edf4b So I'm trying making a random one up for glass to differentiate it from ryzen.... Failed. It took the random number I put in, showing it on the pool page, but overwrote ryzen, despite a different ID and network name, and entirely different hardware. So perhaps the pool remembered it and merged it? Trying again, new random ID and new network name at once, also reconnecting to grcpool.com instead of just synching.... Failure. The fake number is not accepted by projects. |
![]() Send message Joined: 6 Oct 06 Posts: 1344 ![]() |
Fixed! If you have two hosts one cloned from the other, the <host_cpid> is presumably generated from the hardware. The clone will then have the <host_cpid> generated from the original's hardware. To sort it, ON THE CLONE, detach from all projects, close Boinc, make <host_cpid> blank in client state, then start up Boinc, no need to attach to anything, it will immediately generate the correct <host_cpid> for that hardware. If you try this on the original, it will just generate the same <host_cpid> again. |
Copyright © 2022 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.