Posted by: Allan Lee Mesina on Jan 08, 2009
Problem:
dekiwiki does not start with an error message:
The API is currently located at http://localhost:8081/deki.
Trying http://localhost/@api/deki ... failed (HTTP Status: 0)
Troubleshooting steps I performed:
#tail var/log/dekiwiki/dekiwiki.api.log
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
Tried all possible solution including reinstall until I got to the part when I needed to install trusted root certificates.
#su dekiwiki
sh-3.2$ mozroots --import --sync
wapi_shm_file_open: shared file [/var/www/.wapi/shared_data-projects.techgn.com-Linux.... open error: Permission denied
Native stacktrace:
/usr/bin/mono [0x817978f]
[0x444440]
/lib/i686/nosegneg/libc.so.6(abort+0x101) [0x13c901]
/lib/libglib-2.0.so.0(g_logv+0x4d2) [0x6bb0bc2]
/lib/libglib-2.0.so.0(g_log+0x29) [0x6bb0bf9]
/lib/libglib-2.0.so.0(g_assert_warning+0x76) [0x6bb0c76]
/usr/bin/mono [0x811ece3]
/usr/bin/mono [0x81106e2]
/usr/bin/mono(mono_once+0x96) [0x81199f6]
/usr/bin/mono [0x811041c]
/usr/bin/mono [0x811dace]
/usr/bin/mono [0x811deb9]
/usr/bin/mono [0x80d7757]
/usr/bin/mono(mono_runtime_init+0x26) [0x80de916]
/usr/bin/mono [0x813d273]
/usr/bin/mono(mono_main+0x423) [0x8058863]
/usr/bin/mono [0x8057f32]
/lib/i686/nosegneg/libc.so.6(__libc_start_main+0xdc) [0x127dec]
/usr/bin/mono [0x8057e51]
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
Something is wrong with that error. and.. I recognize that error. Also, permission Denied?
Lets check it out..
#cd /var/www/.wapi
#ls -al
-rw------- 1 dekiwiki apache 1277960 Dec 26 15:40 shared_data-localhost.localdomain.u.........
-rw-r--r-- 1 apache apache 1277960 Dec 7 10:14 shared_data-projects.xxxx.com-.u.........
-rw-r--r-- 1 apache apache 1277960 Nov 20 17:28 shared_data-tiger.xxxx.com.u.........
-rw------- 1 dekiwiki apache 3686404 Dec 26 15:40 shared_fileshare-localhost.local...0
-rw-r--r-- 1 apache apache 3686404 Dec 7 10:14 shared_fileshare-projects.xxxx.c..1-0
-rw-r--r-- 1 apache apache 3686404 Nov 20 17:28 shared_fileshare-tiger.xxxx.com-Li..11-0
#chmod 775 *
#su dekiwiki
sh-3.2$ mozroots --import --sync
Mozilla Roots Importer - version 1.9.1.0
Download and import trusted root certificates from Mozilla's LXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2007 Novell. BSD licensed.
Downloading from 'http://lxr.mozilla.org/seamonkey/sou...s/certdata.txt'...
Importing certificates into user store...
Import process completed.
sh-3.2$ exit
#service dekiwiki start
Starting MindTouch Deki API: mindtouch.host.exe.
visited my wiki site - It works!!!
Conclusion:
Permission to the .wapi directory was the main suspect. This post will be updated otherwise.




