[Monetdb-developers] gethostbyname() problem

Stefan Manegold Stefan.Manegold at cwi.nl
Tue Apr 17 16:11:15 CEST 2007


On Tue, Apr 17, 2007 at 04:00:19PM +0200, Jan Flokstra wrote:
[...]
> > 	MapiClient -lx -h <your-fully-qualified-host-name>
> >
> -bash-3.1$ MapiClient -h u007694.hum.uva.nl
> !ERROR mapi_reconnect: connect: Connection refused
> MAPI  = monetdb at u007694.hum.uva.nl:50000
> ACTION= mapi_reconnect
> ERROR = Setup connection failed
> -bash-3.1$                  
> 
> OK gethostbyname() now works. (It only fails now because I did not start the 
> mapi listener accepting connection from other machines then localhost. How 
> does this work, I use to do pfstart(true) but this now all automagically.)

	Mserver --set mapi_open=true
or
	perl -i -p -e 's|mapi_open=false|mapi_open=true|' <prefix>/etc/MonetDB.conf

Stefan

> So it looks as if this system is just badly configured.!

yes (see Niels' comment).

Stefan

> Jan.

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |




More information about the developers-list mailing list