Nikos,
        I make important progress today.
        In fact, I should delete http-interface from wapkannel.conf. and at
the same time I should change the accessing url website on the nokia client,
legal urls such as http://m.google.cn/?dc=gbackstop. These urls must return
 WML web page and kannel wapgate must be limited by that? What's your
opinion?

boocheen

2009/12/21 陈波 <booch...@gmail.com>

> Coincidently , my wapgate server is named server1 and my notebook is named
> server2, this is my habit.
>  I still can ping server1 from local pc and other pc on local network.
> What's your more suggestions?
>   2009/12/20 Nikos Balkanas <n...@amdtelecom.net>
>
>>  Hi,
>>
>> I said <server1> not server1. That means use the output of:
>>
>> hostname
>>
>> in your /etc/hosts. Then ping <that name>.
>>
>> This has nothing to do with kannel, just with Linux administration and is
>> irrelevant to this group.
>>
>> Try again and repost.
>>
>> Nikos
>>
>>  ----- Original Message -----
>> *From:* 陈波 <booch...@gmail.com>
>> *To:* users@kannel.org
>>  *Sent:* Sunday, December 20, 2009 5:07 AM
>> *Subject:* Re: What's the final solution for Kannel's Error while
>> gw_gethostbyname occurs, I can't resolve it at all.
>>
>>  I modify my hosts file, then I run the command 'service network restart'
>> to ensure the validity of modification,Β now the hosts file isΒ as follows:
>> # Do not remove the following line, or various programs
>> # that require network functionality will fail.
>> 127.0.0.1 localhost.localdomain localhost
>> 192.168.11.8 server1
>> ::1 localhost6.localdomain6 localhost6
>> I still can ping server1 from local pc and other pc on local network.
>> However, bearerbox server still gives me the same log:
>> [r...@localhost ~]# /usr/local/kannel/gw/bearerbox -v 1
>> /usr/local/kannel/gw/wapkannel.conf
>> 2009-12-14 18:52:33 [10561] [0] INFO: Debug_lvl = 1, log_file = <none>,
>> log_lvl = 0
>> 2009-12-14 18:52:33 [10561] [0] WARNING: DLR: using default 'internal' for
>> storage type.
>> 2009-12-14 18:52:33 [10561] [0] INFO: DLR using storage type: internal
>> 2009-12-14 18:52:33 [10561] [0] INFO: HTTP: Opening server at port 13000.
>> 2009-12-14 18:52:33 [10561] [0] INFO: Adding interface *
>> 2009-12-14 18:52:33 [10561] [0] INFO:
>> ----------------------------------------
>> 2009-12-14 18:52:33 [10561] [0] INFO: Kannel bearerbox II version 1.4.3
>> starting
>> 2009-12-14 18:52:33 [10561] [0] INFO: MAIN: Start-up done, entering
>> mainloop
>> 2009-12-14 18:52:41 [10561] [9] INFO: Client connected from <192.168.11.8>
>>
>> Β
>>  wapkannelserver still gives me the same log, too:
>> [r...@localhost ~]# /usr/local/kannel/gw/wapbox -v 1
>> /usr/local/kannel/gw/wapkannel.conf
>> 2009-12-14 18:52:41 [10573] [0] INFO: Debug_lvl = 1, log_file = <none>,
>> log_lvl = 0
>> 2009-12-14 18:52:41 [10573] [0] INFO: Added logfile `/tmp/wapbox.log' with
>> level `1'.
>> 2009-12-14 18:52:41 [10573] [0] INFO: Starting to log to file
>> /tmp/wapbox.log level 1
>> 2009-12-14 18:52:41 [10573] [0] INFO: Logging accesses to
>> '/tmp/wapaccess.log'.
>> 2009-12-14 18:52:41 [10573] [0] INFO: Started access logfile
>> `/tmp/wapaccess.log'.
>> 2009-12-14 18:52:41 [10573] [0] INFO:
>> ------------------------------------------------------------
>> 2009-12-14 18:52:41 [10573] [0] INFO: Kannel wapbox version 1.4.3 starting
>> up.
>> 2009-12-14 18:52:41 [10573] [0] INFO: Connected to bearerbox at
>> 192.168.11.8 port 9200.
>> 2009-12-14 18:54:06 [10573] [6] INFO: Fetching URL <http://www.gmail.com>
>> for MSISDN <>, IP <192.168.11.1:59677>
>> 2009-12-14 18:54:06 [10573] [10] ERROR: Error while gw_gethostbyname
>> occurs.
>> 2009-12-14 18:54:06 [10573] [10] ERROR: System error 3: No such process
>> 2009-12-14 18:54:06 [10573] [10] ERROR: gethostbyname failed
>> 2009-12-14 18:54:06 [10573] [10] ERROR: error connecting to server `
>> www.gmail.com' at port `80'
>> 2009-12-14 18:54:06 [10573] [10] ERROR: Couldn't send request to <
>> http://www.gmail.com>
>> 2009-12-14 18:54:06 [10573] [7] ERROR: WSP: HTTP lookup failed, oops.
>> 2009-12-14 18:54:06 [10573] [7] WARNING: WSP: Content type <text/plain>
>> not supported by client, deleting body.
>>
>> what's your more suggestions?
>> Β
>>  2009/12/20 Nikos Balkanas <n...@amdtelecom.net>
>>
>>>  And don't forget to retry kannel and repost detailed logs.
>>>
>>>  ----- Original Message -----
>>> *From:* Nikos Balkanas <n...@amdtelecom.net>
>>>  *To:* ι™ˆζ³Ά <booch...@gmail.com> ; users@kannel.org
>>> *Sent:* Saturday, December 19, 2009 10:02 PM
>>> *Subject:* Re: What's the final solution for Kannel's Error while
>>> gw_gethostbyname occurs, I can't resolve it at all.
>>>
>>> Hi,
>>>  Β
>>> Don't use double entries in /etc/hosts. You shouldn't have localhost with
>>> 2 IP addresses. Use your hostname for the NIC address:
>>> Β
>>> 192.168.11.8Β Β Β  <server1>
>>> Β
>>> Then try pinging <server1>
>>> Β
>>> BR,
>>> Nikos
>>>
>>>  ----- Original Message -----
>>> *From:* ι™ˆζ³Ά <booch...@gmail.com>
>>> *To:* users@kannel.org
>>> *Sent:* Saturday, December 19, 2009 2:08 PM
>>> *Subject:* Re: What's the final solution for Kannel's Error while
>>> gw_gethostbyname occurs, I can't resolve it at all.
>>>
>>> Thank you, Nikos.
>>> I use centos 5.2. From a shell, I can ping 192.168.11.8, and I can ping
>>> 192.168.11.8 from other PC in local network,too.
>>> My hosts file is:
>>>  # Do not remove the following line, or various programs
>>> # that require network functionality will fail.
>>> 127.0.0.1Β localhost.localdomainΒ localhost
>>> 192.168.11.8Β localhost.localdomainΒ localhost
>>> ::1Β localhost6.localdomain6Β localhost6
>>>  What's your further suggestion?
>>>  2009/12/19 Nikos Balkanas <n...@amdtelecom.net>
>>>
>>>>  Hi,
>>>> Β
>>>>  You seem to have some issues with maillist etiquette. You shouldn't
>>>> spam, and when referencing an old problem please do not delete previous
>>>> messages. Otherwise all previous work has to be replicated.
>>>> Β
>>>>  From a shell, are you able to ping a server in your /etc/hosts file?
>>>> Β
>>>>  What linux/OS are you using?
>>>> Β
>>>> BR,
>>>> Nikos
>>>>
>>>>  ----- Original Message -----
>>>> *From:* Β³Ξ’Β²Β¨ <booch...@gmail.com>
>>>> *To:* users@kannel.org
>>>> *Sent:* Saturday, December 19, 2009 11:22 AM
>>>> *Subject:* What's the final solution for Kannel's Error while
>>>> gw_gethostbyname occurs, I can't resolve it at all.
>>>>
>>>> hi, friend.
>>>> Β Β Β  I met this problem one month ago. I post a papaer named 'Kannel
>>>> confuse me for two weeks, I need your help' to get help in this mailing 
>>>> list
>>>> two weeks ago. That time I got some advices fromΒ many freinds, but I can't
>>>> make any progress. Β My problem is described in this paper:
>>>> http://www.kannel.org/pipermail/users/2009-December/009367.html
>>>> Β Β Β Β I almost read all relatedΒ paperΒ in the internet by google.
>>>> Some people think this should be an old glibc bug in this url
>>>> http://www.opensubscriber.com/message/de...@kannel.org/1946877.html,
>>>> but I still failed after trying.
>>>> Β Β Β  I can't do anything but posting paper in this mailing list now.
>>>> Β Β Β  Thanks for any help.
>>>> Β
>>>> boocheen
>>>> 2009.12.19
>>>> Β
>>>> Β
>>>> Β
>>>> Β
>>>> Β
>>>> Β
>>>> Β
>>>>
>>>>
>>>
>>
>

Reply via email to