i am getting error on line 39 now [root@sms1 kannel]# ./bearerbox bash: ./bearerbox: No such file or directory [root@sms1 kannel]# sbin/bearerbox 2016-05-11 12:48:33 [3738] [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0 2016-05-11 12:48:33 [3738] [0] ERROR: Group 'core' may not contain field 'boxallowip'. 2016-05-11 12:48:33 [3738] [0] ERROR: Error found on line 39 of file `kannel.conf'. 2016-05-11 12:48:33 [3738] [0] PANIC: Couldn't read configuration from `kannel.conf'. 2016-05-11 12:48:33 [3738] [0] PANIC: sbin/bearerbox(gw_panic+0x147) [0x479e07] 2016-05-11 12:48:33 [3738] [0] PANIC: sbin/bearerbox(main+0xb80) [0x40d9a0] 2016-05-11 12:48:33 [3738] [0] PANIC: /lib64/libc.so.6(__libc_start_main+0xfd) [0x344e81ed5d] 2016-05-11 12:48:33 [3738] [0] PANIC: sbin/bearerbox() [0x40c109]
here is the kannael.conf file # # THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL # # This basic version is used for system testing. It expects 'fakesmsc' to # send messages which are replied with simple fixed text message. # It is run like this: # # 1% gw/bearerbox gw/smskannel.conf # 2% gw/smsbox gw/smskannel.conf # 3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop" # # ..all 3 commands in separate shells (or screen sessions) # Note that you can run them in different machines but have to # add certain command line argument and configuration variables then # # # For any modifications to this file, see Kannel User Guide # If that does not help, see Kannel web page (http://www.kannel.org) and # various online help and mailing list archives # # Notes on those who base their configuration on this: # 1) check security issues! (allowed IPs, passwords and ports) # 2) groups cannot have empty rows inside them! # 3) read the user guide # # Kalle Marjola for Kannel project 2001, 2004 #--------------------------------------------- # CORE group = core adminport = 13000 smsboxport = 13001 adminpassword = hostin logfile = “/tmp/kannel.log” loglevel = 0 boxdenyip = “*.*.*.*” boxallowip = “10.1.202.41” dlrstorage = mysql # SMSC CONNECTIONS group = smsc smsc = smpp smscid = SMPP interfaceversion = 34 host = 8.6.95.145 port = 2345 receiveport = 2345 smscusername = democnag2 smscpassword = dmag2 systemtype = VMA addressrange = ” ” sourceaddrton = 0 sourceaddrnpi = 0 destaddrton = 1 destaddrnpi = 1 msgidtype = 0x00 transceivermode = true sourceaddrautodetect = no # SMSBOX SETUP group = smsbox bearerboxhost = 10.1.202.41 sendsmsport = 13013 globalsender = 13013 logfile = “/tmp/smsbox.log” loglevel = 0 # SENDSMS USERS group = sendsmsuser username = test password = hostin # SERVICES group = smsservice # keyword = nop keywordregex = .* catchall = yes maxmessages = 0 geturl = http://10.1.202.41/websms/inc/dlr.php?user=test&passwd=hostin&to=%p&message=%a ( Note> Do not use ” ” unless u will get error) #geturl = “http://192.168.1.254/sms?phone=%p&text=%a” # mysql connection group = mysqlconnection id = mydlr host = 127.0.0.1 username = root password = hostin database = dlr maxconnections = 1 # DLR table structure group = dlrdb id = mydlr table = dlr fieldsmsc = smsc fieldtimestamp = ts fielddestination = destination fieldsource = source fieldservice = service fieldurl = url fieldmask = mask fieldstatus = status fieldboxcid = boxc On Wed, May 11, 2016 at 12:00 PM, <users-requ...@kannel.org> wrote: > Send users mailing list submissions to > users@kannel.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://www.kannel.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > users-requ...@kannel.org > > You can reach the person managing the list at > users-ow...@kannel.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > Today's Topics: > > 1. Kindly advise on the error bellow (John Mwale) > 2. Re: Kindly advise on the error bellow (Jesus D Irausquin V) > 3. Re: Kindly advise on the error bellow (Juned Khan) > 4. Re: Kindly advise on the error bellow (John Mwale) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 10 May 2016 13:08:02 +0200 > From: John Mwale <mwale.j...@gmail.com> > To: users@kannel.org > Subject: Kindly advise on the error bellow > Message-ID: > <cajkpk-5yv3rhv4mwm-fqrrg7p3wyjmymjuh0kdtwjrb3gqg...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > [root@sms1 sbin]# ./bearerbox > 2016-05-10 13:07:08 [3605] [0] INFO: Debug_lvl = -1, log_file = > <none>, log_lvl = 0 > 2016-05-10 13:07:08 [3605] [0] ERROR: Group does not contain variable 'group'. > 2016-05-10 13:07:08 [3605] [0] ERROR: Error found on line 37 of file > `kannel.conf'. > 2016-05-10 13:07:08 [3605] [0] PANIC: Couldn't read configuration from > `kannel.conf'. > 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(gw_panic+0x147) [0x477c77] > 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(main+0xb80) [0x40d390] > 2016-05-10 13:07:08 [3605] [0] PANIC: > /lib64/libc.so.6(__libc_start_main+0xfd) [0x3dc821ed5d] > 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox() [0x40baf9] > [root@sms1 sbin]# > > > -- > Tapiwa Mwale, > mobile number +260 97 9 947571 > > > > ------------------------------ > > Message: 2 > Date: Tue, 10 May 2016 07:11:54 -0400 > From: Jesus D Irausquin V <jdirausq...@gmail.com> > To: John Mwale <mwale.j...@gmail.com> > Cc: Kannel Users <users@kannel.org> > Subject: Re: Kindly advise on the error bellow > Message-ID: > <CAAwyaiZhTin6=RYZk=dqqhn7x6hts1sq9njssuyh3bevmae...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Go to the line 37 of kannel.conf and be sure you have at least: > > *group = core* > > Take a look at the user guide > > Regards. > > 2016-05-10 7:08 GMT-04:00 John Mwale <mwale.j...@gmail.com>: > >> [root@sms1 sbin]# ./bearerbox >> 2016-05-10 13:07:08 [3605] [0] INFO: Debug_lvl = -1, log_file = >> <none>, log_lvl = 0 >> 2016-05-10 13:07:08 [3605] [0] ERROR: Group does not contain variable >> 'group'. >> 2016-05-10 13:07:08 [3605] [0] ERROR: Error found on line 37 of file >> `kannel.conf'. >> 2016-05-10 13:07:08 [3605] [0] PANIC: Couldn't read configuration from >> `kannel.conf'. >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(gw_panic+0x147) >> [0x477c77] >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(main+0xb80) [0x40d390] >> 2016-05-10 13:07:08 [3605] [0] PANIC: >> /lib64/libc.so.6(__libc_start_main+0xfd) [0x3dc821ed5d] >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox() [0x40baf9] >> [root@sms1 sbin]# >> >> >> -- >> Tapiwa Mwale, >> mobile number +260 97 9 947571 >> >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://www.kannel.org/pipermail/users/attachments/20160510/f9aae874/attachment-0001.html> > > ------------------------------ > > Message: 3 > Date: Tue, 10 May 2016 16:44:40 +0530 > From: Juned Khan <jkhan6...@gmail.com> > To: John Mwale <mwale.j...@gmail.com> > Cc: users <users@kannel.org> > Subject: Re: Kindly advise on the error bellow > Message-ID: > <CAMm4cj8mZiBHtDfYB_h5B8xX1-AkoZQ=YnQiz8+rwgoCE=j...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello John, > > 2016-05-10 13:07:08 [3605] [0] ERROR: Error found on line 37 of file > `kannel.conf'. > > Seems something wrong on line 37. What's there on that line ? > > Best Regards, > Juned Khan > > On Tue, May 10, 2016 at 4:38 PM, John Mwale <mwale.j...@gmail.com> wrote: > >> [root@sms1 sbin]# ./bearerbox >> 2016-05-10 13:07:08 [3605] [0] INFO: Debug_lvl = -1, log_file = >> <none>, log_lvl = 0 >> 2016-05-10 13:07:08 [3605] [0] ERROR: Group does not contain variable >> 'group'. >> 2016-05-10 13:07:08 [3605] [0] ERROR: Error found on line 37 of file >> `kannel.conf'. >> 2016-05-10 13:07:08 [3605] [0] PANIC: Couldn't read configuration from >> `kannel.conf'. >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(gw_panic+0x147) >> [0x477c77] >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(main+0xb80) [0x40d390] >> 2016-05-10 13:07:08 [3605] [0] PANIC: >> /lib64/libc.so.6(__libc_start_main+0xfd) [0x3dc821ed5d] >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox() [0x40baf9] >> [root@sms1 sbin]# >> >> >> -- >> Tapiwa Mwale, >> mobile number +260 97 9 947571 >> >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://www.kannel.org/pipermail/users/attachments/20160510/1068140f/attachment-0001.html> > > ------------------------------ > > Message: 4 > Date: Tue, 10 May 2016 15:30:12 +0200 > From: John Mwale <mwale.j...@gmail.com> > To: users@kannel.org > Subject: Re: Kindly advise on the error bellow > Message-ID: > <cajkpk-5ksjxxpmnm0dq2ldleziagvgqczgtmw3oebozdcmc...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > ok will start over again can you send me the link for the manuel? > these are same config i used on version 1.4.1. will apprecite. > > On Tue, May 10, 2016 at 1:08 PM, John Mwale <mwale.j...@gmail.com> wrote: >> [root@sms1 sbin]# ./bearerbox >> 2016-05-10 13:07:08 [3605] [0] INFO: Debug_lvl = -1, log_file = >> <none>, log_lvl = 0 >> 2016-05-10 13:07:08 [3605] [0] ERROR: Group does not contain variable >> 'group'. >> 2016-05-10 13:07:08 [3605] [0] ERROR: Error found on line 37 of file >> `kannel.conf'. >> 2016-05-10 13:07:08 [3605] [0] PANIC: Couldn't read configuration from >> `kannel.conf'. >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(gw_panic+0x147) [0x477c77] >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox(main+0xb80) [0x40d390] >> 2016-05-10 13:07:08 [3605] [0] PANIC: >> /lib64/libc.so.6(__libc_start_main+0xfd) [0x3dc821ed5d] >> 2016-05-10 13:07:08 [3605] [0] PANIC: ./bearerbox() [0x40baf9] >> [root@sms1 sbin]# >> >> >> -- >> Tapiwa Mwale, >> mobile number +260 97 9 947571 > > > > -- > Tapiwa Mwale, > mobile number +260 97 9 947571 > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > users mailing list > users@kannel.org > http://www.kannel.org/mailman/listinfo/users > > > ------------------------------ > > End of users Digest, Vol 117, Issue 5 > ************************************* -- Tapiwa Mwale, mobile number +260 97 9 947571