Download Virtuoso Open Source
http://sourceforge.net/projects/virtuoso/files/virtuoso/6.1.6/virtuoso-opensource-win64-20120802.zip/downloadCreating a Windows Service for the Default Database
- Go to the root of the virtuoso tree "virtuoso-opensource". Create a system environment variable called VIRTUOSO_HOME, with this path for its value.
- Run the following command:
Run cmd as Administrator
cd %VIRTUOSO_HOME%\database
- Next run the following command:
SET PATH=%PATH%;%VIRTUOSO_HOME%\bin;%VIRTUOSO_HOME%\lib
- This should be settable via My Computer (right click) ->Properties-> Advanced (tab) -> Environment Variables, in the PATH variable in system section.
- Note: it is important to retain the rest of the existing PATH variable, i.e. the Virtuoso's install paths mentioned above should be prepended before the existing PATH, not over it.
- Verify your Virtuoso binary by typing in the command:
virtuoso-t -? Note we also provide binaries with Java (virtuoso-javavm-t) and .Net CLR (virtuoso-clr-t) hosting support, which can be substituted for "virtuoso-t" in this and the sections below if such support is required.
- Create the service instance by typing the command (to create a new
Windows service called "Instance Name" without replacing existing
service):
virtuoso-t +service screate +instance "Instance Name" +configfile virtuoso.ini
- Note: Once the PATH is set, before creating a service you need to re-start the OS in order the PATH settings to be in effect and the service to be possible to be created.
- Note: If you want to create and replace existing service use the command:
virtuoso-t +service create +instance "Instance Name" +configfile virtuoso.ini
- Verify that the service has been created and registered with Windows by typing the command:
virtuoso-t +service list
- Start an existing or newly created instance by typing the command:
virtuoso-t -I "Instance Name" +service start
- Stop a running instance by typing the command:
virtuoso-t -I "Instance Name" +service stop
- Delete a service instance by typing the command:
virtuoso-t +service delete +instance "Instance Name"
- Once the Virtuoso windows service is created, the standard Windows
Services
Manager can be used to start and stop the Virtuoso Server, which would be identified in the Server Manager with a name ofOpenLink Virtuoso Server [Instance Name]
. The service can also be set to auto start using the Windows Services Manager such that the Virtuoso Server automatically starts when the Windows machine is started. The Windows Services Manager can be accessed fromControl Panel -> Administrative Tools -> Services
menu items.
Virtuoso Web Admin Tool (Conductor)
The Virtuoso Conductor is a HTTP based Web Admin tool for your Virtuoso instance and can be access with the URL:http://localhost:8890/conductor or http://<hostname>:8890/conductor
login as user dba, password dba.
DBMS Server not start
If the Virtuoso DBMS server won't start, there could be 3 reasons.- It is already running
- It died earlier
- It terminated normally earlier, but the virtuoso.lck file was not deleted
Install other Virtuoso VAD applications
BPEL Process Manager (bpel4ws package)
To experiment with the BPEL Process Manager go to http://localhost:8890/BPELGUI- Note: you should login as user dba, password dba.
SPARQL Implementation Demo (SPARQL Demo package)
http://localhost:8890/sparql_demo/iSPARQL (iSparql package)
http://localhost:8890/isparql/Briefcase (Briefcase package, require Framework package)
Trouble Shooting
1. Unable to open the service control manager
copy database/virtuoso.ini as demo.ini in virtuoso-opensourceremove in file demo.ini all character ../
virtuoso-t.exe -c demo -I Demo -S create
This comment has been removed by the author.
ReplyDeleteIn the 5th step i am getting the message "unable to open control manager (5)" ... in my cmd shell....
ReplyDeleteplease help...