Hi all,

Thanks to give life to Mbuni and to maintain it.


hussain, have you solve your problem now ? can you please tell me what OS
are you using ??
I'd successfully install mbuni on CentOS 5.3 but since 3 days ago i've been
trying to install it (CVS version) on CentOS 5.5. Am getting the error below
and Libmmsbox_mm1.so is not installed.

Making all in extras
make[2]: Entering directory `/usr/src/MMS/mbuni/extras'
Making all in mmsbox-mm1
make[3]: Entering directory `/usr/src/MMS/mbuni/extras/mmsbox-mm1'
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -O4 -Wall -D_LARGE_FILES= -I/usr/include/openssl
-I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl  -rdynamic
-L/usr/local/lib/kannel -lgw -lwap -lgwlib -lssl -lrt -lresolv -lnsl -lm
-lpthread -lxml2 -lz -lm -L/usr/lib64 -lcrypto -lssl -o
libmmsbox_mm1.la-rpath /usr/local/lib -module mmsbox_mm1.lo  -lwap
-lgwlib -lssl -lpthread
-ldl  -L/usr/lib -lcrypto -lssl -L/usr/local/lib/kannel -lgw -lwap -lgwlib
-lssl -lrt -lresolv -lnsl -lm  -lpthread -lxml2 -lz -lm -L/usr/lib64
-lcrypto -lssl -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err -lidn -lssl -lcrypto -lz
gcc -shared  .libs/mmsbox_mm1.o  -L/usr/local/lib/kannel -L/usr/lib64
-L/usr/lib -lgw -lwap -lgwlib -lrt -lresolv -lnsl -lpthread -lxml2 -lm
-L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lidn -lssl -lcrypto -lz  -Wl,-soname -Wl,libmmsbox_mm1.so.0 -o
.libs/libmmsbox_mm1.so.0.0.0
/usr/bin/ld: /usr/local/lib/kannel/libgwlib.a(gwmem-native.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a shared
object; recompile with -fPIC
/usr/local/lib/kannel/libgwlib.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libmmsbox_mm1.la] Error 1
make[3]: Leaving directory `/usr/src/MMS/mbuni/extras/mmsbox-mm1'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/MMS/mbuni/extras'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/MMS/mbuni'
make: *** [all] Error 2

Can somebody help me sort this error out ?

Regards

On 15 April 2010 11:21, aftab hussain <[email protected]> wrote:

> Dear all,
>              I am stuck in a problem. I want to receive MMS using GPRS
> modem from operator's MMSC. When I send MMS from my mobile phone, kannel
> receives notification sms from operator's MMSC and it passes the
> notification to MMSBOX on the specified port. But in response I get error:
>
> 'Could not fetch content, sorry.' url: '
> http://localhost:8181/?text=You+have+an+MMS+message+waiting+for+you.--%3E+Passcode+x9jrtg+http%3A%2F%2Fmmcp.warid.net%3A8080%2Fmmcp%2FController%3Furl%3D%26p%3Dx9jrtg'
> reply: 403 'mmsbox-mm1: mal-formed mms packet on interface!'
>
> My MMSBox.config is given below.
>
> group = core
> log-file = mmsbox.log
> access-log = mmsbox-access.log
> log-level = 0
>
> group = mbuni
> storage-directory = /mms
> max-send-threads = 5
> maximum-send-attempts = 50
> default-message-expiry = 360000
> queue-run-interval = 5
> send-attempt-back-off = 300
> sendmms-port = 10001
>
> group = mmsc
> id = modem
> type = custom
> custom-settings = "smsc-on=lynx -dump '
> http://localhost:13000/start-smsc?password=bar&smsc=wavecom';smsc-off=lynx<http://localhost:13000/start-smsc?password=bar&smsc=wavecom%27;smsc-off=lynx>-dump
>  '
> http://localhost:13000/stop-smsc?password=bar&smsc=wavecom';gprs-on=<http://localhost:13000/stop-smsc?password=bar&smsc=wavecom%27;gprs-on=>pppd
>  call gprs;gprs-pid=cat /var/run/ppp0.pid|head -1;port=8181;mmsc-url=
> http://10.4.0.132/servlets/MMS;proxy=10.4.2.1:8080;msisdn=+923225046352";
> mmsc-library = /usr/local/lib/libmmsbox_mm1.so
>
> group = mms-service
> name = me
> post-url = http://10.3.20.120/mmsrecv.php
> catch-all = true
> http-post-parameters = fx=true&images[]=%i&text[]=%t
> accept-x-mbuni-headers = true
> pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
> keyword = test
> omit-empty = no
> service-code = regular
>
> group = send-mms-user
> username = tester
> password = foobar
> faked-sender = 100
>
> Some of the contents of smsbox log is also given below.
>
> 2010-04-14 15:16:01 [9955] [6] DEBUG: no match found: ^[ ]*(nop)[ ]*
> 2010-04-14 15:16:01 [9955] [6] DEBUG: no match found: ^[ ]*(hi)[ ]*
> 2010-04-14 15:16:01 [9955] [6] DEBUG: no match found: ^[ ]*(srv)[ ]*
> 2010-04-14 15:16:01 [9955] [6] DEBUG: no match found: ^[
> ]*(add|soap|disease|dis)[ ]*
> 2010-04-14 15:16:01 [9955] [6] DEBUG: no match found: ^[ ]*(mms)[ ]*
> 2010-04-14 15:16:01 [9955] [6] DEBUG: no match found: ^[ ]*(ota)[ ]*
> 2010-04-14 15:16:01 [9955] [6] INFO: Starting to service <You have an MMS
> message waiting for you.--> Passcode s347dx
> http://mmcp.warid.net:8080/mmcp/Controller?url=&p=s347dx> from
> <+923225046338> to <00923225046352>
> 2010-04-14 15:16:01 [9955] [2] DEBUG: Queue contains 0 pending requests.
> 2010-04-14 15:16:01 [9955] [2] DEBUG: Parsing URL `
> http://localhost:8181/?text=You+have+an+MMS+message+waiting+for+you.--%3E+Passcode+s347dx+http%3A%2F%2Fmmcp.warid.net%3A8080%2Fmmcp%2FController%3Furl%3D%26p%3Ds347dx
> ':
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Scheme: http://
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Host: localhost
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Port: 8181
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Username: (null)
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Password: (null)
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Path: /
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Query:
> text=You+have+an+MMS+message+waiting+for+you.--%3E+Passcode+s347dx+http%3A%2F%
> 2Fmmcp.warid.net%3A8080%2Fmmcp%2FController%3Furl%3D%26p%3Ds347dx
> 2010-04-14 15:16:01 [9955] [2] DEBUG:   Fragment: (null)
> 2010-04-14 15:16:01 [9955] [2] DEBUG: HTTP: Opening connection to
> `localhost:8181' (fd=28).
> 2010-04-14 15:16:01 [9955] [2] DEBUG: Socket connecting
> 2010-04-14 15:16:01 [9955] [1] DEBUG: Get info about connecting socket
> 2010-04-14 15:16:01 [9955] [1] DEBUG: HTTP: Sending request:
> 2010-04-14 15:16:01 [9955] [1] DEBUG: Octet string at 0x8167a50:
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   len:  234
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   size: 1024
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   immutable: 0
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 47 45 54 20 2f 3f 74 65 78 74
> 3d 59 6f 75 2b 68   GET /?text=You+h
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 61 76 65 2b 61 6e 2b 4d 4d 53
> 2b 6d 65 73 73 61   ave+an+MMS+messa
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 67 65 2b 77 61 69 74 69 6e 67
> 2b 66 6f 72 2b 79   ge+waiting+for+y
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 6f 75 2e 2d 2d 25 33 45 2b 50
> 61 73 73 63 6f 64   ou.--%3E+Passcod
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 65 2b 73 33 34 37 64 78 2b 68
> 74 74 70 25 33 41   e+s347dx+http%3A
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 25 32 46 25 32 46 6d 6d 63 70
> 2e 77 61 72 69 64   %2F%2Fmmcp.warid
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 2e 6e 65 74 25 33 41 38 30 38
> 30 25 32 46 6d 6d   .net%3A8080%2Fmm
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 63 70 25 32 46 43 6f 6e 74 72
> 6f 6c 6c 65 72 25   cp%2FController%
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 33 46 75 72 6c 25 33 44 25 32
> 36 70 25 33 44 73   3Furl%3D%26p%3Ds
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 33 34 37 64 78 20 48 54 54 50
> 2f 31 2e 31 0d 0a   347dx HTTP/1.1..
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 48 6f 73 74 3a 20 6c 6f 63 61
> 6c 68 6f 73 74 3a   Host: localhost:
> 2010-04-14 15:16:01 [9955] [1] DEBUG:   data: 38 31 38 31 0d 0a 43 6f 6e 6e
> 65 63 74 69 6f 6e   8181..Connection
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 3a 20 6b 65 65 70 2d 61 6c
> 69 76 65 0d 0a 55 73   : keep-alive..Us
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 65 72 2d 41 67 65 6e 74 3a
> 20 4b 61 6e 6e 65 6c   er-Agent: Kannel
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 2f 31 2e 34 2e 33 0d 0a 0d
> 0a                     /1.4.3....
> 2010-04-14 15:34:34 [10672] [1] DEBUG: Octet string dump ends.
> 2010-04-14 15:34:34 [10672] [1] DEBUG: HTTP: Status line: <HTTP/1.1 403
> Forbidden>
> 2010-04-14 15:34:34 [10672] [1] DEBUG: HTTP: Received response:
> 2010-04-14 15:34:34 [10672] [1] DEBUG: Octet string at 0x815a438:
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   len:  154
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   size: 1024
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   immutable: 0
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 53 65 72 76 65 72 3a 20 4b
> 61 6e 6e 65 6c 2f 31   Server: Kannel/1
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 2e 34 2e 33 0d 0a 44 61 74
> 65 3a 20 57 65 64 2c   .4.3..Date: Wed,
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 20 31 34 20 41 70 72 20 32
> 30 31 30 20 31 30 3a    14 Apr 2010 10:
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 33 34 3a 33 34 20 47 4d 54
> 0d 0a 43 6f 6e 74 65   34:34 GMT..Conte
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 6e 74 2d 4c 65 6e 67 74 68
> 3a 20 34 37 0d 0a 43   nt-Length: 47..C
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 6f 6e 74 65 6e 74 2d 54 79
> 70 65 3a 20 74 65 78   ontent-Type: tex
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 74 2f 70 6c 61 69 6e 0d 0a
> 0d 0a 6d 6d 73 62 6f   t/plain....mmsbo
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 78 2d 6d 6d 31 3a 20 6d 61
> 6c 2d 66 6f 72 6d 65   x-mm1: mal-forme
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 64 20 6d 6d 73 20 70 61 63
> 6b 65 74 20 6f 6e 20   d mms packet on
> 2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 69 6e 74 65 72 66 61 63 65
> 21                     interface!
> 2010-04-14 15:34:34 [10672] [1] DEBUG: Octet string dump ends.
> 2010-04-14 15:34:34 [10672] [7] INFO: No reply sent, denied.
>
> Please have a look and guide me as to what is going wrong.
>
> Best Regards
> --
> Aftab Hussain
> Research Assistant,
> High Performance Computing Lab, NUST SEECS
> +923225046338
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.mbuni.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to