Skip to content

Command ‘indexer’ not found

I have reinstalled sphinixsearch on Ubuntu 18.04 after some messing with maticore search. But now I can not run the indexes: But after reinstalling, the command does not run work either. However I can see that the service is runing: Interestingly the first time that installed sphinix (before removing it and i…

Race condition on pthread_kill()?

Linux manual for pthread_kill() has the following paragraph: POSIX.1-2008 recommends that if an implementation detects the use of a thread ID after the end of its lifetime, pthread_kill() should return the error ESRCH. The glibc implementation returns this error in the cases where an invalid thread ID can be …

grep -r –include not works but –exclude works

In bash, What’s the problem? Answer You are using curly braces incorrectly. The correct syntax would look like (Notice also the addition of the missing file name argument . at the end.) You can see what’s going wrong by putting an echo in front and examining what the shell expands the braces to.