root 2936 2039 0 19:28 pts/1 00:00:00 grep virtuoso can i kill it ??? i wanna kill it :-)
________________________________________ From: Hugh Williams [[email protected]] Sent: Saturday, March 23, 2013 6:17 PM To: Purohit, Sumit Cc: [email protected] Subject: Re: [Virtuoso-users] Unable to connect to virtuoso : Connect failed to localhost:1111 Hi Sumit, What does the output of the running the following command to see it there is a virtuoso server process already running return: ps -ef | grep virtuoso The the presence of the virtuoso.lck or if the databases is already in use is what the server uses to determine if an instance is already running. In this case it looks as if there is a server already running with a pid of 0 which is strange as that should be the pid for the swapper process ... Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 23 Mar 2013, at 22:29, "Purohit, Sumit" <[email protected]<mailto:[email protected]>> wrote: [root@rdesc db]# /usr/local/virtuoso-opensource/bin/virtuoso-t -f -c /usr/local/virtuoso-opensource/bin/virtuoso.ini Sat Mar 23 2013 15:29:15 { Loading plugin 1: Type `plain', file `wikiv' in `/usr/local/virtuoso-opensource/lib/virtuoso/hosting' 15:29:15 WikiV version 0.6 from OpenLink Software 15:29:15 Support functions for WikiV collaboration tool 15:29:15 SUCCESS plugin 1: loaded from /usr/local/virtuoso-opensource/lib/virtuoso/hosting/wikiv.so } 15:29:15 { Loading plugin 2: Type `plain', file `mediawiki' in `/usr/local/virtuoso-opensource/lib/virtuoso/hosting' 15:29:15 MediaWiki version 0.1 from OpenLink Software 15:29:15 Support functions for MediaWiki collaboration tool 15:29:15 SUCCESS plugin 2: loaded from /usr/local/virtuoso-opensource/lib/virtuoso/hosting/mediawiki.so } 15:29:15 { Loading plugin 3: Type `plain', file `creolewiki' in `/usr/local/virtuoso-opensource/lib/virtuoso/hosting' 15:29:15 CreoleWiki version 0.1 from OpenLink Software 15:29:15 Support functions for CreoleWiki collaboration tool 15:29:15 SUCCESS plugin 3: loaded from /usr/local/virtuoso-opensource/lib/virtuoso/hosting/creolewiki.so } 15:29:15 OpenLink Virtuoso Universal Server 15:29:15 Version 06.01.3127-pthreads for Linux as of Mar 5 2013 15:29:15 uses parts of OpenSSL, PCRE, Html Tidy 15:29:15 Virtuoso is already running (pid 0) 15:29:15 Server exiting [root@rdesc db]# pwd /projects/rdesc/virtuoso-opensource/var/lib/virtuoso/db [root@rdesc db]# How does virtuoso-t determine that an instance is already running ???? thanks sumit ________________________________________ From: Hugh Williams [[email protected]<mailto:[email protected]>] Sent: Saturday, March 23, 2013 3:29 PM To: Purohit, Sumit Cc: [email protected]<mailto:[email protected]> Subject: Re: [Virtuoso-users] Unable to connect to virtuoso : Connect failed to localhost:1111 Hi Sumit, Where ever your Virtuoso configuration file is use the "-c" param to specify its location when starting the server ie /usr/local/virtuoso-opensource/bin/virtuoso-t -f -c <full-path-to-config-file> Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 23 Mar 2013, at 22:00, "Purohit, Sumit" <[email protected]<mailto:[email protected]>> wrote: Before moving my virtuoso.ini file from this dir to “/usr/local/virtuoso-opensource/bin” I created a backup of it. I start virtuoso from “/usr/local/virtuoso-opensource/bin” and that’s why actual ini file is moved there. Am I doing it wrong way ? Thanks sumit From: Hugh Williams [mailto:[email protected]<http://openlinksw.com>] Sent: Saturday, March 23, 2013 2:58 PM To: Purohit, Sumit Cc: [email protected]<mailto:[email protected]> Subject: Re: [Virtuoso-users] Unable to connect to virtuoso : Connect failed to localhost:1111 Hi Sumit, Why is there a file called "virtuoso.ini.bkp" in the "db" directory as it should be called "virtuoso.ini" and is the default Virtuoso configuration file name the server cannot find, thus please rename and try again ... Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 23 Mar 2013, at 20:37, "Purohit, Sumit" <[email protected]<mailto:[email protected]>> wrote: When i removed .lck file, i manually restarted it. when in ran suggested command form where i have db directory i get : Sat Mar 23 2013 13:29:13 There is no configuration file virtuoso.ini because my ini file is not in the dir where .db file is. here is my configuration: .db/.log/.tmpdb file are here ( in configured it this way as my VM does not have disk to store huge data. this place is a mounted drive) /projects/rdesc/virtuoso-opensource/var/lib/virtuoso/db at present these are file under it -rw-------. 1 root rdesc 7146 Mar 14 15:12 virtuoso.ini.bkp -rw-------. 1 root rdesc 0 Mar 14 15:12 virtuoso.pxa drwx--S---. 4 root rdesc 41 Mar 14 15:13 .. -rw-r--r--. 1 root rdesc 2097152 Mar 21 18:24 virtuoso-temp.db -rw-------. 1 root rdesc 2457 Mar 22 14:14 virtuoso.trx -rw-------. 1 root rdesc 34093400064 Mar 22 14:17 virtuoso.db drwx--S---. 2 root rdesc 187 Mar 22 18:14 . -rw-------. 1 root rdesc 60528 Mar 22 18:14 virtuoso.log bin dir is /usr/local/virtuoso-opensource/bin lib is /usr/local/virtuoso-opensource/ thanks sumit ________________________________________ From: Hugh Williams [[email protected]<mailto:[email protected]>] Sent: Friday, March 22, 2013 8:25 PM To: Purohit, Sumit Cc: [email protected]<mailto:[email protected]> Subject: Re: [Virtuoso-users] Unable to connect to virtuoso : Connect failed to localhost:1111 Hi Sumit, You removed the "virtuoso.lck" and restarted Virtuoso how, by manually restarting yourself or rebooting the VM again ? If you are still having problems starting it then, what happens when you run the following command as root from the /usr/local/virtuoso-opensource/lib/virtuoso/db directory (or where the virtuoso.db file resides) to try and start it: /usr/local/virtuoso-opensource/bin/virtuoso-t -f Best Regards Hugh Williams Professional Services OpenLink Software, Inc. // http://www.openlinksw.com/ Weblog -- http://www.openlinksw.com/blogs/ LinkedIn -- http://www.linkedin.com/company/openlink-software/ Twitter -- http://twitter.com/OpenLink Google+ -- http://plus.google.com/100570109519069333827/ Facebook -- http://www.facebook.com/OpenLinkSoftware Universal Data Access, Integration, and Management Technology Providers On 23 Mar 2013, at 01:19, "Purohit, Sumit" <[email protected]<mailto:[email protected]><mailto:[email protected]>> wrote: Hi All, I have a virtuoso installed on my VM and i had to reboot it for some reason. But once i reboot it, i am not bole to connect to Virtuoso. when i restart it my log says : Fri Mar 22 2013 18:14:33 { Loading plugin 1: Type `plain', file `wikiv' in `/usr/local/virtuoso-opensource/lib/virtuoso/hosting' 18:14:33 WikiV version 0.6 from OpenLink Software 18:14:33 Support functions for WikiV collaboration tool 18:14:33 SUCCESS plugin 1: loaded from /usr/local/virtuoso-opensource/lib/virtuoso/hosting/wikiv.so } 18:14:33 { Loading plugin 2: Type `plain', file `mediawiki' in `/usr/local/virtuoso-opensource/lib/virtuoso/hosting' 18:14:33 MediaWiki version 0.1 from OpenLink Software 18:14:33 Support functions for MediaWiki collaboration tool 18:14:33 SUCCESS plugin 2: loaded from /usr/local/virtuoso-opensource/lib/virtuoso/hosting/mediawiki.so } 18:14:33 { Loading plugin 3: Type `plain', file `creolewiki' in `/usr/local/virtuoso-opensource/lib/virtuoso/hosting' 18:14:33 CreoleWiki version 0.1 from OpenLink Software 18:14:33 Support functions for CreoleWiki collaboration tool 18:14:33 SUCCESS plugin 3: loaded from /usr/local/virtuoso-opensource/lib/virtuoso/hosting/creolewiki.so } 18:14:33 OpenLink Virtuoso Universal Server 18:14:33 Version 06.01.3127-pthreads for Linux as of Mar 5 2013 18:14:33 uses parts of OpenSSL, PCRE, Html Tidy 18:14:33 Virtuoso is already running (pid 0) 18:14:33 Server exiting But if i try to access it using isql i get following error . OpenLink Interactive SQL (Virtuoso), version 0.9849b. Type HELP; for help and EXIT; to exit. SQL> tables; *** Error S2801: [Virtuoso Driver]CL033: Connect failed to localhost:1111 = localhost:1111. at line 1 of Top-Level: tables i don't see any "virtuoso-t" running when i use "top" command. It suggested me to delete "virtuoso.lck" file,which i did.But that did not work I appreciate any help. Sumit Purohit ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Virtuoso-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/virtuoso-users
