What does this mean? It is a little confusing as it seems to be stating the error is at line 145 but there are only 144 lines in ledgersmb.conf. -- The job identifier is 2922. Feb 19 06:29:00 cathedral nginx[6008]: nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/sites-enabled/ledgersmb.conf:145 Feb 19 06:29:00 cathedral nginx[6008]: nginx: configuration file /etc/nginx/nginx.conf test failed Feb 19 06:29:00 cathedral systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE -- Subject: Unit process exited -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- An ExecStartPre= process belonging to unit nginx.service has exited. -- -- The process' exit code is 'exited' and its exit status is 1. Feb 19 06:29:00 cathedral systemd[1]: nginx.service: Failed with result 'exit-code'. -- Subject: Unit failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- -- The unit nginx.service has entered the 'failed' state with result 'exit-code'. Feb 19 06:29:00 cathedral systemd[1]: Failed to start A high performance web server and a reverse proxy server. -- Subject: A start job for unit nginx.service has failed -- Defined-By: systemd -- Support: http://www.ubuntu.com/support -- Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows
Hi Mathew, On Sat, Feb 19, 2022 at 7:36 AM Mathew Cox <edmondshire@live.com> wrote:
What does this mean? It is a little confusing as it seems to be stating the error is at line 145 but there are only 144 lines in ledgersmb.conf.
The key is the error 'unexpected end of file, expecting ";" or "}"'. The fact that it's reported on line is practically to be considered "at end of file" instead of literally "at line 145". The point is that it's missing either a semicolon or a closing curly. -- The job identifier is 2922.
Feb 19 06:29:00 cathedral nginx[6008]: nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/sites-enabled/ledgersmb.conf:145
Feb 19 06:29:00 cathedral nginx[6008]: nginx: configuration file /etc/nginx/nginx.conf test failed
Feb 19 06:29:00 cathedral systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStartPre= process belonging to unit nginx.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
-- Bye, Erik. http://efficito.com -- Hosted accounting and ERP. Robust and Flexible. No vendor lock-in.
participants (2)
-
Erik Huelsmann
-
Mathew Cox