Mike, On 23/6/07 00:15, "Michael K. Bergman" <m...@mkbergman.com> wrote:
> Hi Hugh, > > Thanks for the quick response; this looks very helpful. See below. > > Hugh Williams wrote: >> Mike, >> >> >> On 22/6/07 21:01, "Michael K. Bergman" <m...@mkbergman.com> wrote: >> >>> Hi All, >>> >>> The create and start directions for a Windows instance of Virtuoso work >>> fine for a virgin install, per >>> http://virtuoso.openlinksw.com/wiki/main/Main/VOSUsageWindows. >>> >>> However, if I have any problems that cause me to shut down my machine >>> (due to development), I find I can still see the service listed, but can >>> not start from Control Panel --> Services or manually at the command >>> line with any options I try. >> >> [Hugh] What do you mean by problems cause you to shutdown your machine ie >> did the machine crash or is it gracefully shutdown and restarted ? The >> Virtuoso service creation process set the service to start "automatically" >> and thus it should be running by default after gracefully machine shutdown >> and restart. I can thus only assume that the machine or possibly the >> virtuoso server crashed leaving a "demo.lck" file in the "<Virtuoso dir>\ >> var\lib\virtuoso\demo" directory, which would need to be manually removed >> before the server is started. Please check this directory to confirm if this >> is the case and if so remove the file and then attempt the restart. Also, if >> you check the "demo.log" file it should indicate the reason the server did >> not start. > > Great help! What I needed. BTW, is there no problem to remove the > "demo.lck" file? (I believe this file was present, but I have again > re-installed since.) > > No, things have hardly been graceful! I'm doing much in the background > because I am attempting to move the VSPX files out of WebDAV (and who > knows what else is needed?) for local file editing (per Mitko's > suggestions on this forum on 4/24-25). (Good hints, but kinda incomplete!) > > My use profile is therefore hardly standard. Rather than ending with > Virtuoso and ODS as is, I'm trying to start with ODS and then make major > mods (you know, learning anatomy by carving up cadavers!) > > I've done some crazy/stupid stuff with NetDrive, plus other > self-inflicted wounds that require *ungraceful* shutdowns. One in > particular is trying to "clone" ODS outside of WebDAV that gets things > very mixed up. > > (I know, don't try this at home, but the only way to get greater use of > ODS is for stubborn, but stupid, guinea pigs like me to break stuff in > every way possible! :) ) > > I'm kinda flying blind on this (keeping notes) and will likely need > major help come the beginning of the week. But, once started, I am > nothing if not stubborn! (and stupid! :) ) [Hugh] Keep posting to the VOS mailing lists and we'll be equally stubborn and keep responding to your post :) Have you been able to restart the server successfully by removing the demo.lck file ? BTW, the command I provided below for starting the server in foreground debug mode has a minor typo and should be: virtuoso-t -fd -c demo.ini Which you probably spotted ... Regards, Hugh > >> >> If you are still having problem then try starting the server with the >> following command from the var\lib\virtuoso\demo folder: >> >> virtuoso -fd -c demo.ini >> >> This will start the virtuoso server in foreground debug mode detailing the >> attempt to start the server and hopefully the reason for failure. >> >>> I use standard-type service commands (per Linux) as well as options like >>> listed here, but with virtuoso-t: >>> >>> http://docs.openlinksw.com/virtuoso/installwin32.html#CreatingDeletingServic >>> es >>> >>> And nothing seems to work. I end up having to re-install Virtuoso, >>> which is OK when developing, but not cool longer term. >> >> [Hugh] A reinstall is never required you simply need to check the virtuoso >> log file to determine the cause of the server failure to start as suggested >> above. >> >>> 1. Can someone document the open source Virtuoso service command >>> switches? (examples) >>> >>> virtuoso-t -I Demo -S create -c demo.ini >>> virtuoso-t -I Demo -S start >> >> [Hugh] If you run the command virtuoso-t -? this command will provide brief >> descriptions of the all options that can be passed to the server. >> >>> It would be helpful to have all switches documented, what applies to >>> open source, etc. >>> >>> 2. Can someone document proper steps and sequence for service re-starts >>> and the procedure for re-starts? >> >> [Hugh] As stated above their is nothing to document for restarting as the >> server should restart automatically. What seems to be require is a simple >> troubleshooting guide I would think ... > > Well, plus the items above; again, most helpful. > > Hugh, this is great! I will include in my running documentation. > > Thanks, Mike > >> >> We shall see about adding some more documentation to the VOS documentation >> detailing more start-up options and troubleshooting. >> >>> 3. Any thoughts as to why the service can not be restarted through the >>> Services control panel? >> >> [Hugh] See above ... >> >> >> Best Regards, >> Hugh Williams >> OpenLink Software >> >>> Thanks, Mike >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> _______________________________________________ >>> Virtuoso-users mailing list >>> Virtuoso-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users >>