Hi Ted, 

Thanks for your help.

It looks like the key argument for me is the -f or +foreground. If I include it 
in the command line, Virtuoso will start and write out some nice logging info 
to the console. If I don't include it, the command line says the service is 
being started, but when you list it or look at the list of processes, it is not 
running.
So the question then becomes: what would I have to do to run virtuoso as a 
service in Windows?
Below are the commands I typed in the command window, in sequence, and the 
responses.

Thanks

Marco


C:\javatools\virtuoso\virtuoso-opensource\database>c:\javatools\virtuoso\virtuoso-opensource\bin\virtuoso-t.exe
 -I "virt1" -c "C:\javatools\virtuoso\virtuoso-opensource\database\virtuoso.ini"
The Virtuoso_virt1 service is being started

C:\javatools\virtuoso\virtuoso-opensource\database>virtuoso-t  +service list
virt1                Stopped

C:\javatools\virtuoso\virtuoso-opensource\database>c:\javatools\virtuoso\virtuoso-opensource\bin\virtuoso-t.exe
 -I "virt1" -f -c 
"C:\javatools\virtuoso\virtuoso-opensource\database\virtuoso.ini"

                Fri Apr 10 2009
21:16:47 [Using virtuoso.ini in C:\javatools\virtuoso\virtuoso-opensource\databa
se]
21:16:47 { Loading plugin 1: Type `plain', file `wikiv' in `../hosting'
21:16:47   WikiV version 0.6 from OpenLink Software
21:16:47   Support functions for WikiV collaboration tool
21:16:47   SUCCESS plugin 1: loaded from ..\hosting\wikiv.dll }
21:16:47 { Loading plugin 2: Type `plain', file `mediawiki' in `../hosting'
21:16:47   MediaWiki version 0.1 from OpenLink Software
21:16:47   Support functions for MediaWiki collaboration tool
21:16:47   SUCCESS plugin 2: loaded from ..\hosting\mediawiki.dll }
21:16:47 { Loading plugin 3: Type `plain', file `creolewiki' in `../hosting'
21:16:47   CreoleWiki version 0.1 from OpenLink Software
21:16:47   Support functions for CreoleWiki collaboration tool
21:16:47   SUCCESS plugin 3: loaded from ..\hosting\creolewiki.dll }
21:16:47 { Loading plugin 4: Type `plain', file `im' in `../hosting'
21:16:47   IM version 0.5 from OpenLink Software
21:16:47   Support functions for Image Magick 6.2.4
21:16:47   SUCCESS plugin 4: loaded from ..\hosting\im.dll }
21:16:47 { Loading plugin 5: Type `plain', file `wbxml2' in `../hosting'
21:16:47   WBXML2 version 0.9 from OpenLink Software
21:16:47   Support functions for WBXML2 0.9.2 Library
21:16:47   SUCCESS plugin 5: loaded from ..\hosting\wbxml2.dll }
21:16:47 { Loading plugin 6: Type `plain', file `hslookup' in `../hosting'
21:16:47   HSLOOKUP version 0.1 from OpenLink Software
21:16:47   Support functions for Handle System 5.3.3
21:16:47   SUCCESS plugin 6: loaded from ..\hosting\hslookup.dll }
21:16:47 { Loading plugin 7: Type `Hosting', file `hosting_php.dll' in `../hosti
ng'
21:16:47   Hosting version 3037 from OpenLink Software
21:16:47   PHP engine version 5.2.4
21:16:47   SUCCESS plugin 7: loaded from ../hosting/hosting_php.dll }
21:16:47 OpenLink Virtuoso Universal Server
21:16:47 Version 05.09.3037-threads for Win32 as of Feb 13 2009
21:16:47 uses parts of OpenSSL, PCRE, Html Tidy
21:16:47 Database version 3016
21:16:47 SQL Optimizer enabled (max 1000 layouts)
21:16:49 Compiler unit is timed at 0.000698 msec
21:16:51 Roll forward started
21:16:51 Roll forward complete
21:16:53 Checkpoint made, log reused
21:16:53 HTTP/WebDAV server online at 8890
21:16:53 Server online at 1111 (pid 5976)





________________________________
From: Ted Thibodeau Jr <tthibod...@openlinksw.com>
To: Marco Ocana <marco.oc...@balboasystems.com>
Cc: virtuoso-users@lists.sourceforge.net
Sent: Friday, April 10, 2009 3:17:42 PM
Subject: Re: [Virtuoso-users] Cannot reinstall Virtuoso on Windows

Hi, Marco --

On Apr 10, 2009, at 02:40 PM, Marco Ocana wrote:
> I have tried multiple times reinstalling Virtuoso Version 5.0.10.3037 on 
> Windows XP 32-bit, but cannot get the service started.
> I have removed the services, unregistered the Odbc drivers and walk through 
> the steps described in the open source web page, but everytime I try to start 
> the service, it reports the status of the instance as "stopped".
> 
> Are there log files I could take a look at? The only indication that I have 
> found is in the windows event log. Every time there are two entries back to 
> back. One saying that it is starting, and another saying it is stopping.
> Other things I checked based on googling and scouring the docs: There is no 
> .lck file in the directory structure for virtuoso and all the administrative 
> utilities where closed during setup and startup.
> 
> Any other things I should check?


First thing is to try getting a version string from the binary.  Start
a CMD window, navigate to the Virtuoso installation's \bin\ subdirectory,
and execute the command --

   .\virtuoso.exe -?

This may reveal a missing library (probably just need to adjust your PATH
or other environment variable(s).)

(Note - your Virtuoso executable may be named differently.  Any/all that
start with "virtuoso" should produce version strings.)

If that succeeds, try starting the server in +foreground mode, and see if
any errors appear.  Either of these equivalent commands may be used --

   .\virtuoso.exe +foreground
   .\virtuoso.exe -f

For best results, copy the start command for the OpenLink Virtuoso service
from the Services control panel, and add `+foreground` or `-f` to that
string.  The above short string may be used if the long command fails.

Let us know how it goes...

Ted



--A: Yes.                      http://www.guckes.net/faq/attribution.html
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?

Ted Thibodeau, Jr.           //               voice +1-781-273-0900 x32
Evangelism & Support         //        mailto:tthibod...@openlinksw.com
OpenLink Software, Inc.      //              http://www.openlinksw.com/
                                http://www.openlinksw.com/weblogs/uda/
OpenLink Blogs              http://www.openlinksw.com/weblogs/virtuoso/
                              http://www.openlinksw.com/blog/~kidehen/
    Universal Data Access and Virtual Database Technology Providers

Reply via email to