I am using MarkLogic 9 and following the tutorial about SQL Datamodeling Guide ( https://docs.marklogic.com/guide/sql/intro ) Al pre conditions are met:
- Installing MarkLogic 9 on Cent Os (Done without errors )
- Create forests (Done without errors )
- Create databases (Done without errors )
- Insert data (Done without errors )
Until i reach to create a template view ( https://docs.marklogic.com/guide/sql/setup#id_14127 ) When i execute the statement in the query console i got the following error:
[1.0-ml] SVC-FILOPN: File open error: open '/MarkLogic/tde.xqy': No
such file or directory
Stack Trace
At line 2 column 0:
In xdmp:eval("xquery version "1.0-ml"; import module namespace ...", (), <options xmlns="xdmp:eval"><database>18182129315596444747</database>...</options>)
1. xquery version "1.0-ml";
2. import module namespace tde = "http://marklogic.com/xdmp/tde"
3. at "/MarkLogic/tde.xqy";
The files of MarkLogic are placed in the folder ./opt/MarkLogic and the directory has the folow
erik@marklogic-vm /opt/MarkLogic $ ls -l
total 460
drwxr-xr-x 5 root root 53248 Apr 14 19:40 Admin
drwxr-xr-x 15 root root 4096 Apr 14 19:40 Apps
drwxr-xr-x 4 root root 4096 Apr 14 19:40 Assets
drwxr-xr-x 2 root root 4096 Apr 14 19:40 bin
drwxr-xr-x 3 root root 20480 Apr 14 19:40 Config
drwxr-xr-x 5 root root 4096 Apr 14 19:40 Converters
drwxr-xr-x 2 root root 4096 Apr 14 19:40 Docs
drwxr-xr-x 3 root root 4096 Apr 14 19:40 FlexRep
-rw-r--r-- 1 root root 35147 Apr 11 09:08 GPL.txt
drwxr-xr-x 2 root root 4096 Apr 14 19:40 HealthCheck
drwxr-xr-x 2 root root 4096 Apr 14 19:40 include
drwxr-xr-x 12 root root 4096 Apr 14 19:40 Installer
drwxr-xr-x 3 root root 4096 Apr 14 19:40 java
drwxr-xr-x 2 root root 12288 Apr 14 19:40 Lang
-rw-r--r-- 1 root root 250564 Apr 11 09:08 LEGALNOTICES.txt
-rw-r--r-- 1 root root 18416 Apr 11 09:08 LGPL21.txt
-rw-r--r-- 1 root root 7639 Apr 11 09:08 LGPL30.txt
drwxr-xr-x 2 root root 4096 Apr 14 19:40 lib
drwxr-xr-x 2 root root 4096 Apr 14 19:40 Messages
drwxr-xr-x 7 root root 4096 Apr 14 19:40 mlcmd
drwxr-xr-x 3 root root 4096 Apr 14 19:40 Modules
drwxr-xr-x 2 root root 4096 Apr 11 09:58 Plugins
drwxr-xr-x 8 root root 4096 Apr 14 19:40 Samples
Have you any idea what goes wrong ?
Manny thanks
Erik
'/MarkLogic/tde.xqy'(at least it can not be read be ML). This is what the error message is already telling you. I am not sure how we can elaborate here... - dirkk