Greetings,
I already been by that situation, And if I recall correctly It was the MM1
library that simply goes boom.
I got mine solved when I removed libcURL that I had installed from the
Ubuntu repository and compiled and installed the one from the cURL main
project page. And then recompiled mbuni and the libmmsbox_mm1.
Hope the problem be the same, since anything related to the compilation of
the library may cause this, because like you say if libmmsbox_mm1 isn't
loaded all goes well.
A. Nuno Freitas
So to sum up
1 - Removed any libcurl installed from repositories
sudo apt-get remove libcurl4-gnutls-dev
sudo apt-get remove libcurl4-ssl-dev
2 - Download of cURL source code
wget http://curl.haxx.se/download/curl-7.19.6.tar.gz
tar xvf curl-7.19.6.tar.gz
cd curl-7.19.6
3 - cURL Install
./configure
make
sudo make install
4 - build Mbuni
./configure
make
sudo make install
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Ben Hardill
Sent: domingo, 8 de Novembro de 2009 00:18
To: [email protected]
Subject: [Users] failure at startup, no obvious message
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=l
ynx
-dump
'http://localhost:13000/stop-smsc?password=bar&smsc=nokia-modem';gprs-on=/us
r/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;m
sisdn=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:8
080;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