[Users] Mbuni errors
Hello My system is: Linux debian 2.6.18-6-amd64 #1 SMP Fri Jun 6 05:24:08 UTC 2008 x86_64 GNU/Linux I am using the kannel 1.4.2 and the mbuni 1.4.0, both from source. 1) I have been fighting the whole day with the ERROR: System error 24: Too many open files problem. I have added these lines at the end of the /etc/security/limits.conf file: mbuni hardnofile 8192 mbuni softnofile 8192 But I still have the same problem, I am not sure if the system is considering my modification. How do I fix it? The spool directory has thousands of files, I am getting MMS request at a rate of 10 mms/seg, as max. 2) The kannel app has an admin port? So I can get the queue size, sms/seg, etc. I would like to know the queue size. Is there anything similar for the mbuni? 3) Why do I get this warning?? 2009-06-19 14:39:37 [30676] [27] WARNING: HTTP: GET or HEAD method request contains body: 2009-06-19 14:39:37 [30676] [4] INFO: MMSBox: Queued message from service [777], [transid [Mbuni-msg.3177.x2.76.34]: qf3177.2002.x676.23 2009-06-19 14:39:37 [30676] [4] INFO: MMSBox.mmssend: u=tester, Queued [Accepted: Mbuni-msg.3177.x2.76.34] Thank you very much!! dhcmega ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Start/Stop script
Hi Because I want to run one box for every cellphone operator I connect to. Just in case I have to change anything, for debugging, etc Thanks On Mon, May 11, 2009 at 4:27 AM, Paul Bagyenda bagye...@dsmagic.com wrote: This should work just fine. Also, why do you want to start more than one box? On May 08, 2009, at 18:44, dhcmega wrote: Hi I am trying to start and stop mbuni like this case $1 in start) echo -n Starting mmsbox start-stop-daemon --start \ --background \ --chuid mbuni \ --exec $BOXPATH/mmsbox $CONF echo . ;; stop) echo -n Stopping mmsbox start-stop-daemon --stop --retry 5 --quiet \ --exec $BOXPATH/mmsbox echo . ;; reload) # We don't have support for this yet. exit 1 ;; restart|force-reload) $0 stop #sleep 1 sleep 3 $0 start ;; *) echo Usage: $0 {start|stop|restart|force-reload} exit 1 esac I don´t know what run_mbuni_box do. I also have trouble initiation more than one box. I couldn´t find any mbuni starter. Any suggestions will be appreciated. Thanks dhcmega ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
[Users] PANIC on queue corruption
Hello Should mbuni PANIC and die if queue is corrupted? 2009-06-22 19:37:53 [2760] [17] ERROR: fopen failed: couldn't open `/var/spool/mbuni/mmsbox_outgoing/df3427.4277.x514.71' 2009-06-22 19:37:53 [2760] [17] ERROR: System error 2: No such file or directory 2009-06-22 19:37:53 [2760] [17] ERROR: mms_queue_getdata: Failed to load data file for queue entry qf3427.4277.x514.71 in /var/spool/mbuni/mmsbox_outgoing 2009-06-22 19:37:53 [2760] [17] PANIC: mms_msg.c:1243: mms_messagetype: Assertion `msg' failed. 2009-06-22 19:37:53 [2760] [17] PANIC: /usr/sbin/mmsbox(gw_panic+0x15a) [0x43cb1a] 2009-06-22 19:37:53 [2760] [17] PANIC: /usr/sbin/mmsbox(mms_messagetype+0x34) [0x416a74] 2009-06-22 19:37:53 [2760] [17] PANIC: /usr/sbin/mmsbox [0x413e64] 2009-06-22 19:37:53 [2760] [17] PANIC: /usr/sbin/mmsbox [0x41c487] 2009-06-22 19:37:53 [2760] [17] PANIC: /usr/sbin/mmsbox [0x433d45] 2009-06-22 19:37:53 [2760] [17] PANIC: /lib/libpthread.so.0 [0x2b59f4281fc7] 2009-06-22 19:37:53 [2760] [17] PANIC: /lib/libc.so.6(clone+0x6d) [0x2b59f48c35ad] Queue is corrupted because of too many files open error. Thanks Regards dhcmega ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
[Users] Re: Mbuni errors
Thanks you very much for all your answers. I will try these solutions. Regards dhcmega On Mon, Jun 22, 2009 at 3:33 AM, Paul Bagyenda bagye...@dsmagic.com wrote: #1: Unless there is a bug in Mbuni that causes it not to close files, this error should not normally occur. You may want to try using the pgsql queue module and see if that makes life better. #2: There isn't one because the queue is not in-memory as it is in Kannel. On the other hand if you use the pgsql queue module then it becomes a simple matter to monitor the queueu. #3: You can safely ignore the warning (though I've fixed for it in CVS and will upload shortly). On Jun 21, 2009, at 01:46, dhcmega wrote: Hello My system is: Linux debian 2.6.18-6-amd64 #1 SMP Fri Jun 6 05:24:08 UTC 2008 x86_64 GNU/Linux I am using the kannel 1.4.2 and the mbuni 1.4.0, both from source. 1) I have been fighting the whole day with the ERROR: System error 24: Too many open files problem. I have added these lines at the end of the /etc/security/limits.conf file: mbuni hardnofile 8192 mbuni softnofile 8192 But I still have the same problem, I am not sure if the system is considering my modification. How do I fix it? The spool directory has thousands of files, I am getting MMS request at a rate of 10 mms/seg, as max. 2) The kannel app has an admin port? So I can get the queue size, sms/seg, etc. I would like to know the queue size. Is there anything similar for the mbuni? 3) Why do I get this warning?? 2009-06-19 14:39:37 [30676] [27] WARNING: HTTP: GET or HEAD method request contains body: 2009-06-19 14:39:37 [30676] [4] INFO: MMSBox: Queued message from service [777], [transid [Mbuni-msg.3177.x2.76.34]: qf3177.2002.x676.23 2009-06-19 14:39:37 [30676] [4] INFO: MMSBox.mmssend: u=tester, Queued [Accepted: Mbuni-msg.3177.x2.76.34] Thank you very much!! dhcmega ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
[Users] Start/Stop script
Hi I am trying to start and stop mbuni like this case $1 in start) echo -n Starting mmsbox start-stop-daemon --start \ --background \ --chuid mbuni \ --exec $BOXPATH/mmsbox $CONF echo . ;; stop) echo -n Stopping mmsbox start-stop-daemon --stop --retry 5 --quiet \ --exec $BOXPATH/mmsbox echo . ;; reload) # We don't have support for this yet. exit 1 ;; restart|force-reload) $0 stop #sleep 1 sleep 3 $0 start ;; *) echo Usage: $0 {start|stop|restart|force-reload} exit 1 esac I don´t know what run_mbuni_box do. I also have trouble initiation more than one box. I couldn´t find any mbuni starter. Any suggestions will be appreciated. Thanks dhcmega ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] broken link
thanks!! On Tue, Jan 20, 2009 at 10:23 AM, Martin M. Atukunda matl...@dsmagic.comwrote: should be fixed now. - Martin - On 16 Jan 2009, at 17:56, dhcmega wrote: Hi http://www.mbuni.org/downloads/1.4.0/packages/debian/mbuni_1.4.0-1_i386.deb It's not working. Is there any other place for downloading it? Thanks Regards ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
[Users] compile
Someone please enlight me checking Kannel version... 1.4.1 checking Kannel libs... -L/usr/lib/kannel -lgw -lwap -lgwlib -lssl -ldl -lpam -lrt -lresolv -lnsl -lm -lpthread -L/usr/lib -lxml2 -L/usr/lib -lcrypto -lssl -L/usr/lib/mysql -lmysqlclient_r checking Kannel includes... -I/usr/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include -I/usr/include/mysql checking for cfg_create in -lgwlib... no configure: error: Kannel gwlib is required! I have kannel installed and compiled in this system, it is a AMD64 Thanks Regards dhcmega ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
[Users] broken link
Hi http://www.mbuni.org/downloads/1.4.0/packages/debian/mbuni_1.4.0-1_i386.deb It's not working. Is there any other place for downloading it? Thanks Regards ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users