Just an update. After upgrading to CPanel 102.0.19, Pyzor worked, no more error regarding permission and socket. etc. However I have different issue now. Every now and then it errors when it hits certain emails. When that happens, spamd doesn't write log on certain emails - those with spam score below what I set to discard. I'm not sure if it makes sense. I will post another thread on this.