2

I have a new installed Virtuoso (from github > 7.2.4) on a Debian jessie system. It starts properly after boot.

How to stop, start, and restart manually the virtuoso web server? It starts after reboot. How can this be achieved from the command line?

How is the automatic restart after boot done? Does it use /etc/init.d/ or systemd?

I cannot find files, neither in systemd nor in service? it seems possible to enable in systemd (on a different Debian stretch box), but not on Debian jessie.

thank you for help!

TallTed
  • 9,069
  • 2
  • 22
  • 37
user855443
  • 2,596
  • 3
  • 25
  • 37
  • error - i just observed that the virtuoso server does not automatically start after reboot. how to set this properly? – user855443 Mar 03 '17 at 10:41
  • 1
    Your questions do not seem specific to Virtuoso, but rather to service management on `debian jessie`. (Virtuoso does not automatically handle such on Linux, as there are multiple service managers, among other host-to-host variations.) [This page](https://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VOSIndex#Download,%20Build,%20and%20Use%20--%20Get%20Started!) seems likely to be of use. – TallTed Mar 03 '17 at 14:38
  • @TallTed The page you link to does not even contain the words "restart" or "stop". – Wouter Beek Aug 20 '17 at 15:50
  • @WouterBeek I stand by my comments that this question is less about Virtuoso, and more about service management on Debian Jessie. Our [page about the Virtuoso package for Debian](http://vos.openlinksw.com/owiki/wiki/VOS/VOSDebianNotes) doesn't discuss service management, because it's not part of what we provide. (ObDisclaimer: [OpenLink Software](https://virtuoso.openlinksw.com/) produces [Virtuoso](http://virtuoso.openlinksw.com/), and employs me.) – TallTed Aug 21 '17 at 15:01
  • I know how to start/stop services, so that's not the problem. For virtuoso7, it seems it is not used as a standard service. At least I cannot find it. So I am just as baffled as @user855443. To be a bit more specific: * how to find the virtuoso7 service? * how to restart it? Some background knowledge on my use case. I am profiling the server and try to optimize the performance. For that I change the config (the .ini file) and after that virtuoso needs to be restarted. – Axe Aug 29 '17 at 08:56

1 Answers1

4

I found a usable solution for my use case in a message on the virtuoso-users mailing list

isql 1111
shutdown();

This shuts down Virtuoso after which you can start it again via virtuoso-t

TallTed
  • 9,069
  • 2
  • 22
  • 37
Axe
  • 672
  • 6
  • 19
  • 1
    Note that this will only succeed if Virtuoso is running with default `dba` credentials, which is not recommended. An easy oneliner with credential placeholders is `isql {host}:{port} {UID} {PWD} EXEC=shutdown`, e.g., `isql localhost:1111 dbauid dbapwd EXEC=shutdown`. – TallTed Aug 29 '17 at 21:13
  • You may need to use `isql-vt` or `isqlw-vt` in place of `isql` for later versions of Virtuoso. – Robin Keskisarkka Apr 04 '18 at 20:29