Forum OpenACS Q&A: Chat error

Collapse
Posted by xx xx on
I get this very repetitive.. error:
[05/Jul/2004:17:09:49][13818.40966][-conn:service0::2] Error: dns: gethostbyname failed: no valid IP address

This happens even if I access the server by IP address. So what is happening here? What IP address should it find? Should it find the internal IP address 192.168.... or the external IP address 81.171.. that the router listens on.

I thought editing /etc/hosts should do. True?

Is this the best Chat-version for postgresql?
- Chat (from file storage)
- Java (J2SE JRE from http://java.sun.com/j2se/1.4.2/download.html)
I'm running oacs5.1/postgresql 7.4. Chat from the repository doesn't work on postgresql.

Collapse
2: Re: Chat error (response to 1)
Posted by xx xx on
And how do I stop this <java defunct> process without restarting aolserver. It seems I cannot kill the PID.
Collapse
3: Re: Chat error (response to 1)
Posted by xx xx on
It happens when I try to enter a chat room. And, according to the log, just after the chat server tries to start:
[05/Jul/2004:12:57:51][11941.32773][-conn:service0::1] Notice: chat_start_server: Starting chat server
[05/Jul/2004:12:57:51][11941.32773][-conn:service0::1] Error: dns: gethostbyname failed: no valid IP address
[05/Jul/2004:12:57:51][11941.32773][-conn:service0::1] Error: dns: gethostbyname failed: no valid IP address
[05/Jul/2004:12:57:51][11941.32773][-conn:service0::1] Error: dns: gethostbyname failed: no valid IP address
Collapse
4: Re: Chat error (response to 1)
Posted by xx xx on
Found it. In my virtual server I commented out "ns_section ns/server/${server}/module/nssock" as decribed here.

But chat_start_server was trying to get the IP address like so, I think:
set path "ns/server/[ns_info server]/module/nssock"
set host_location "[ns_config $path Address]"

Nima, is there anymore news on your extended chat package?

Collapse
5: Re: Chat error (response to 3)
Posted by mohd wajid on
please solve