{"id":986,"date":"2017-10-29T14:11:11","date_gmt":"2017-10-29T11:11:11","guid":{"rendered":"http:\/\/surgery.moscow\/smos\/?p=986"},"modified":"2020-05-22T16:53:54","modified_gmt":"2020-05-22T13:53:54","slug":"%d0%be%d0%b3%d1%80%d0%b0%d0%bd%d0%b8%d1%87%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bd%d0%b0-%d0%ba%d0%be%d0%bb%d0%b8%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%be-%d0%b7%d0%b0%d0%bf%d1%83%d1%81%d0%ba%d0%be%d0%b2-mssql-serv","status":"publish","type":"post","link":"https:\/\/surgery.moscow\/smos\/2017\/10\/29\/%d0%be%d0%b3%d1%80%d0%b0%d0%bd%d0%b8%d1%87%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bd%d0%b0-%d0%ba%d0%be%d0%bb%d0%b8%d1%87%d0%b5%d1%81%d1%82%d0%b2%d0%be-%d0%b7%d0%b0%d0%bf%d1%83%d1%81%d0%ba%d0%be%d0%b2-mssql-serv\/","title":{"rendered":"\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 MSSQL-SERVER \u0432 Linux"},"content":{"rendered":"<h2>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e&nbsp;MSSQL-SERVER \u0432 Linux \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u0432 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438<\/h2>\n<p>\u043e\u0448\u0438\u0431\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 :<strong> Active: <i style=\"color: red;\">failed<\/i> (Result: start-limit)<\/strong><\/p>\n<p>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435: <strong>\/usr\/lib\/systemd\/system\/mssql-server.service<\/strong><\/p>\n<p>\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0444\u0430\u0439\u043b\u0430<\/p>\n<p><strong>[Unit]<\/strong><br \/>\nDescription=Microsoft SQL Server Database Engine<br \/>\nAfter=network.target auditd.service<br \/>\nDocumentation=https:\/\/docs.microsoft.com\/en-us\/sql\/linux<\/p>\n<p><strong>[Service]<\/strong><br \/>\nExecStart=\/opt\/mssql\/bin\/sqlservr<br \/>\nUser=mssql<br \/>\nWorkingDirectory=\/var\/opt\/mssql<\/p>\n<p># Kill root process<br \/>\nKillMode=process<\/p>\n<p># Wait up to 30 seconds for service to start\/stop &#8212;<br \/>\n#\u041e\u0436\u0438\u0434\u0430\u0439\u0442\u0435 30 \u0441\u0435\u043a\u0443\u043d\u0434 (\u043c\u0438\u043d\u0443\u0442) \u0447\u0442\u043e\u0431\u044b \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c\/\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441<br \/>\n<strong>TimeoutSec=30min<\/strong><\/p>\n<p># Remove process, file, thread limits<br \/>\n#<br \/>\nLimitNPROC=infinity<br \/>\nLimitNOFILE=infinity<br \/>\nTasksMax=infinity<br \/>\nUMask=007<\/p>\n<p># Restart on non-successful exits.<br \/>\nRestart=on-failure<\/p>\n<p># Don&#8217;t restart if we&#8217;ve restarted more than 3 times in 2 minutes.<br \/>\n#\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430 3 \u0440\u0430\u0437\u0430 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 2-\u0445 \u043c\u0438\u043d\u0443\u0442<br \/>\n<strong>StartLimitInterval=120<\/strong><br \/>\n<strong>StartLimitBurst=3<\/strong><\/p>\n<p><strong>[Install]<\/strong><br \/>\nWantedBy=multi-user.target<\/p>\n<hr>\n<p>\u0412 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u043f\u0440\u0435\u0432\u044b\u0441\u0438\u043b\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 &nbsp;\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b\u0430 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e &#171;\u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c&#187; \u0441\u0447\u0435\u0442\u0447\u0438\u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n<p><strong>systemctl reset-failed mssql-server.service<\/strong><\/p>\n<p>\u0414\u043b\u044f \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0444\u0430\u0439\u043b <strong>\/usr\/lib\/systemd\/system\/mssql-server.service:<\/strong><\/p>\n<p>1.\u043d\u0443\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 :<strong>systemctl stop mssql-server.service<\/strong><br \/>\n2.\u0432\u043d\u0435\u0441\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e<br \/>\n3.\u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 <strong>systemctl<\/strong> \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<strong>systemctl daemon-reload<br \/>\n<\/strong>4. \u0432\u043d\u043e\u0432\u044c \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439: <strong>systemctl start mssql-server.service<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e&nbsp;MSSQL-SERVER \u0432 Linux \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0432\u0430\u044e\u0442 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u0432 \u0432 \u0435\u0434\u0438\u043d\u0438\u0446\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0448\u0438\u0431\u043a\u0430 \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 : Active:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,12,22],"tags":[],"class_list":["post-986","post","type-post","status-publish","format-standard","hentry","category-computer","category-internet","category-technology"],"_links":{"self":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/comments?post=986"}],"version-history":[{"count":10,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/986\/revisions"}],"predecessor-version":[{"id":2871,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/posts\/986\/revisions\/2871"}],"wp:attachment":[{"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/media?parent=986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/categories?post=986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/surgery.moscow\/smos\/wp-json\/wp\/v2\/tags?post=986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}