Hi im new with ispconfig. i follow this guide to install https://www.howtoforge.com/tutorial/ispconfig-automated-install-script/ The only change i made its to put Quota "no" because if i put yes, after restart the server givme some errors. After complete this guide i make this other guide https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/ i see i have an error when try to star ngix. I started again, reinstalled the server from 0, I just made the first gui, and try to restart the nginx service. it gives me the following error when i put systemctl status nginx.service givme this result Thanks
Seems as if you made a mistake while following the second guide. There is an SSL cert missing now and that's why nginx can't start. The second guide instructed you to create a website for the server hostname in ispconfig and enable SSL and let'sencrypt for that website. My guess is that you either did not create that website or Let's encrypt was not able to issue an SSL cert for that site which then resulted in the missing SSL cert that now causes nginx to fail.
Hi till, just ran into the same issue, may I ask how to fix it? I simply cannot enter ISPConfig in order to do it add the server domain since nginx won't start.
Code: root@rockonnet:~# systemctl status nginx ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2019-05-13 19:44:30 UTC; 1 day 21h ago Docs: man:nginx(8) Process: 2151 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) May 13 19:44:30 rockonnet systemd[1]: Starting A high performance web server and a reverse proxy server... May 13 19:44:30 rockonnet nginx[2151]: nginx: [emerg] BIO_new_file("/usr/local/ispconfig/interface/ssl/ispserver.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/usr/local/ispconfig/interface/ssl/i May 13 19:44:30 rockonnet nginx[2151]: nginx: configuration file /etc/nginx/nginx.conf test failed May 13 19:44:30 rockonnet systemd[1]: nginx.service: Control process exited, code=exited status=1 May 13 19:44:30 rockonnet systemd[1]: nginx.service: Failed with result 'exit-code'. May 13 19:44:30 rockonnet systemd[1]: Failed to start A high performance web server and a reverse proxy server. Code: root@rockonnet:~# systemctl --state=failed UNIT LOAD ACTIVE SUB DESCRIPTION ● dovecot.service loaded failed failed Dovecot IMAP/POP3 email server ● nginx.service loaded failed failed A high performance web server and a reverse proxy server LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
Quota always works for me, so not sure why yours isn't. It means you didn't successfully created the certificate. Common problem was hostname for server is not properly defined. What is your server hostname via hostname -f command? Do the website have the same name?