You may select @@version to check your SQL Server version.
There is a known issue when running Microsoft SQL Server 2016 and 2017 and have c2 audit mode enabled. After you install Service Pack 2 (SP2) on the server, the SQL Service shuts down, and you receive an error message that resembles the following:
An error occurred while writing an audit trace. SQL Server is shutting down. Check and correct error conditions such as insufficient disk space, and then restart SQL Server. If the problem persists, disable auditing by starting the server at the command prompt with the "-f" switch, and using SP_CONFIGURE.
Resolution
A fix for this issue is included in the following cumulative updates for SQL Server:
Cumulative Update 11 for SQL Server 2017
Cumulative Update 3 for SQL Server 2016 Service Pack 2.
You may also check An Error Occurred While Writing an Audit Trace. SQL Server is Shutting Downto see if it is helpful.
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.