Doing methods A and B from the post you mentioned gave me this error.
Executing the same command as su gave this error.
Code:
$ service nginx start2024/05/20 02:08:03 error when getting key of section "system": key "domain" not existscp: can't create '/etc/nginx/tnas.link.crt': File existscp: can't create '/etc/nginx/tnas.link.key': File existsnginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)2024/05/20 02:08:03 [warn] 9097#9097: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:12024/05/20 02:08:03 [warn] 9097#9097: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:582024/05/20 02:08:03 [emerg] 9097#9097: open() "/var/log/nginx/access.log" failed (13: Permission denied)
Code:
$ sudo service nginx start2024/05/20 02:12:54 error when getting key of section "system": key "domain" not existsnginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/nginx.conf:58nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:8181 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:5443 failed (98: Address already in use)nginx: [emerg] still could not bind()
Statistics: Posted by rgtksg — Today, 02:15