Re: beagles eating my /var filesystem



> brian pc:/usr/src/vpnc-0.5.1$ sudo su -s /bin/bash - beagleindex -c "/usr/sbin/beagle-manage-index /var/cache/beagle/indexes/documentation/ info"
>
> ** (/usr/lib/beagle/ManageIndex.exe:16502): CRITICAL **: _wapi_shm_file_open: shared file [/var/cache/beagle/.wapi/shared_data-pc-Linux-i686-312-11-0] open error: No such file or directory

Oh... forgot to mention, beagle (mono) requires a valid homedirectory
to run. The crawl scripts get around that by setting the environment
variable MONO_SHARED_DIR=/tmp/some/dir
So, create some temporary dir (can be deleted later, thats the the
beagle-crawl-system does), export the env variable and run again. If
su does not carry the env variables, set the variable in the -c
"MONO_SHARED_DIR=/tmp/... /usr/sbin/beagle-manage-index ..."

-- 
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]