编译时指定了用户而没有创建用户导致报错
解决:
添加用户
useradd -s /sbin/nologin nginx
输入绝对路径启动nginx
/usr/local/nginx/sbin/nginx