Hi Eric,

You can shutdown Virtuoso by making an isql connection and issuing the
shutdown() cmd as follows:

$ ./isql 1111
Connected to OpenLink Virtuoso
Driver: 05.00.3023 OpenLink Virtuoso ODBC Driver
OpenLink Interactive SQL (Virtuoso), version 0.9849b.
Type HELP; for help and EXIT; to exit.
SQL> shutdown();
$

Alternatively you can use the following start and stop script  we ship with
the commercial Virtuoso release. You will need to amend to match your
specific installation.

Start Script:

#!/bin/sh

#
#  Startup script for Virtuoso demo database
#
#  To learn more about this product, or any other product in our
#  portfolio, please check out our web site at:
#
#      http://www.openlinksw.com
#
#  or contact us at:
#
#      general.informat...@openlinksw.com
#
#  If you have any technical questions, please contact our support
#  staff at:
#
#      technical.supp...@openlinksw.com
#

#
#  Set standard environment variables
#

f=""/home/hwilliams/virtuoso/live"/virtuoso-enterprise.sh"

if [ -f "$f" ]
then
  . "$f"
else
  echo "Warning: $f does not exist. You might have to set some environment
variables (PATH, ODBCINI) by hand."
fi

cd "/home/hwilliams/virtuoso/live"/demo

"/home/hwilliams/virtuoso/live"/bin/virtuoso +wait +configfile demo.ini
if test $? -ne 0
then
    echo
    echo "** Error starting Virtuoso DBMS Demo server"
    echo "** See demo.log for more details."
    echo
    exit 1
fi

exit 0


Stop Script:
============

#!/bin/sh

#
#  Stop script for Virtuoso demo database
#

#
#  Set standard environment variables
#

f=""/home/hwilliams/virtuoso/live"/virtuoso-enterprise.sh"

if [ -f "$f" ]
then
  . "$f"
else
  echo "Warning: $f does not exist. You might have to set some environment
variables (PATH, ODBCINI) by hand."
fi

cd "/home/hwilliams/virtuoso/live"/demo

PORT=`"/home/hwilliams/virtuoso/live"/bin/inifile -f demo.ini -s Parameters
-k ServerPort`

"/home/hwilliams/virtuoso/live"/bin/isql VERBOSE=off PROMPT=off
localhost:$PORT dba -K
if test $? -ne 0
then
    echo
    echo "** Error shutting down Virtuoso DBMS Demo server"
    echo
fi

exit 0


On 16/1/08 21:06, "Erick Antezana" <er...@psb.ugent.be> wrote:

> Hi,
> 
>   I have virtuoso running on a  linux box (2.6.9-67.0.1.ELsmp #1 SMP Fri
> Nov 30 11:57:43 EST 2007 x86_64 x86_64 x86_64 GNU/Linux). I would like
> to try out the different parameters that could be in the INI file (e.g.
> Striping = 1, SPARQL related, etc) so I need to shutdown virtuoso so
> that the system considers the new INI file. How do I have to cleanly
> shutdown the server? Currently, I am just pressing on CTRL-C on the
> terminal to shutdown virtuoso from where I executed "virtuoso-t -c
> virtuoso.ini -f". Can I also just send  HUP signal? it would be nice to
> have a set of scripts to start/stop/restart the server.
> 
> thanks,
> Erick
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users


Best Regards,
Hugh Williams
Professional Services
OpenLink Software
Web: http://www.openlinksw.com
Universal Data Access & Data Integration Technology Providers



Reply via email to