LedgerSMB
The foundation for your business
Fork me on GitHub
[ledgersmb-users] Re: nginx Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ledgersmb-users] Re: nginx Error



Hi Mathew,

On Sat, Feb 19, 2022 at 7:36 AM Mathew Cox <..hidden..> 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.
_______________________________________________
users mailing list -- ..hidden..
To unsubscribe send an email to ..hidden..