Well first of all, I am the administrator :-) And secondly, telnet works
everywhere but on the port the bearerbox programm is listening - so I think
it's probably a bearerbox problem :-)


Nikos Balkanas <nbalka...@gmail.com> wrote on 23.09.2009 12:20:05:

> Nikos Balkanas <nbalka...@gmail.com>
> 23.09.2009 12:20
>
> An
>
> Howard Allison <howard.alli...@pva.sozvers.at>
>
> Kopie
>
> us...@vm1.kannel.org
>
> Thema
>
> Re: Re: Re: Re: Re: smsbox on AIX 6.1 fails with fd 28 error
>
> Well, you certainly have a socket problem. First you have to make
> telnet from the shell to work, before you can connect smsbox to
> bearerbox. This is not a kannel issue.
> Please get in touch with the system's administrator and try to resolve.
> BR,
> Nikos
>
> On Wed, Sep 23, 2009 at 1:16 PM, Howard Allison
<howard.alli...@pva.sozvers.at
> > wrote:
> Nope, no firewall, no tcp-wrapper...
> Howard
>
> Mit freundlichen Grüßen
> Howard ALLISON
>
>
> Nikos Balkanas <nbalka...@gmail.com> wrote on 23.09.2009 12:13:49:
>
>
> > Nikos Balkanas <nbalka...@gmail.com>
>
> > 23.09.2009 12:13
> >
> > An
>
> >
> > Howard Allison <howard.alli...@pva.sozvers.at>
> >
> > Kopie
> >
> > us...@vm1.kannel.org
> >
> > Thema
> >
> > Re: Re: Re: Re: smsbox on AIX 6.1 fails with fd 28 error
>
> >
> > Hi,
>
> > Do you have a firewall on the box? Are you using tcp-wrappers to run
> > bearerbox or smsbox?
> > Nikos
> >
> > On Wed, Sep 23, 2009 at 1:11 PM, Howard Allison <
> howard.alli...@pva.sozvers.at
> > > wrote:
> > Hi,
> > Same result, same fd - identical...
> > Howard
> >
> >
> > Hi,
> > Please comment out the box-deny-ip line from your core group and retry.
> > BR,
> > Nikos
> >
> > On Wed, Sep 23, 2009 at 1:03 PM, Howard Allison <
> howard.alli...@pva.sozvers.at
> > > wrote:
> > Trying...
> > Connected to 127.0.0.1.
> > Escape character is '^]'.
> > Connection closed
> >
> >
> >
> > What output did you get in the shell?
> > Nikos
> >
> > On Wed, Sep 23, 2009 at 12:55 PM, Howard Allison <
> > howard.alli...@pva.sozvers.at> wrote:
> > >>On Wed, Sep 23, 2009 at 11:01 AM, Howard Allison <
> > howard.alli...@pva.sozvers.at> wrote:
> > >>Hi, I've compiled kannel on AIX 6.1, the bearerbox starts fine,
> > but when I start the smsbox I get the following lines in the
> bearerbox debug:
> > >>2009-09-23 09:52:05 [405684] [5] INFO: Client connected from
<127.0.0.1>
> > >>2009-09-23 09:52:05 [405684] [5] DEBUG: Started thread 9 (gw/
> > bb_boxc.c:function)
> > >>2009-09-23 09:52:05 [405684] [9] DEBUG: Thread 9 (gw/
> > bb_boxc.c:function) maps to pid 405684.
> > >>2009-09-23 09:52:05 [405684] [9] DEBUG: Started thread 10 (gw/
> > bb_boxc.c:boxc_sender)
> > >>2009-09-23 09:52:05 [405684] [9] ERROR: Error reading from fd 28:
> > >>>>2009-09-23 09:52:05 [405684] [9] INFO: Read error when reading
> > from box <127.0.0.1>, disconnecting
> > >>2009-09-23 09:52:05 [405684] [10] DEBUG: Thread 10 (gw/
> > bb_boxc.c:boxc_sender) maps to pid 405684.
> > >>2009-09-23 09:52:05 [405684] [10] DEBUG: Thread 10 (gw/
> > bb_boxc.c:boxc_sender) terminates.
> > >>2009-09-23 09:52:05 [405684] [9] DEBUG: Thread 9 (gw/
> > bb_boxc.c:function) terminates.
> >
> > >>and in the smsbox debug:
> >
> > >>2009-09-23 09:54:20 [409822] [0] INFO: Connected to bearerbox at
> > 127.0.0.1 port 13001.
> > >>>>2009-09-23 09:54:20 [409822] [0] DEBUG: Started thread 7 (gw/
> > heartbeat.c:heartbeat_thread)
> > >>2009-09-23 09:54:20 [409822] [1] DEBUG: Thread 1 (gwlib/
> > fdset.c:poller) maps to pid 409822.
> > >>2009-09-23 09:54:20 [409822] [2] DEBUG: Thread 2 (gwlib/
> > http.c:server_thread) maps to pid 409822.
> > >>2009-09-23 09:54:20 [409822] [3] DEBUG: Thread 3 (gw/
> > smsbox.c:sendsms_thread) maps to pid 409822.
> > >>2009-09-23 09:54:20 [409822] [4] DEBUG: Thread 4 (gw/
> > smsbox.c:obey_request_thread) maps to pid 409822.
> > >>2009-09-23 09:54:20 [409822] [5] DEBUG: Thread 5 (gw/
> > smsbox.c:url_result_thread) maps to pid 409822.
> > >>2009-09-23 09:54:20 [409822] [6] DEBUG: Thread 6 (gw/
> > smsbox.c:http_queue_thread) maps to pid 409822.
> > >>2009-09-23 09:54:20 [409822] [7] DEBUG: Thread 7 (gw/
> > heartbeat.c:heartbeat_thread) maps to pid 409822.
> > >>2009-09-23 09:54:20 [409822] [0] ERROR: Connection closed by
thebearerbox.
> > >>2009-09-23 09:54:20 [409822] [0] INFO: Received (and handled?) 0
> > requests in 0 seconds (NaNQ per second)
> > >>2009-09-23 09:54:20 [409822] [0] INFO: Kannel smsbox terminating
> >
> > >>any ideas what I should be looking at to solve the problem?
> > >>I've tried the daily and the stable 1.4.3 releases..
> > >>Thanks in advance
> > >Hi,
> > >1) With bearerbox up try from shell:
> > >telnet 127.0.0.1 13001
> > >Post connection attempt from bb logs
> > >2) Post configuration file.
> > >BR,
> > >Nikos
> > Gladly :-)
> >
> > Here's the bb log:
> > 2009-09-23 11:51:17 [430228] [5] INFO: Client connected from
<127.0.0.1>
> > 2009-09-23 11:51:17 [430228] [5] DEBUG: Started thread 9 (gw/
> > bb_boxc.c:function)
> > 2009-09-23 11:51:17 [430228] [9] DEBUG: Thread 9 (gw/
> > bb_boxc.c:function) maps to pid 430228.
> > 2009-09-23 11:51:17 [430228] [9] DEBUG: Started thread 10 (gw/
> > bb_boxc.c:boxc_sender)
> > 2009-09-23 11:51:17 [430228] [9] ERROR: Error reading from fd 28:
> > 2009-09-23 11:51:17 [430228] [9] INFO: Read error when reading from
> > box <127.0.0.1>, disconnecting
> > 2009-09-23 11:51:17 [430228] [10] DEBUG: Thread 10 (gw/
> > bb_boxc.c:boxc_sender) maps to pid 430228.
> > 2009-09-23 11:51:17 [430228] [10] DEBUG: Thread 10 (gw/
> > bb_boxc.c:boxc_sender) terminates.
> > 2009-09-23 11:51:17 [430228] [9] DEBUG: Thread 9 (gw/
> > bb_boxc.c:function) terminates.
> >
> > and here's the config:
> > group = core
> > admin-port = 13000
> > smsbox-port = 13001
> > admin-password = bar
> > log-file = "/app/kannel/log/kannel.log"
> > log-level = 0
> > access-log = "/app/kannel/log/kannel_access.log"
> > box-deny-ip = "*.*.*.*"
> > box-allow-ip = "127.0.0.1"
> > unified-prefix = "0043,0"
> > store-file = "/app/kannel/log/kannel.store"
> >
> >
> > # SMSC GSM
> > group = smsc
> > smsc = at
> > modemtype = auto
> > speed = 19200
> > device = /dev/tty0
> > pin = REMOVED
> > validityperiod = 167
> > sim-buffering = true
> > connect-allow-ip = 127.0.0.1
> >
> > group = smsbox
> > bearerbox-host = 127.0.0.1
> > sendsms-port = 13013
> > sendsms-chars = "0123456789 +-"
> > global-sender = REMOVED
> > log-file = "/app/kannel/log/smsbox.log"
> > log-level = 0
> > access-log = "/app/kannel/log/smsbox_access.log"
> >
> >
> > # SEND-SMS USERS
> >
> > group = sendsms-user
> > username = tester
> > password = foobar
> >
> >
> >
> > # SMS SERVICE Default
> > # there should be default always
> > group = sms-service
> > keyword = default
> > text = "No service specified"
> >
> > group = modems
> > id = siemens_m20
> > name = "Siemens M20"
> > detect-string2 = "M20"
> > speed = 19200
> > enable-hwhs = "AT+IFC=2,2"
> > keepalive-cmd = "AT+CBC;+CSQ"
> > need-sleep = true
> >
> > Thanks!
> >
> >
> > --------------------------
> > VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
> > bestimmt, an
> > den sie adressiert ist und kann vertrauliche Informationen
> > enthalten. Falls Sie nicht
> > der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass
die
> > unberechtigte Weitergabe oder Verwendung sowie das unberechtigte
> > Verteilen oder
> > Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese
> > Nachricht irrtümlich
> > erhalten haben, vernichten Sie sie bitte sofort.
> >
> > CONFIDENTIALITY: This message is intended only for the use of the
> > individuality or
> > entity to which it is addressed and may contain information that is
> > privileged,
> > confidential and exempt from disclosure. If you are not the intended
> > recipient you are
> > notified that any dissemination, distribution, use or copying of
> > this communication is
> > strictly prohibited. If you received this message in error, please
> > immediately destroy
> > this message.
> > --------------------------
>
> --------------------------
> VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
> bestimmt, an
> den sie adressiert ist und kann vertrauliche Informationen
> enthalten. Falls Sie nicht
> der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die
> unberechtigte Weitergabe oder Verwendung sowie das unberechtigte
> Verteilen oder
> Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese
> Nachricht irrtümlich
> erhalten haben, vernichten Sie sie bitte sofort.
>
> CONFIDENTIALITY: This message is intended only for the use of the
> individuality or
> entity to which it is addressed and may contain information that is
> privileged,
> confidential and exempt from disclosure. If you are not the intended
> recipient you are
> notified that any dissemination, distribution, use or copying of
> this communication is
> strictly prohibited. If you received this message in error, please
> immediately destroy
> this message.
> --------------------------

--------------------------
VERTRAULICHKEIT: Diese Nachricht ist ausschließlich für denjenigen
bestimmt, an
den sie adressiert ist und kann vertrauliche Informationen enthalten. Falls
Sie nicht
der Empfänger dieser Nachricht sind, weisen wir Sie darauf hin, dass die
unberechtigte Weitergabe oder Verwendung sowie das unberechtigte Verteilen
oder
Kopieren dieser Nachricht strikt untersagt sind. Falls Sie diese Nachricht
irrtümlich
erhalten haben, vernichten Sie sie bitte sofort.

CONFIDENTIALITY: This message is intended only for the use of the
individuality or
entity to which it is addressed and may contain information that is
privileged,
confidential and exempt from disclosure. If you are not the intended
recipient you are
notified that any dissemination, distribution, use or copying of this
communication is
strictly prohibited. If you received this message in error, please
immediately destroy
this message.
--------------------------

Reply via email to