Cannot index after upgrade to ubuntu 11.11

25 views
Skip to first unread message

Fredrik Agert

unread,
Dec 18, 2011, 9:40:06 AM12/18/11
to DataparkSearch
Hi
I have updated to ubuntu 11.11 (64-bit). When I run indexer i get. I
am using dpsearch 4.53.

configure --with-mysql
cd src
make
./indexer -C

./indexer
indexer[17219]: {00} indexer from dpsearch-4.53-mysql started with '/
usr/local/dpsearch/etc/indexer.conf'
indexer[17219]: {01} URL: http://agert.homelinux.org/~mp3/
indexer[17219]: {01} bind() to 0.0.0.0 error 97 Address family not
supported by protocol
indexer[17219]: {01} Can't connect to host agert.homelinux.org:80
indexer[17219]: {01} URL: http://192.168.1.3/
indexer[17219]: {01} bind() to 0.0.0.0 error 97 Address family not
supported by protocol
indexer[17219]: {01} Can't connect to host 192.168.1.3:80
indexer[17219]: {01} URL: http://localhost/
indexer[17219]: {01} bind() to 0.0.0.0 error 97 Address family not
supported by protocol
indexer[17219]: {01} Can't connect to host localhost:80

It did however work with ubuntu 10.10. Is it anything i have forgotten
to install?


Maxim Zakharov

unread,
Dec 19, 2011, 2:38:54 AM12/19/11
to datapar...@googlegroups.com
Hi,

Do you have IPv4 support installed and running ?


Maxim.

--
http://www.dataparksearch.org/ - an open source search engine.

Fredrik Agert

unread,
Dec 19, 2011, 4:52:22 AM12/19/11
to DataparkSearch
IPv4 is default network for ubuntu 11.10 and it is up and running.

> --http://www.dataparksearch.org/- an open source search engine.

Fredrik Agert

unread,
Jan 12, 2012, 10:37:46 AM1/12/12
to DataparkSearch
In the source file proto.c i've added the following lines (in
open_host() 175-177,

   DpsSockOpt(Agent,net)  // <- last line before

   /* fredrik why is this needed ? */
   Agent->Flags.bind_addr.sin_family = AF_INET;
   /* fredrik why end? */

 if bind(net, (struct sockaddr *)&Agent->Flags.bind_addr, sizeof(Agent-
>Flags.bind_addr)) == -1) { // <- first line after

After my modification the indexer works again. I wonder why.

On Dec 19 2011, 10:52 am, Fredrik Agert <fredrik.ag...@gmail.com>
wrote:

Maxim Zakharov

unread,
Jan 19, 2012, 7:26:23 AM1/19/12
to datapar...@googlegroups.com
Hi,

Perhaps you have no Bind command specified in your indexer.conf file,
which cause such problem.
I committed a fix into SVN repository for this case.

Thank you for reporting,
Maxim.

--
http://www.dataparksearch.org/ - an open source search engine.

Reply all
Reply to author
Forward
0 new messages