worker[YourAppBusinessWorker:24646] exit with status 64000

空之风
2018-01-25 22:40:09 pid:24646 exception 'PDOException' with message 'SQLSTATE: Integrity constraint violation: 1062 Duplicate entry '78b3b9154900' for key 'PRIMARY'' in /root/GatewayWorker/Lib/DbConnection.php:1728
Stack trace:
#0 /root/GatewayWorker/Lib/DbConnection.php(1728): PDOStatement->execute()
#1 /root/GatewayWorker/Lib/DbConnection.php(1808): GatewayWorker\Lib\DbConnection->execute('INSERT INTO `ap...', Array)
#2 /root/Applications/YourApp/Events.php(223): GatewayWorker\Lib\DbConnection->query()
#3 /root/Applications/YourApp/Events.php(4405): message2outdata('7f0000010b55000...', 'TTEG???X???????...')
#4 : Events::onMessage('7f0000010b55000...', 'TTEG???X???????...')
#5 /root/GatewayWorker/BusinessWorker.php(360): call_user_func('Events::onMessa...', '7f0000010b55000...', 'TTEG???X???????...')
#6 : GatewayWorker\BusinessWorker->onGatewayMessage(Object(Workerman\Connection\AsyncTcpConnection), Array)
#7 /root/Workerman/Connection/TcpConnection.php(425): call_user_func(Array, Object(Workerman\Connection\AsyncTcpConnection), Array)
#8 : Workerman\Connection\TcpConnection->baseRead(Resource id #43, 2, NULL)
#9 /root/Workerman/Events/Libevent.php(202): event_base_loop(Resource id #27)
#10 /root/Workerman/Worker.php(1472): Workerman\Events\Libevent->loop()
#11 /root/GatewayWorker/BusinessWorker.php(174): Workerman\Worker->run()
#12 /root/Workerman/Worker.php(900): GatewayWorker\BusinessWorker->run()
#13 /root/Workerman/Worker.php(866): Workerman\Worker::forkOneWorker(Object(GatewayWorker\BusinessWorker))
#14 /root/Workerman/Worker.php(422): Workerman\Worker::forkWorkers()
#15 /root/start.php(32): Workerman\Worker::runAll()
#16 {main}
2018-01-25 22:40:09 pid:24646 WORKER EXIT UNEXPECTED 
2018-01-25 22:40:09 pid:24642 worker exit with status 64000
5057 1 0
1个回答

latin

数据库主键冲突了

  • 暂无评论
年代过于久远,无法发表回答
🔝