Author: Alexander Barkov
> I just tried unsuccessfully to install and configure the mnogosearch-3.4.1 on
> FreeBSD 10.3
> I lost a lot of time, because it turned out that "search.cgi" fundamentally
> does not work, and without any diagnostic information.
> I many times check it out by different ways. The search base is created
> successfully, but it is impossible to use it.
> There is no difference when building a program from the ports or from the
> archive on your website.
> The test script, recommended by you, gives an empty output when run in the
> echo Content-Type: text/plain
> /usr/local/bin/search.cgi navigator 2>&1
How does your search.htm look like?
It should start with a processing instruction, like this:
Make sure to recreate it from search.cgi-dist from the 3.4.x release.
A template from 3.3.x won't work.
> The cgi script log contains only:
> %% [Fri May 27 18:54:09 2016] GET /cgi-bin/test_search.cgi HTTP/1.1
> %% 500 /data/sites/cgi-bin/test_search.cgi
> Host: www.***
> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:46.0) Gecko/20100101 Firefox/46.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
> Accept-Encoding: gzip, deflate
> DNT: 1
> Cookie: user_city=1
> X-Compress: 1
> Connection: keep-alive
> When I try to use the search, the log contains this:
> %% [Fri May 27 18:54:07 2016] GET
> %% 500 /data/sites/cgi-bin/search.cgi
> Host: www.***
> Accept: */*
> Apache24 error log contains only:
> End of script output before headers: search.cgi
> I was forced to install and use the old version of the program from your
> Can You report the problem to the package maintainer of this FreeBSD port or
> I must to do this?
> Additional question.
> I noticed that the program hangs for a very long time without consuming
> system resources.
> When you start indexing, the system load is slightly increased, but it
> decreases rapidly to zero, although the indexing process lasts a long time.
> For example, I place a limit of indexing 10min, but the program runs about
> 12min, moreover, without consuming system resources.
> /usr/local/mnogosearch/sbin/indexer -l -Cw
> /usr/local/mnogosearch/etc/indexer.conf > /dev/null 2>&1
> /usr/local/mnogosearch/sbin/indexer -ob -v5 -N 1 -c 600
> /usr/local/mnogosearch/etc/indexer.conf 2> /var/log/mnogosearch.log
> /usr/local/mnogosearch/sbin/indexer -l --index
> What is the reason of this apparent anomaly?
Are you crawling some public site? Which URL does it get stuck on?
Can you please send mnogosearch.log to b...@mnogosearch.org?
General mailing list