List Info

Thread: search from diffrent web servers




search from diffrent web servers
user name
2007-12-24 09:04:32

We have 4 web servers and a google mini machine.

Google mini crawled all the documents on a web server (www3)
 Also
www1 www2 www4 www5 are our diffrent web servers  with the
same
content.

We make google only crawl www3 cause in our other web
servers the
content is the same.

We can successfully search documents  from www3 but it fails
when we
want to make search from our other web servers.

Does google mini allow to make search only from the web
server it
crawled?

Can I send search queries from other machines?

As I  told below code works only from the machine google
crawled and I
can not send search queries from other web servers?

my %params =
    (q      => $search,
     ie     => 'latin5',
     oe     => 'latin5',
     lr     => 'tr',
     inlang => 'tr',
     filter => 0,
     client => 'ok_frontend',
     access => 'p',
     output => 'xml',
     sort   => 'date:L:d1',
     num    => $rows,
     start  => $q->param('begin') || 0,
    );

  my $xml  =
LWP::Simple::get("192.168.1.1/search?".
                             
join('&',map("$_=$params{$_}",keys
%params))
                             ) || return;


 my $config = XMLin($xml);
  my $total = $config->->;


What can be the problem

Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Mini" group.
To post to this group, send email to Google-Minigooglegroups.com
To unsubscribe from this group, send email to
Google-Mini-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/Google-Mini
-~----------~----~----~----~------~----~------~--~---


Re: search from diffrent web servers
user name
2007-12-24 23:34:41
Hi,

The Mini doesn't care where search queries come from so that
is not
the issue. What kind of problem are you seeing? Are you
getting a
connectivity error? If so, the problem is likely in your
network that
would be preventing the request from getting from www1 to
the Mini. I
would look into that first. Another thing you could do would
be to do
a quick tcpdump (packet trace) from your webserver that does
not work
to investigate what is being passed back and forth.

Brian

On Dec 25, 12:04 am, aziz  sasmaz <aziz.sas...gmail.com> wrote:
> We have 4 web servers and a google mini machine.
>
> Google mini crawled all the documents on a web server
(www3)  Also
> www1 www2 www4 www5 are our diffrent web servers  with
the same
> content.
>
> We make google only crawl www3 cause in our other web
servers the
> content is the same.
>
> We can successfully search documents  from www3 but it
fails when we
> want to make search from our other web servers.
>
> Does google mini allow to make search only from the web
server it
> crawled?
>
> Can I send search queries from other machines?
>
> As I  told below code works only from the machine
google crawled and I
> can not send search queries from other web servers?
>
> my %params =
>     (q      => $search,
>      ie     => 'latin5',
>      oe     => 'latin5',
>      lr     => 'tr',
>      inlang => 'tr',
>      filter => 0,
>      client => 'ok_frontend',
>      access => 'p',
>      output => 'xml',
>      sort   => 'date:L:d1',
>      num    => $rows,
>      start  => $q->param('begin') || 0,
>     );
>
>   my $xml  =
LWP::Simple::get("192.168.1.1/search?".
>                              
join('&',map("$_=$params{$_}",keys
> %params))
>                              ) || return;
>
>  my $config = XMLin($xml);
>   my $total = $config->->;
>
> What can be the problem
>
> Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Mini" group.
To post to this group, send email to Google-Minigooglegroups.com
To unsubscribe from this group, send email to
Google-Mini-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/Google-Mini
-~----------~----~----~----~------~----~------~--~---


Re: search from diffrent web servers
user name
2007-12-25 06:43:34
Thank you for your answer. As you said I used tcpdump but
before that
I made a telnet connection on port 80 to google mini

[rootenterprise root]# telnet google 80
Trying 192.168.1.60...
telnet: connect to address 192.168.1.60: Connection refused

www1 www2 www3 www4 www5 are on the same switch. When I am
on www3
google mini accepts connections from www3. I can make
telnet
connection through port 80 if i try it from www3.  5 servers
are the
same. No iptables or other firewalls installed.

[rootenterprise root]# tcpdump -nne ip host 192.168.1.56
and
192.168.1.60

14:16:50.488261 00:0e:0c:08:a3:9c > 00:02:55:b7:06:bf,
ethertype IPv4
(0x0800), length 74: IP 192.168.1.56.46148 >
192.168.1.60.80: S
2682573306:2682573306(0) win 5840 <mss
1460,sackOK,timestamp
4150514386 0,nop,wscale 0>
14:16:50.488760 00:02:55:b7:06:bf > 00:0e:0c:08:a3:9c,
ethertype IPv4
(0x0800), length 60: IP 192.168.1.60.80 >
192.168.1.56.46148: R 0:0(0)
ack 2682573307 win 0

when I want to connect mini from www2, google sends R flag
without a
sequence number.. But from www3 tcpdump output seems okay i
can see
the S, P, F  flags.


why google mini acts like a firewall here.

Aziz



On Dec 25, 7:34 am, brian <brianj...gmail.com> wrote:
> Hi,
>
> The Mini doesn't care where search queries come from so
that is not
> the issue. What kind of problem are you seeing? Are you
getting a
> connectivity error? If so, the problem is likely in
your network that
> would be preventing the request from getting from www1
to the Mini. I
> would look into that first. Another thing you could do
would be to do
> a quick tcpdump (packet trace) from your webserver that
does not work
> to investigate what is being passed back and forth.
>
> Brian
>
> On Dec 25, 12:04 am, aziz  sasmaz <aziz.sas...gmail.com> wrote:
>
> > We have 4 web servers and a google mini machine.
>
> > Google mini crawled all the documents on a web
server (www3)  Also
> > www1 www2 www4 www5 are our diffrent web servers 
with the same
> > content.
>
> > We make google only crawl www3 cause in our other
web servers the
> > content is the same.
>
> > We can successfully search documents  from www3
but it fails when we
> > want to make search from our other web servers.
>
> > Does google mini allow to make search only from
the web server it
> > crawled?
>
> > Can I send search queries from other machines?
>
> > As I  told below code works only from the machine
google crawled and I
> > can not send search queries from other web
servers?
>
> > my %params =
> >     (q      => $search,
> >      ie     => 'latin5',
> >      oe     => 'latin5',
> >      lr     => 'tr',
> >      inlang => 'tr',
> >      filter => 0,
> >      client => 'ok_frontend',
> >      access => 'p',
> >      output => 'xml',
> >      sort   => 'date:L:d1',
> >      num    => $rows,
> >      start  => $q->param('begin') || 0,
> >     );
>
> >   my $xml  =
LWP::Simple::get("192.168.1.1/search?".
> >                              
join('&',map("$_=$params{$_}",keys
> > %params))
> >                              ) || return;
>
> >  my $config = XMLin($xml);
> >   my $total = $config->->;
>
> > What can be the problem
>
> > Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Mini" group.
To post to this group, send email to Google-Minigooglegroups.com
To unsubscribe from this group, send email to
Google-Mini-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/Google-Mini
-~----------~----~----~----~------~----~------~--~---


Re: search from diffrent web servers
user name
2007-12-27 09:37:11
Explain a bit more extensive the situation and the network
architecture.
Try to access Google Mini server from another PC attached at
the
switch.
Try to access Google Mini server from a network pc.

On 25 Äåê, 14:43, aziz  sasmaz <aziz.sas...gmail.com> wrote:
> Thank you for your answer. As you said I used tcpdump
but before that
> I made a telnet connection on port 80 to google mini
>
> [rootenterprise root]# telnet google 80
> Trying 192.168.1.60...
> telnet: connect to address 192.168.1.60: Connection
refused
>
> www1 www2 www3 www4 www5 are on the same switch. When I
am on www3
> google mini accepts connections from www3. I can make
telnet
> connection through port 80 if i try it from www3.  5
servers are the
> same. No iptables or other firewalls installed.
>
> [rootenterprise root]# tcpdump -nne ip host 192.168.1.56
and
> 192.168.1.60
>
> 14:16:50.488261 00:0e:0c:08:a3:9c >
00:02:55:b7:06:bf, ethertype IPv4
> (0x0800), length 74: IP 192.168.1.56.46148 >
192.168.1.60.80: S
> 2682573306:2682573306(0) win 5840 <mss
1460,sackOK,timestamp
> 4150514386 0,nop,wscale 0>
> 14:16:50.488760 00:02:55:b7:06:bf >
00:0e:0c:08:a3:9c, ethertype IPv4
> (0x0800), length 60: IP 192.168.1.60.80 >
192.168.1.56.46148: R 0:0(0)
> ack 2682573307 win 0
>
> when I want to connect mini from www2, google sends R
flag without a
> sequence number.. But from www3 tcpdump output seems
okay i can see
> the S, P, F  flags.
>
> why google mini acts like a firewall here.
>
> Aziz
>
> On Dec 25, 7:34 am, brian <brianj...gmail.com> wrote:
>
>
>
> > Hi,
>
> > The Mini doesn't care where search queries come
from so that is not
> > the issue. What kind of problem are you seeing?
Are you getting a
> > connectivity error? If so, the problem is likely
in your network that
> > would be preventing the request from getting from
www1 to the Mini. I
> > would look into that first. Another thing you
could do would be to do
> > a quick tcpdump (packet trace) from your webserver
that does not work
> > to investigate what is being passed back and
forth.
>
> > Brian
>
> > On Dec 25, 12:04 am, aziz  sasmaz
<aziz.sas...gmail.com> wrote:
>
> > > We have 4 web servers and a google mini
machine.
>
> > > Google mini crawled all the documents on a
web server (www3)  Also
> > > www1 www2 www4 www5 are our diffrent web
servers  with the same
> > > content.
>
> > > We make google only crawl www3 cause in our
other web servers the
> > > content is the same.
>
> > > We can successfully search documents  from
www3 but it fails when we
> > > want to make search from our other web
servers.
>
> > > Does google mini allow to make search only
from the web server it
> > > crawled?
>
> > > Can I send search queries from other
machines?
>
> > > As I  told below code works only from the
machine google crawled and I
> > > can not send search queries from other web
servers?
>
> > > my %params =
> > >     (q      => $search,
> > >      ie     => 'latin5',
> > >      oe     => 'latin5',
> > >      lr     => 'tr',
> > >      inlang => 'tr',
> > >      filter => 0,
> > >      client => 'ok_frontend',
> > >      access => 'p',
> > >      output => 'xml',
> > >      sort   => 'date:L:d1',
> > >      num    => $rows,
> > >      start  => $q->param('begin') ||
0,
> > >     );
>
> > >   my $xml  =
LWP::Simple::get("192.168.1.1/search?".
> > >                              
join('&',map("$_=$params{$_}",keys
> > > %params))
> > >                              ) || return;
>
> > >  my $config = XMLin($xml);
> > >   my $total = $config->->;
>
> > > What can be the problem
>
> > > Thank you- Áðüêñõøç êåéìÝíïõ óå ðáñÜèåóç -
>
> - ÅìöÜíéóç êåéìÝíïõ óå ðáñÜèåóç -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Mini" group.
To post to this group, send email to Google-Minigooglegroups.com
To unsubscribe from this group, send email to
Google-Mini-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/Google-Mini
-~----------~----~----~----~------~----~------~--~---


Re: search from diffrent web servers
user name
2007-12-28 00:06:49
As I mentioned, the Mini does not have any knowledge and
does not care
where search queries are coming from. It does not have any
firewall or
other type of traffic blocking mechanism. This functionality
simply
does not exist.

That said, there must be something blocking it in your
network. Are
you able to ping the mini from these servers? What about
trying to
connect to port 443. Or port 7800? port 9941? It would be
good to
perhaps move some things around to narrow down the cause of
this.

Let us know how it goes.

Brian

On Dec 25, 9:43 pm, aziz  sasmaz <aziz.sas...gmail.com> wrote:
> Thank you for your answer. As you said I used tcpdump
but before that
> I made a telnet connection on port 80 to google mini
>
> [rootenterprise root]# telnet google 80
> Trying 192.168.1.60...
> telnet: connect to address 192.168.1.60: Connection
refused
>
> www1 www2 www3 www4 www5 are on the same switch. When I
am on www3
> google mini accepts connections from www3. I can make
telnet
> connection through port 80 if i try it from www3.  5
servers are the
> same. No iptables or other firewalls installed.
>
> [rootenterprise root]# tcpdump -nne ip host 192.168.1.56
and
> 192.168.1.60
>
> 14:16:50.488261 00:0e:0c:08:a3:9c >
00:02:55:b7:06:bf, ethertype IPv4
> (0x0800), length 74: IP 192.168.1.56.46148 >
192.168.1.60.80: S
> 2682573306:2682573306(0) win 5840 <mss
1460,sackOK,timestamp
> 4150514386 0,nop,wscale 0>
> 14:16:50.488760 00:02:55:b7:06:bf >
00:0e:0c:08:a3:9c, ethertype IPv4
> (0x0800), length 60: IP 192.168.1.60.80 >
192.168.1.56.46148: R 0:0(0)
> ack 2682573307 win 0
>
> when I want to connect mini from www2, google sends R
flag without a
> sequence number.. But from www3 tcpdump output seems
okay i can see
> the S, P, F  flags.
>
> why google mini acts like a firewall here.
>
> Aziz
>
> On Dec 25, 7:34 am, brian <brianj...gmail.com> wrote:
>
> > Hi,
>
> > The Mini doesn't care where search queries come
from so that is not
> > the issue. What kind of problem are you seeing?
Are you getting a
> > connectivity error? If so, the problem is likely
in your network that
> > would be preventing the request from getting from
www1 to the Mini. I
> > would look into that first. Another thing you
could do would be to do
> > a quick tcpdump (packet trace) from your webserver
that does not work
> > to investigate what is being passed back and
forth.
>
> > Brian
>
> > On Dec 25, 12:04 am, aziz  sasmaz
<aziz.sas...gmail.com> wrote:
>
> > > We have 4 web servers and a google mini
machine.
>
> > > Google mini crawled all the documents on a
web server (www3)  Also
> > > www1 www2 www4 www5 are our diffrent web
servers  with the same
> > > content.
>
> > > We make google only crawl www3 cause in our
other web servers the
> > > content is the same.
>
> > > We can successfully search documents  from
www3 but it fails when we
> > > want to make search from our other web
servers.
>
> > > Does google mini allow to make search only
from the web server it
> > > crawled?
>
> > > Can I send search queries from other
machines?
>
> > > As I  told below code works only from the
machine google crawled and I
> > > can not send search queries from other web
servers?
>
> > > my %params =
> > >     (q      => $search,
> > >      ie     => 'latin5',
> > >      oe     => 'latin5',
> > >      lr     => 'tr',
> > >      inlang => 'tr',
> > >      filter => 0,
> > >      client => 'ok_frontend',
> > >      access => 'p',
> > >      output => 'xml',
> > >      sort   => 'date:L:d1',
> > >      num    => $rows,
> > >      start  => $q->param('begin') ||
0,
> > >     );
>
> > >   my $xml  =
LWP::Simple::get("192.168.1.1/search?".
> > >                              
join('&',map("$_=$params{$_}",keys
> > > %params))
> > >                              ) || return;
>
> > >  my $config = XMLin($xml);
> > >   my $total = $config->->;
>
> > > What can be the problem
>
> > > Thank you
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google Mini" group.
To post to this group, send email to Google-Minigooglegroups.com
To unsubscribe from this group, send email to
Google-Mini-unsubscribegooglegroups.com
For more options, visit this group at http://gro
ups.google.com/group/Google-Mini
-~----------~----~----~----~------~----~------~--~---


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )