OpenIotOrg / openiot

The Open Source Project for the Internet of Things
459 stars 189 forks source link

Error Virtuoso in OpenIoT #145

Open Jiasol opened 5 years ago

Jiasol commented 5 years ago

Help me please, I am using VDKv2 OpenIoT Release 0.6.1 Virtual Box Setup Guide for OpenIoT platform, but I have errors when execute the step:

`<./virtuoso_start.sh (wait for Virtuoso to start).

Starting OpenIoT Virtuoso Server Run virtuoso_shutdown.sh to stop the Virtuoso server openiot@openiot-vdk-v2:~/Desktop/scripts$ Wed Jul 24 2019 05:26:36 { Loading plugin 1: Type plain', filewikiv' in /media/openiot/virtuoso-opensource-7/lib/virtuoso/hosting' 05:26:36 FAILED plugin 1: Unable to locate file } 05:26:36 { Loading plugin 2: Typeplain', file mediawiki' in/media/openiot/virtuoso-opensource-7/lib/virtuoso/hosting' 05:26:36 FAILED plugin 2: Unable to locate file } 05:26:36 { Loading plugin 3: Type plain', filecreolewiki' in /media/openiot/virtuoso-opensource-7/lib/virtuoso/hosting' 05:26:36 FAILED plugin 3: Unable to locate file } 05:26:36 Unable to lock file /media/openiot/virtuoso-opensource-7/var/lib/virtuoso/db/virtuoso.lck (Resource temporarily unavailable). 05:26:36 Virtuoso is already runnning (pid 3143) 05:26:36 This probably means you either do not have permission to start 05:26:36 this server, or that virtuoso-t is already running. 05:26:36 If you are absolutely sure that this is not the case, please try 05:26:36 to remove the file /media/openiot/virtuoso-opensource-7/var/lib/virtuoso/db/virtuoso.lck >

I already tried deleting the .lck file, but the error weighed. Try using isql 1111 shutdown;

<openiot@openiot-vdk-v2:~/Desktop/scripts$ isql 1111 shutdown; [ISQL]ERROR: Could not SQLConnect openiot@openiot-vdk-v2:~/Desktop/scripts$ >

PLEASE HELP ME!!!!

TallTed commented 5 years ago

See also https://github.com/openlink/virtuoso-opensource/issues/862 ...

@Jiasol - Please use markdown tags (as I've applied to your posts in the other thread) to help make your updates more readable. This is especially important for the commandline copy-and-paste sections (where some characters are interpreted here as if they were markdown tags).

Jiasol commented 5 years ago

ok

TallTed commented 5 years ago

@Jiasol - the large log block should have a line of three backticks before, and another line of three backticks after, so it looks something like --

```
Starting OpenIoT Virtuoso Server
Run virtuoso_shutdown.sh to stop the Virtuoso server
...
05:26:36 If you are absolutely sure that this is not the case, please try 
05:26:36 to remove the file /media/openiot/virtuoso-opensource-7/var/lib/virtuoso/db/virtuoso.lck 
```

Then what we'll see in your post is --

Starting OpenIoT Virtuoso Server
Run virtuoso_shutdown.sh to stop the Virtuoso server
...
05:26:36 If you are absolutely sure that this is not the case, please try 
05:26:36 to remove the file /media/openiot/virtuoso-opensource-7/var/lib/virtuoso/db/virtuoso.lck