sakti This error indicates that some ports are occupied. You can execute the following command under ssh to find the relevant program based on these occupied ports, and kill it. After the operation, try again to see if you can restart nginx normally.
lsof -i:80
lsof -i:443
lsof -i:888
If the above operation still fails, you can try to reinstall your nginx.