Webboard: 3.2.5 searchd problem

2002-06-05 Thread nobody

Author: wolf
Email: 
Message:
When using the searchd daemon with 3.2.5 I get the following error message

#1044: Access denied for user: '@localhost' to database 'mnogosearch'

The entry in search.htm is

SearchdAddr localhost

searchd daemon is started at the machine

startin search.cgi from the command line results in this error:

An error occured!
#1049: Unknown database 'mnogosearch'

The Database definition in searchd.conf is:

DBAddr  mysql://xxx:xxx@localhost/udm5/?dbmode=cache
Limit t:tag:lim_tag
Limit c:cat:lim_cat

Maybe you can help

Thanks 

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: Error Message "#0"

2002-06-05 Thread Sergey Kartashoff

Hi!

a> But I have some trouble in understanding the php files which are provided by you.
a> For example, 
a> 1 Must all parameters be setted by order as showing in the init.php?
No. Order of parameters does not matter. Except ispell fearures.

a> 2 Why is the system error message "#0" after submitting the
a> search.php?
This problem needs more debugging. I have no information to anwer you.

-- 
Regards, Sergey aka gluke.

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Error Message "#0"

2002-06-05 Thread alexson




Hi,
 
I am developping the mnogosearch front-end with pHp. 

1. mnogosearch.inc.phtml
all the settings for mnogosearch 
will input in this file. such as dbaddr, dbmode
 
2. class_mnogosearch.phtml
this file will defind all the methods used by 
search.phtml such as 
init, showResult and so on
 
3. search_language.phtml(language can be subsitituded by different 
language, such as ru, eng, big5 and so on)
According to different language, the file will 
subsititude for the old search.htm
 
But I have some trouble in understanding the php 
files which are provided by you. 
For example, 
1 Must all parameters be setted by order 
as showing in the init.php?
2 Why is the system error message "#0" 
after submitting the search.php?
 
Can you help me out?
 
 
 


Re: report: successful mnogosearch 3.2.5 build on MacOSX 10.1.4 server; but PROBLEM when using with PHP-4.2.1

2002-06-05 Thread Sergey Kartashoff

Hi!

Thursday, June 6, 2002, 8:47:37 AM, you wrote:

RB> IMPORTANT! This message has been blind-carbon-copied to you. Do not 
RB> reply-to-all or forward it without the author's permission.
RB> hi all,

RB> fyi, i've successfully built mnogo on OSX Server 10.1.4.  if interested, 
RB> config details -- and a couple of hoops to jump thru -- can be found on my 
RB> site at http://homepage.mac.com/blakers

RB> unfortunately, a subsequent attempt to build php-4.2.1 "--with-mnogosearch" 
RB> (3.2.5) results in a failed make.  here's the tail .

We are working on this now.
I think updated mnogosearch extension for php and newest
mnogosearch versions will be available in several days.
I will post announce at the mnogosearch lists.

-- 
Regards, Sergey aka gluke.

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: Permissions

2002-06-05 Thread Alexander Barkov

Penny Rand wrote:
> Using search.php, if I change the permissions of search.htm to 600 (as
> recommended), search.php doesn't work. What am I missing?
> 


You also have to change it's onwer to user who is running httpd server.
Usually nobody:

chown nobody search.htm
chmod 600 search.htm




___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: Permissions

2002-06-05 Thread Sergey Kartashoff

Hi!

Wednesday, June 5, 2002, 9:26:56 PM, you wrote:

PR> Using search.php, if I change the permissions of search.htm to 600 (as
PR> recommended), search.php doesn't work. What am I missing?

check search.htm file owner. It shold be readable for user whuch
running web server.

-- 
Regards, Sergey aka gluke.

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Permissions

2002-06-05 Thread Penny Rand

Using search.php, if I change the permissions of search.htm to 600 (as
recommended), search.php doesn't work. What am I missing?

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: 3.2.5 indexing error

2002-06-05 Thread Roman Putyatin

Roman Putyatin wrote:
> 
> ./indexer
> [26637] SQL 0.00s: SELECT
> url,rec_id,docsize,status,hops,crc32,last_mod_time FROM url WHERE
> next_index_time<=:1   AND ROWNUM <=:2 ORDER BY seed FOR UPDATE
> [1] Error: 'Oracle - ORA-01008: not all variables bound!'
> 
> Solaris 2.6, mnogosearch 3.2.5, Oracle 8.1.7
> 

cachemode


roman
-- 
---
Press any key to continue or any other key to quit...
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




3.2.5 indexing error

2002-06-05 Thread Roman Putyatin

./indexer
[26637] SQL 0.00s: SELECT
url,rec_id,docsize,status,hops,crc32,last_mod_time FROM url WHERE
next_index_time<=:1   AND ROWNUM <=:2 ORDER BY seed FOR UPDATE 
[1] Error: 'Oracle - ORA-01008: not all variables bound!'


Solaris 2.6, mnogosearch 3.2.5, Oracle 8.1.7 



roman   
-- 
---
"General Protection Fault - Invalid user". Yes/No?
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Multiple Server/Tags with Realms - Configuration problem

2002-06-05 Thread Garvin Hicking

Hi!

I also posted this to the webboard, but since this board isn't that
frequented and my problem is somehow important (time issue) I am trying to
post to this list. Maybe one can also point me to a good documentation,
because what I've found concerning multitple Server/Tag configuration
doesn't cover very much.

I have to index a webpage containing 2 languages in where each of the
language-part has a restricted area, totalling four parts which have to be
searched seperatelly and additional 2 Tags where you can search
language-independently.

I want to do this with tags, so I just want to use something like:

--
Tag German_Normal
Server path http://www.server.com/index.html?lang=ger
Realm String NoMatch *language=en*
# SHOULD deny access to every link which contains the string "language=en",
so the Spider can't change to English pages.

Tag German_Restricted
Server path http://www.server.com/index.html?lang=ger
Server path http://www.server.com/login.html?lang=ger&user=robot&pass=spider
# Will login the spider and the redirect to index.html where it will gain
access to different, restricted areas and index those as well.
Realm String NoMatch *language=en*

Tag English_Normal
Server path http://www.server.com/index.html?lang=en
Realm String NoMatch *language=de*

Tag English_Restricted
Server path http://www.server.com/index.html?lang=en
Server path http://www.server.com/login.html?lang=en&user=robot&pass=spider
Realm String NoMatch *language=en*

Tag Normal
Server path http://www.server.com/index.html?lang=en
Server path http://www.server.com/index.html?lang=ger

Tag Restricted
Server path http://www.server.com/index.html?lang=en
Server path http://www.server.com/index.html?lang=ger
Server path http://www.server.com/login.html?lang=en&user=robot&pass=spider
Server path http://www.server.com/login.html?lang=ger&user=robot&pass=spider
--

The above does not work as expected. The "Realm String NoMatch
*language=en*" seems to have no effect on what Mnogosearch indexes. It will
just plain use the URLs with "language=xx". If I put in an
"Disallow"-Command, it works flawlessly with a single tag. As soon as two
tags come into play, the Disallow-Commands are added up and in the end, not
a single file gets indexed.

With the configuration seen above, all pages get indexed
language-independently, and the url.txt file looks like all files only
contain the first tag they appear in.

Am I using the Tag-Command in a wrong way? I currently use file-support for
not lagging the SQL-Server on the machine too much, would using SQL provide
different results?

Regards,
Garvin.

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: Disallow Indexing of particular files ?

2002-06-05 Thread nobody

Author: himanshu
Email: [EMAIL PROTECTED]
Message:
hi all,
wht i want is just the opposit of this.i am running a site for a news agancy.i want to 
index only the story pages and not the others (ie story.php?someid=123).i tried all 
the changes ni my indexer.conf but all in vain.

thx in advabce if anyone can help me.

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: remote url search

2002-06-05 Thread nobody

Author: Alex Barkov
Email: [EMAIL PROTECTED]
Message:
> I am looking for a search tool to search for text strings in the text of about 200 
>remote URLs. Direct searching (I tried perl with LWP) is too slow so I am considering 
>a search like mnogosearch to index the text in these URLs at night. I have a virtual 
>domain rather than my own server. 
> I have access to MySQL but I cannot create databases.
You can use any database you have access to. mnoGoSearch
doesn't require a separate database.

> I can only create new tables in my database. 
That's enough to start using mnogosearch.

> I have access to PHP 4.1.2. Assuming I can install mnogosearch, can > I just point 
>mnogosearch indexer to a page containing all the URLs 
> as links (URLs are currently in MySQL table)? 

Create mnogosearch database structure first.
Then you can run something like:
INSERT INTO url (url) SELECT your_field FROM your_table

> Is there any way to determine the database space requirements?

A document requires almost the same space in database as it size.

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: Results Group by Domain ?

2002-06-05 Thread nobody

Author: Alex Barkov
Email: [EMAIL PROTECTED]
Message:
> Hi !
> 
> I really want to group results by domain ... or limit to 1 different domain in same 
>page ...
> 
> Like this : 
>http://cote.azur.fr/motscle.htm?ps=10&q=vence&ps=20&m=bool&wm=wrd&wf=11&cat=
> 
> perhaps a dirty hack like a group by left(url,15) but where can I alter the sql 
>query in the php front end ? 
> 
> The only way today is to limit MaxHops to 0 or 1 ...
> Or to remove large website from the index to avoid spammed results.
> 

Unfortunately this is not implemented yes. But GROUP BY on left(url,15) will probably 
work on small number of document.
Latest versions of PHP frontend use libudmsearch, the same
library as search.cgi uses. So you need to hack library in order
to do this.

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re[2]: Webboard: Support

2002-06-05 Thread Mark Napartovich

Hello Mark,

thank you for your interest to our services!

Wednesday, June 5, 2002, you wrote:

MR> As I said in my post I am quite prepared to pay for support, however, the
MR> support options are not clear. The primary support option says that "Your
MR> e-mail will be dealt with a higher priority over free e-mail support users".
MR> What does this mean, 

MR> Q. Will every question get an answer? Because half of the free support
MR> questions do not.

Sure. They'll all get answered as soon as possible.

MR>  
MR> Q. Do paid support customers get a separate email address to post to?

Yes.

MR> All of my questions are either not covered in the docs, not explained fully
MR> or clearly in the docs, are possible bugs or are requests for advice based
MR> on experience.


MR> Thanks for your reply

MR> Mark Roebuck


MR> -Original Message-
MR> From:   Kreso [SMTP:[EMAIL PROTECTED]]
MR> Sent:   Wednesday, June 05, 2002 8:44 AM
MR> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
MR> Subject:Re: Webboard: Support


MR> I have posted cca 10 questions and have also received almost as much
MR> answers from qualified people. Expect answers on precisely posted
MR> questions which are helpful to other people as well. Don't expect
MR> answers on general questions which are answered in documentation.
MR> Also don't forget that email support is free and you are using
MR> open-source product. If you are willing to pay for the support,
MR> you have many options (see web site).

MR> cheers,
MR> Kresimir


MR> On Tue, Jun 04, 2002 at 07:28:57PM -, [EMAIL PROTECTED]
MR> wrote:
MR> > Author: Mark Roebuck
MR> > Email: [EMAIL PROTECTED]
MR> > Message:
MR> > Does anyone with detailed knowledge, developers or otherwise,
MR> actively support this product?
MR> > 
MR> > I have posted about 14 questions to this list, had one helpful
MR> reply, one request for more information but when information was provided no
MR> follow up. 
MR> > 
MR> > I am considering using this product on a commercial site and need
MR> support, if it costs money, so be it, but good support is as important as
MR> the product.
MR> > 
MR> > Could someone let me know what the situation is before I go any
MR> further with the software?
MR> > 
MR> > NOTE. I am not bitching about the software, It is the best I have
MR> tried so far, even if the documentation is a bit misleading at times.
MR> > 
MR> > Thanks
MR> > 
MR> > 
MR> > Reply: 
MR> > 
MR> > ___
MR> > If you want to unsubscribe send "unsubscribe general"
MR> > to [EMAIL PROTECTED]
MR> ___
MR> If you want to unsubscribe send "unsubscribe general"
MR> to [EMAIL PROTECTED]
MR> ___
MR> If you want to unsubscribe send "unsubscribe general"
MR> to [EMAIL PROTECTED]



Best regards,
 Markmailto:[EMAIL PROTECTED]
--
Mark A. Napartovich
Lavtech.com corp
http://www.mnogosearch.org/

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: Multiple TAGS containing multiple REALMs - doesn't work!

2002-06-05 Thread nobody

Author: Garvin Hicking
Email: [EMAIL PROTECTED]
Message:
Hi!

I have to index a webpage containing 2 languages in where each of the language-part 
has a restricted area, totalling four parts which have to be searched seperatelly and 
additional 2 Tags where you can search language-independently.

I want to do this with tags, so I just want to use something like:

--
Tag German_Normal
Server path http://www.server.com/index.html?lang=ger
Realm String NoMatch *language=en*
# SHOULD deny access to every link which contains the string "language=en", so the 
Spider can't change to English pages.

Tag German_Restricted
Server path http://www.server.com/index.html?lang=ger
Server path http://www.server.com/login.html?lang=ger&user=robot&pass=spider
# Will login the spider and the redirect to index.html where it will gain access to 
different, restricted areas and index those as well.
Realm String NoMatch *language=en*

Tag English_Normal
Server path http://www.server.com/index.html?lang=en
Realm String NoMatch *language=de*

Tag English_Restricted
Server path http://www.server.com/index.html?lang=en
Server path http://www.server.com/login.html?lang=en&user=robot&pass=spider
Realm String NoMatch *language=en*

Tag Normal
Server path http://www.server.com/index.html?lang=en
Server path http://www.server.com/index.html?lang=ger

Tag Restricted
Server path http://www.server.com/index.html?lang=en
Server path http://www.server.com/index.html?lang=ger
Server path http://www.server.com/login.html?lang=en&user=robot&pass=spider
Server path http://www.server.com/login.html?lang=ger&user=robot&pass=spider
--

The above does not work as expected. The "Realm String NoMatch *language=en*" seems to 
have no effect on what Mnogosearch indexes. It will just plain use the URLs with 
"language=xx". If I put in an "Disallow"-Command, it works flawlessly with a single 
tag. As soon as two tags come into play, the Disallow-Commands are added up and in the 
end, not a single file gets indexed.

With the configuration seen above, all pages get indexed language-independently, and 
the url.txt file looks like all files only contain the first tag they appear in.

Am I using the Tag-Command in a wrong way? I currently use file-support for not 
lagging the SQL-Server on the machine too much, would using SQL provide different 
results?

Thanks for *ANY* help!

Regards,
Garvin.

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: splitting store into many directiories

2002-06-05 Thread Maxime Zakharov

Hi,

To limit number of stored files, please, use StoredFiles command in your 
stored.conf
For example:
StoredFiles 256


Krzysztof Drewicz wrote:

> hi !
> 
> When my storage grew up to 1.2 GB and 2k files i've split it into 256
> directories, it speeds up i/o.
> Mayby this idea is simple c&p from squid, but it works for me:
> 
> --- /home/users/hunter/backup/stored.c~   Fri Nov  2 07:29:03 2001
> +++ src/stored.c  Sat Jun  1 09:15:37 2002
> @@ -193,8 +193,8 @@
>  closesocket(ns);
>   exit(0);
> }
> -   sprintf(Sfilename, "%s/store/%04x.s", store_dir, FileNo);
> -   sprintf(Ifilename, "%s/store/%04x.i", store_dir, FileNo);
> +   sprintf(Sfilename, "%s/store/%01x/%01x/%04x.s", store_dir, 
>FileNo>>12, (FileNo>>8)%16,  FileNo);
> +   sprintf(Ifilename, "%s/store/%01x/%01x/%04x.i", store_dir, 
>FileNo>>12,  (FileNo>>8)%16, FileNo);
> 
> if ((Ifd = fopen(Ifilename, "rb+")) == NULL) {
>   if ((Ifd = fopen(Ifilename, "wb+")) == NULL) {
> 
> 



-- 
Maxim Zakharovhttp://sochi.net.ru/~maxime/
  Sochi, Russia   http://www.sochi.com/


___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




RE: Webboard: Support

2002-06-05 Thread Mark Roebuck

As I said in my post I am quite prepared to pay for support, however, the
support options are not clear. The primary support option says that "Your
e-mail will be dealt with a higher priority over free e-mail support users".
What does this mean, 

Q. Will every question get an answer? Because half of the free support
questions do not. 
Q. Do paid support customers get a separate email address to post to?

All of my questions are either not covered in the docs, not explained fully
or clearly in the docs, are possible bugs or are requests for advice based
on experience.


Thanks for your reply

Mark Roebuck


-Original Message-
From:   Kreso [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, June 05, 2002 8:44 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:Re: Webboard: Support


I have posted cca 10 questions and have also received almost as much
answers from qualified people. Expect answers on precisely posted
questions which are helpful to other people as well. Don't expect
answers on general questions which are answered in documentation.
Also don't forget that email support is free and you are using
open-source product. If you are willing to pay for the support,
you have many options (see web site).

cheers,
Kresimir


On Tue, Jun 04, 2002 at 07:28:57PM -, [EMAIL PROTECTED]
wrote:
> Author: Mark Roebuck
> Email: [EMAIL PROTECTED]
> Message:
> Does anyone with detailed knowledge, developers or otherwise,
actively support this product?
> 
> I have posted about 14 questions to this list, had one helpful
reply, one request for more information but when information was provided no
follow up. 
> 
> I am considering using this product on a commercial site and need
support, if it costs money, so be it, but good support is as important as
the product.
> 
> Could someone let me know what the situation is before I go any
further with the software?
> 
> NOTE. I am not bitching about the software, It is the best I have
tried so far, even if the documentation is a bit misleading at times.
> 
> Thanks
> 
> 
> Reply: 
> 
> ___
> If you want to unsubscribe send "unsubscribe general"
> to [EMAIL PROTECTED]
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: Webboard: Support

2002-06-05 Thread Kreso


I have posted cca 10 questions and have also received almost as much
answers from qualified people. Expect answers on precisely posted
questions which are helpful to other people as well. Don't expect
answers on general questions which are answered in documentation.
Also don't forget that email support is free and you are using
open-source product. If you are willing to pay for the support,
you have many options (see web site).

cheers,
Kresimir


On Tue, Jun 04, 2002 at 07:28:57PM -, [EMAIL PROTECTED] wrote:
> Author: Mark Roebuck
> Email: [EMAIL PROTECTED]
> Message:
> Does anyone with detailed knowledge, developers or otherwise, actively support this 
>product?
> 
> I have posted about 14 questions to this list, had one helpful reply, one request 
>for more information but when information was provided no follow up. 
> 
> I am considering using this product on a commercial site and need support, if it 
>costs money, so be it, but good support is as important as the product.
> 
> Could someone let me know what the situation is before I go any further with the 
>software?
> 
> NOTE. I am not bitching about the software, It is the best I have tried so far, even 
>if the documentation is a bit misleading at times.
> 
> Thanks
> 
> 
> Reply: 
> 
> ___
> If you want to unsubscribe send "unsubscribe general"
> to [EMAIL PROTECTED]
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]