Author: Dmitriy Kulikov Email: Message: 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 console. ---------- #!/bin/sh echo Content-Type: text/plain echo /usr/local/bin/search.cgi navigator 2>&1 ---------- 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 %request 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 Proxy-Authorization: d05a8777e173c2b13a81d919589dd9b2b9bf9911f681b2c82b1d3c9db748cfb33b300d2021dac648 Connection: keep-alive %response When I try to use the search, the log contains this: ---------- %% [Fri May 27 18:54:07 2016] GET /cgi-bin/search.cgi?ul=http://www.***/&q=%EA%EE%EC%EF%E0%ED%E8%FF&ps=10&wf=2221&m=all&np=0&sy=1&sp=1&wm=wrd HTTP/1.1 %% 500 /data/sites/cgi-bin/search.cgi %request Host: www.*** Accept: */* %response 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 website. 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. ---------- #!/bin/sh /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? Reply: <http://www.mnogosearch.org/board/message.php?id=21774> _______________________________________________ General mailing list General@mnogosearch.org http://lists.mnogosearch.org/listinfo/general