Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: Skalviai on December 17, 2021, 09:43:03 PM
-
Good Day.
I am trying to install MS SQL server for Linux on SME server 10.
I installed SQL Server according to the instructions provided https://phoenixnap.com/kb/sql-server-linux.
SQL Server is running fine, but not after rebooting the server.
# systemctl start mssql-server
Information: mssql-server is not defined in configuration DB.
After manual run service SQL server work fine.
How to auto run SQL service at boot?
-
SME10 uses a custom wrapper around systemctl that checks to make sure the SME configuration database
a) has an entry for the service
b) indicates that the service is enabled
Try this:
config set mssql-server service status enabled
Note: there may be more settings needed to create firewall rules, too.
-
Try this:
config set mssql-server service status enabled
Thanks for the idea.
SQL server works great after:
config settype mssql-server service
-
You should have a unit override file called
49-koozali.preset
[Install]
wantedBy=sme-server.target
Should also have an action to expand the correct templates & adjust the relevant services.
See my note to self here & read the wiki for more.
https://wiki.koozali.org/User_talk:ReetP
https://wiki.koozali.org/Postgres