There were some faulty P2POOL settings circulating which I only just became aware of. These should work (the second block needed the attention):
apecoin=math.Object(
PARENT=networks.nets['apecoin'],
SHARE_PERIOD=10, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=12, # blocks
IDENTIFIER='e037d5b8c6923412'.decode('hex'),
PREFIX='7208c1a53ef629b2'.decode('hex'),
P2P_PORT=21546,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=True,
WORKER_PORT=9327,
BOOTSTRAP_ADDRS='24.186.150.212'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
apecoin=math.Object(
P2P_PREFIX='fcd9b7dd'.decode('hex'),
P2P_PORT=21546,
ADDRESS_VERSION=9,
RPC_PORT=9332,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'apecoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 10000*100000000 if (height < 30000) else int(math.floor(10000 - 10000/3 * math.sin(2.0 * 3.14159265359 * (1 / (60.0 * 24.0 * 90.0)) * (height - 30000))) * math.exp(-1 * (height - 30000) / (60 * 24 * 30 * 14.0))) *100000000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=60, # s
SYMBOL='APE',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Apecoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Apecoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.apecoin'), 'apecoin.conf'),
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
DUST_THRESHOLD=0.03e8,
),
Dont worry mate! your Coin is dead already