there must be an error message. Start it on the command line and let
us know what you see
On Nov 08, 2009, at 03:17, Ben Hardill wrote:
Hi,
After getting mbuni + the extra library all working on my Fedora 11
I've been trying to move it over to my little always on Ubuntu 8.1
machine. I have build all the src and copied over the config script
but I can't get it to run.
When I start mmsbox I get the following output, then the process
terminates with a return code of 1.
r...@x-wing:/usr/local/etc/mbuni# mmsbox -v 0 /usr/local/etc/mbuni/
mbuni.conf
2009-11-08 00:13:05 [32672] [0] INFO: Debug_lvl = 0, log_file =
<none>, log_lvl = 0
2009-11-08 00:13:05 [32672] [0] INFO: Added logfile `/var/log/kannel/
mmsbox.log' with level `0'.
2009-11-08 00:13:05 [32672] [0] INFO: Started access logfile `/var/
log/kannel/mmsbox-access.log'.
2009-11-08 00:13:06 [32672] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void
*)cdr_logger_func) maps to pid 32672.
2009-11-08 00:13:06 [32672] [0] DEBUG: Started thread 1
(mmsbox_cdr.c:(void *)cdr_logger_func)
2009-11-08 00:13:06 [32672] [0] INFO: HTTP: Opening server at port
10001.
2009-11-08 00:13:06 [32672] [2] DEBUG: Thread 2 (gwlib/
fdset.c:poller) maps to pid 32672.
2009-11-08 00:13:06 [32672] [0] DEBUG: Started thread 2 (gwlib/
fdset.c:poller)
2009-11-08 00:13:06 [32672] [3] DEBUG: Thread 3 (gwlib/
http.c:server_thread) maps to pid 32672.
2009-11-08 00:13:06 [32672] [0] DEBUG: Started thread 3 (gwlib/
http.c:server_thread)
2009-11-08 00:13:06 [32672] [0] INFO: mmsbox_cfg.c:578
<start_mmsc_from_conf> [mmsbox] [n/a] Loaded MMSC[modem], allow=
[(null)], deny=[(null)] group_id=[modem]
If I comment out the section in the config for the custom lib mmsbox
starts cleanly (but is of little use)
Anybody got any ideas?
mbuni.conf:
group = core
log-file = /var/log/kannel/mmsbox.log
access-log = /var/log/kannel/mmsbox-access.log
log-level = 0
group = mbuni
storage-directory = /usr/local/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 = 10001
sendsms-url = http://localhost:13013/cgi-bin/sendsms
sendsms-username = tester
sendsms-password = foobar
# Sample conf for MMSBox using a modem (MM1)
group = mmsc
id = modem
type = custom
custom-settings = "smsc-on=lynx -dump 'http://localhost:13000/start-
smsc?password=bar&smsc=nokia-modem';smsc-off=lynx -dump 'http://
localhost:13000/stop-smsc?password=bar&smsc=nokia-modem';gprs-on=/
usr/local/sbin/start-net-gprs;gprs-pid=cat /var/run/ppp-net.pid|head
-1;port=13014;mmsc-url=http://net.mmsc/servlets/
mms;proxy=10.11.12.13:8080;msisdn=100"
#custom-settings = "smsc-on=lynx -dump 'http://localhost:13000/start-
smsc?password=bar&smsc=w880i';smsc-off=lynx -dump 'http://localhost:
13000/stop-smsc?password=bar&smsc=w880i';gprs-on=/usr/bin/pon
o2;gprs-pid=cat /var/run/ppp0.pid | head -1;port=13014;mmsc-
url=http://mmsc.mms.o2.co.uk:
8002;proxy=193.113.200.195:8080;msisdn=100"
mmsc-library = /usr/local/lib/libmmsbox_mm1.so
group = send-mms-user
username = tester
password = foobar
faked-sender = 100
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users