I managed to get past my previous problem, and got my P2Pool running after many little issues, but I have another problem now lol.
P2Pool connects to magid and hands out shares correctly to my workers, but when I finally get a block it says it is generated in the P2Pool frontend, but doesn't appear in chainz.crptoid. magid is sending an error when the block is sent ..
------------------------------------------------------------------
received: block (1086 bytes)
received block 0000000020f34f02992e
CBlock(hash=0000000020f34f02992ec94030dc97d1c7279496ad20eaebfe5257e1e5ab3450, ver=2, hashPrevBlock=3917774245be0396f3d674219508b61e015031fd5fbb8dd769f63f64aabddfd7, hashMerkleRoot=09ae9fa96f86e37e3872da61b25aae70d3179a97dcfd99a739da92ca2a5f2698, nTime=1527403186, nBits=1d008eb7, nNonce=2818764751, vtx=1, vchBlockSig=)
CTransaction(hash=9d0e3ae70c, nTime=1, ver=1, vin.size=0, vout.size=0, nLockTime=0)
vMerkleTree:
ERROR: CheckBlock() : first tx is not coinbase
ERROR: ProcessBlock() : CheckBlock FAILED
Warning: Local node 127.0.0.1:54350 misbehaving (delta: 100)!
nHeight: 1836086
nHeight: 1836086
nWeightTot: 8588
-----------------------------------------------------------------------
I checked on cryptoid and the block version is 6. On P2Pool transaction the block version is 4. I don't know if this is the issue, or something more complex. I'm running Ubuntu 16.4 and have tried P2Pool-master and P2Pool-feldenthorne and they both do the same thing. Oh and I have installed magi-hash also.
Any ideas anyone ??
You're confusing POS/POW for the built blocks...