Hi all,

  I'm trying to set up kannel in one of my debian machines.

  So far I can get smsbox running and sending SMS messages just fine, and have 
wapbox running (haven't performed more tests on that yet though), however, as 
soon as I spin up mmsbox, all my other boxes are taken down, regardless of the 
order that I spin them up in, and I start getting these errors

2012-12-06 17:38:55 [4458] [0] ERROR: connect failed
2012-12-06 17:38:55 [4458] [0] ERROR: System error 111: Connection refused
2012-12-06 17:38:55 [4458] [0] ERROR: error connecting to server `localhost' at 
port `14001'

2012-12-06 17:39:56 [4515] [0] ERROR: connect failed
2012-12-06 17:39:56 [4515] [0] ERROR: System error 111: Connection refused
2012-12-06 17:39:56 [4515] [0] ERROR: error connecting to server `localhost' at 
port `14003'

  Does anyone have any idea why this might be?

My mbuni config

group = core
admin-port = 14000
admin-password = <password>
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;10.*.*.* "
status-password = <password>
smsbox-port = 14001
mmsbox-port = 14002
wapbox-port = 14003
wdp-interface-name = "*"
log-level = 0
log-file = "/var/log/kannel/bearerbox.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;10.*.*.* "
dlr-storage = internal

group = mbuni
storage-directory = /var/spool/mbuni
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 360000
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 14012
log-level = 0
log-file = "/var/log/kannel/mbuni.log"

group = mms-vasp
type = soap
mm7-soap-xmlns = 
http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2
vasp-url = https://mm7.mms.telstra.com/
vasp-id = <vaspid>
vasid = <vasid>
log-level = 0
log-file = "/var/log/kannel/mms-vasp.log"

group = send-mms-user
username = kannel
password = <password>
faked-sender = <number>

My startup script:

    log_progress_msg "bearerbox"
    start-stop-daemon --start --quiet \
        --pidfile $PIDFILES/kannel_bearerbox.pid \
        --chuid kannel \
        --exec $BOXPATH/run_kannel_box \
        -- \
        --pidfile $PIDFILES/kannel_bearerbox.pid \
        --no-extra-args \
        $BOXPATH/bearerbox -v 4 -- /etc/kannel/kannel.conf
    sleep 1 # Wait for bearerbox
    log_progress_msg "wapbox"
    start-stop-daemon --start --quiet \
        --pidfile $PIDFILES/kannel_wapbox.pid \
        --chuid kannel \
        --exec $BOXPATH/run_kannel_box \
        -- \
        --pidfile $PIDFILES/kannel_wapbox.pid \
        --no-extra-args \
        $BOXPATH/wapbox -v 4 -- /etc/kannel/kannel_wap.conf
    log_progress_msg "smsbox"
    start-stop-daemon --start --quiet \
        --pidfile $PIDFILES/kannel_smsbox.pid \
        --chuid kannel \
        --exec $BOXPATH/run_kannel_box \
        -- \
        --pidfile $PIDFILES/kannel_smsbox.pid \
        --no-extra-args \
        $BOXPATH/smsbox -v 4 -- /etc/kannel/kannel_sms.conf
    log_progress_msg "mmsbox"
    start-stop-daemon --start --quiet \
        --pidfile $PIDFILES/kannel_mmsbox.pid \
        --chuid kannel \
        --exec $BOXPATH/run_kannel_box \
        -- \
        --pidfile $PIDFILES/kannel_mmsbox.pid \
        --no-extra-args \
        $BOXPATH/mmsbox -v 4 -- /etc/kannel/kannel_mms.conf
    log_end_msg 0

Peter Dolkens
Senior Developer

SALMAT DIGITAL
Level 1, 116 Miller Street, North Sydney, NSW 2060, Australia
T: +61 2 8783 2974  M: +61 433 756 167  F: +61 2 8920 0060
E: peter.dolk...@salmat.com.au<mailto:peter.dolk...@cfour.com.au>  W: 
www.salmat.com.au<http://www.salmat.com.au/>

[cid:image001.png@01CDD3D8.B9D4CC60]<http://www.salmat.com.au/>




***********************************************************************************
This e-mail, including any attachments to it, may contain confidential and/or 
personal information. If you have received this e-mail in error, you must not 
copy, distribute, or disclose it, use or take any action based on the 
information contained within it. Please notify the sender immediately by return 
e-mail of the error and then delete the original e-mail.

The information contained within this e-mail may be solely the opinion of the 
sender and may not necessarily reflect the position, beliefs or opinions of the 
organisation on any issue. This email has been swept for the presence of 
computer viruses known to the organisation's anti-virus systems.
***********************************************************************************

<<inline: image001.png>>

_______________________________________________
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to