Hi everybody,

we setup a new rt 4.2.12 system and tried to follow the instructions for 
the native mysql full text search [1], but I failed always with the following 
command:

/opt/rt4/sbin/rt-fulltext-indexer 
        /opt/rt4/sbin/rt-fulltext-indexer is already running; aborting 
silently, as requested (/opt/rt4/sbin/rt-fulltext-indexer:93)

The code [2] does not work for our solaris [3]. It's because perl@solaris 
handle 'flock' in an unusual way [5] (you can ask google...)

So, after unsuccessfully trying to fix solaris/perl, 
we patched rt-fulltext-indexer [4]. Now the fulltext search works fine.

Maybe somebody will help this information in the future.

best regards
Danny



[1] 
https://www.bestpractical.com/docs/rt/4.2.12/full_text_indexing.html#Native-MySQL
[2] rt-fulltext-indexer:91 
        if ( !flock main::DATA, LOCK_EX | LOCK_NB ) {
[3] SunOS z-rt4app-a 5.11 11.2 sun4v sparc sun4v
[4] patch
        root@z-rt4app-a: # diff rt-fulltext-indexer.org.20151202 
rt-fulltext-indexer
        91c91,93
        < if ( !flock main::DATA, LOCK_EX | LOCK_NB ) {
        ---
        > open SELF, "+> /tmp/rt-fulltext-indexer.lock" or die ;
        > unless (flock SELF,  LOCK_EX | LOCK_NB) {
        > #if ( !flock main::DATA, LOCK_EX | LOCK_NB ) {

[5]     http://www.perlmonks.org/bare/?node_id=256020 
        http://www.nntp.perl.org/group/perl.perl5.porters/2006/01/msg108851.html

best regards
Danny





Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to