Blog post on setting up EMSRV as a service on Ubuntu 18.04

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Blog post on setting up EMSRV as a service on Ubuntu 18.04

jtuchel
I've written a little post on how to get EMSRV running as a daemon/service on Ubuntu 18.04   (alll 64 bits) .
If you know something about systemd, this is boring stuff.
But if you don't (like me) and/or had an Ubuntu 14.04 machine running some older 32 bits emsrv on it, things have changed a little. You may save an hour or two when following this tiny tutorial.

Anyways: here it is: https://joachimtuchel.wordpress.com/2020/03/14/installing-emsrv-as-a-daemon-on-ubuntu-18-04/

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/8c7e80be-92c9-45b5-a677-f397af1fe94f%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Blog post on setting up EMSRV as a service on Ubuntu 18.04

jtuchel
I've heard of people giving up reading my posts before they are at least three days old for a good reason...

I was so excited that I got this systemd thing set up that I completely forgot to mention that what I show is not a good idea as it runs emsrv as root. So I added a few sentences to the post. Feel free to take a second look ;-)



Am Samstag, 14. März 2020 13:06:21 UTC+1 schrieb Joachim Tuchel:
I've written a little post on how to get EMSRV running as a daemon/service on Ubuntu 18.04   (alll 64 bits) .
If you know something about systemd, this is boring stuff.
But if you don't (like me) and/or had an Ubuntu 14.04 machine running some older 32 bits emsrv on it, things have changed a little. You may save an hour or two when following this tiny tutorial.

Anyways: here it is: <a href="https://joachimtuchel.wordpress.com/2020/03/14/installing-emsrv-as-a-daemon-on-ubuntu-18-04/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjoachimtuchel.wordpress.com%2F2020%2F03%2F14%2Finstalling-emsrv-as-a-daemon-on-ubuntu-18-04%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaoHvJek1s-XKCfk5qxzh9DHJikQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjoachimtuchel.wordpress.com%2F2020%2F03%2F14%2Finstalling-emsrv-as-a-daemon-on-ubuntu-18-04%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaoHvJek1s-XKCfk5qxzh9DHJikQ&#39;;return true;">https://joachimtuchel.wordpress.com/2020/03/14/installing-emsrv-as-a-daemon-on-ubuntu-18-04/

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/adc8270e-5866-4ffe-94b5-9a888a438ef4%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Blog post on setting up EMSRV as a service on Ubuntu 18.04

Mariano Martinez Peck-2
Hi Joachim,

Great post! Thanks for sharing. 
One small question, is that line:

ExecStart=/usr/local/VASmalltalk/9.2.1x64/bin/emsrv

your final/production one?  Or do you normally add more parameters? For example, I think it's better logging into its own log rather than stdout etc

Best, 

Mariano


On Sun, Mar 15, 2020 at 2:41 AM Joachim Tuchel <[hidden email]> wrote:
I've heard of people giving up reading my posts before they are at least three days old for a good reason...

I was so excited that I got this systemd thing set up that I completely forgot to mention that what I show is not a good idea as it runs emsrv as root. So I added a few sentences to the post. Feel free to take a second look ;-)



Am Samstag, 14. März 2020 13:06:21 UTC+1 schrieb Joachim Tuchel:
I've written a little post on how to get EMSRV running as a daemon/service on Ubuntu 18.04   (alll 64 bits) .
If you know something about systemd, this is boring stuff.
But if you don't (like me) and/or had an Ubuntu 14.04 machine running some older 32 bits emsrv on it, things have changed a little. You may save an hour or two when following this tiny tutorial.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/adc8270e-5866-4ffe-94b5-9a888a438ef4%40googlegroups.com.


--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAOUkibGwgaspLXdrzmsu9NLpDAjXL-WZvRH6Fufs1n2vCZ4%2BEA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Blog post on setting up EMSRV as a service on Ubuntu 18.04

jtuchel
Hi Mariano,

glad you like it.

No, I have a few parameters in our environment, on of them being the logging path. I didn't intent to explain any emsrv parameters we use, so I just added a link to the documentation page so that people can find how to enable passwords and stuff. And, for many situations, no parameters are needed anyways.

I must admit, however, that in the 26 years I've been using VAST, I never had the need to lokk into the emsrv.log. I guess I'll be glad to have it should there ever be a problem.



Joachim



Am Montag, 16. März 2020 13:52:22 UTC+1 schrieb Mariano Martinez Peck:
Hi Joachim,

Great post! Thanks for sharing. 
One small question, is that line:

ExecStart=/usr/local/VASmalltalk/9.2.1x64/bin/emsrv

your final/production one?  Or do you normally add more parameters? For example, I think it's better logging into its own log rather than stdout etc

Best, 

Mariano


On Sun, Mar 15, 2020 at 2:41 AM Joachim Tuchel <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="S4ofJsQiBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jtu...@...> wrote:
I've heard of people giving up reading my posts before they are at least three days old for a good reason...

I was so excited that I got this systemd thing set up that I completely forgot to mention that what I show is not a good idea as it runs emsrv as root. So I added a few sentences to the post. Feel free to take a second look ;-)



Am Samstag, 14. März 2020 13:06:21 UTC+1 schrieb Joachim Tuchel:
I've written a little post on how to get EMSRV running as a daemon/service on Ubuntu 18.04   (alll 64 bits) .
If you know something about systemd, this is boring stuff.
But if you don't (like me) and/or had an Ubuntu 14.04 machine running some older 32 bits emsrv on it, things have changed a little. You may save an hour or two when following this tiny tutorial.

Anyways: here it is: <a href="https://joachimtuchel.wordpress.com/2020/03/14/installing-emsrv-as-a-daemon-on-ubuntu-18-04/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjoachimtuchel.wordpress.com%2F2020%2F03%2F14%2Finstalling-emsrv-as-a-daemon-on-ubuntu-18-04%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaoHvJek1s-XKCfk5qxzh9DHJikQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fjoachimtuchel.wordpress.com%2F2020%2F03%2F14%2Finstalling-emsrv-as-a-daemon-on-ubuntu-18-04%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFaoHvJek1s-XKCfk5qxzh9DHJikQ&#39;;return true;">https://joachimtuchel.wordpress.com/2020/03/14/installing-emsrv-as-a-daemon-on-ubuntu-18-04/

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="S4ofJsQiBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">va-sma...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/va-smalltalk/adc8270e-5866-4ffe-94b5-9a888a438ef4%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/va-smalltalk/adc8270e-5866-4ffe-94b5-9a888a438ef4%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/va-smalltalk/adc8270e-5866-4ffe-94b5-9a888a438ef4%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/va-smalltalk/adc8270e-5866-4ffe-94b5-9a888a438ef4%40googlegroups.com.


--
Mariano Martinez Peck
Software Engineer, Instantiations Inc.
Email: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="S4ofJsQiBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">mp...@instantiations.com
Twitter: <a href="https://twitter.com/MartinezPeck" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2FMartinezPeck\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPV-7Bnc-U6phGEh-VZU0iUtY7vw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftwitter.com%2FMartinezPeck\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPV-7Bnc-U6phGEh-VZU0iUtY7vw&#39;;return true;">https://twitter.com/MartinezPeck
LinkedIn: <a href="https://www.linkedin.com/in/mariano-mart%C3%ADnez-peck/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.linkedin.com%2Fin%2Fmariano-mart%25C3%25ADnez-peck%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGyJTUAWXPstaw4J3OpFUYRyFAqmw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.linkedin.com%2Fin%2Fmariano-mart%25C3%25ADnez-peck%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGyJTUAWXPstaw4J3OpFUYRyFAqmw&#39;;return true;">www.linkedin.com/in/mariano-martinez-peck
Blog: <a href="https://marianopeck.wordpress.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmarianopeck.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHAOaIsyMIYgmQWdQZRuKRdD6gBfw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fmarianopeck.wordpress.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHAOaIsyMIYgmQWdQZRuKRdD6gBfw&#39;;return true;">https://marianopeck.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/5645561e-a8c3-433e-b38d-80fd596a068b%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: Blog post on setting up EMSRV as a service on Ubuntu 18.04

jtuchel
In reply to this post by Mariano Martinez Peck-2
oh, I think logging is not to stdout by default on Linux.... I have never used emsrv on Windows...

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/cfab0a9a-8096-4dd9-8698-5df63d41a392%40googlegroups.com.