Re: Kannel and FreeBSD
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Kannel Foundation |
| Message-ID | <[email protected]> |
Am 04.06.15 01:56, schrieb Danilo Baio: > Hello. > > Recently was updated the package Kannel on FreeBSD ports. > I am testing and it's working, but there are some messages on log like > these: > > After a send by ":13013/cgi-bin/sendsms" > > ==> /var/log/kannel/smsbox.log <== > 2015-05-18 09:57:56 [9014] [1] ERROR: Error reading from fd 26: > 2015-05-18 09:57:56 [9014] [1] ERROR: System error 54: Connection reset > by peer > 2015-05-18 09:57:56 [9014] [1] ERROR: Error reading from fd 27: > 2015-05-18 09:57:56 [9014] [1] ERROR: System error 54: Connection reset > by peer > > ==> /var/log/kannel/bearerbox.log <== > 2015-05-18 09:59:25 [9004] [1] ERROR: Error reading from fd 34: > 2015-05-18 09:59:25 [9004] [1] ERROR: System error 54: Connection reset > by peer > > > --------------------------------------------------------- > [Kannel /status] > > Kannel bearerbox version `1.4.4'. Build `May 18 2015 09:44:53', compiler > `4.8.4'. System FreeBSD, release 10.1-RELEASE-p9, version FreeBSD > 10.1-RELEASE-p9 #0: Tue Apr 7 01:09:46 UTC 2015 > [email protected]:/usr/obj/usr/src/sys/GENERIC, machine > amd64. Hostname XXXX.my.hostname, IP X.X.X.X. Libxml version 2.9.2. > Using OpenSSL 1.0.1l-freebsd 15 Jan 2015. Compiled with MySQL 5.5.43, > using MySQL 5.5.43. Using native malloc. > > Status: running, uptime 0d 0h 8m 10s > > WDP: received 0 (0 queued), sent 0 (0 queued) > > SMS: received 0 (0 queued), sent 3 (0 queued), store size -1 > SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.02,0.01,0.01) msg/sec > > DLR: received 0, sent 0 > DLR: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec > DLR: 0 queued, using mysql storage > > Box connections: > smsbox:XXXXsmsbox, IP 127.0.0.1 (0 queued), (on-line 0d 0h 8m 7s) > SMSC connections: > XXXXsmsc[XXXXsmsc] SMPP:smpp3.XXXX:8888/8888:XXXX:smpp (online > 489s, rcvd: sms 0 (0.00,0.00,0.00) / dlr 0 (0.00,0.00,0.00), sent: sms 3 > (0.02,0.01,0.01) / dlr 0 (0.00,0.00,0.00), failed 0, queued 0 msgs) > --------------------------------------------------------- > > This is my config file: > http://dbaio.bs2cloud.com.br/kannel/kannel.conf.txt > > Log files with debug: > http://dbaio.bs2cloud.com.br/kannel/bearerbox.log > http://dbaio.bs2cloud.com.br/kannel/smsbox.log > > > I know that Kannel is main developed on Linux Systems but FreeBSD is > also a good plataform and used by many of kannel users. > > If anyone else could have a try on this platform it will be great. Hi Danilo, we agree absolutely, since we claim to be POSIX.1 compliant, so do we officially support FreeBSD. There are numerious commercial grade deployments that run on FreeBSD AFAIK. The ERROR event log entries indicate an error while reading from the TCP socket connections that have been established. Classically this reflects an "hard disconnect" from the other side, where the peer simply shuts down the TCP connection in the middle of the protocol conversation. It would be good if you can provide any further details about the runtime conditions and if any of the boxes was "killed" manually hard (kill -9)? -- Best Regards, Stipe ------------------------------------------------------------------- Koelner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org -------------------------------------------------------------------