Nikos,
Indeed, I have read the UG. Wouldn't waste your time - or that of others - had I not! But I think the error messages I'm getting are a non sequitur - don't think I do actually have an error in my sms-service config. What I'm seeing is a bit more fundamental than that... Can you tell me what the 'accepted' line terminators would be for this conf file? I am editing in UNIX, with LF terminations - perhaps all CRs is the required way, and the source of all this? # ./bearerbox -v 1 /etc/kannel/kannel.conf ERROR: Can't find out official hostname for this host, using `kannelbox.0.168.192.in-addr.arpa' instead. INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 PANIC: DLR: can't find group core My entire config is below; every other line is commented with a '#': group = core admin-port = 13000 admin-password = bar #status-password = foo #admin-deny-ip = "" #admin-allow-ip = "" log-file = "~/Desktop/kannel.log" log-level = 1 access-log = "~/Desktop/access.log" #http-proxy-host = "127.0.0.1" #http-proxy-port = 8080 #http-proxy-exceptions = "127.0.0.1" #http-proxy-username = "user" #http-proxy-password = "password" #ssl-certkey-file = "mycertandprivkeyfile.pem" # # SMSBOX SETUP # group = smsbox bearerbox-host = localhost sendsms-port = 13013 #sendsms-chars = "0123456789 +-" global-sender = 12345 #log-file = "/tmp/smsbox.log" # WHY DOES KANNEL BALK AT THIS? log-level = 0 #access-log = "access.log" #white-list = #black-list = #reply-couldnotfetch = #reply-couldnotrepresent = #reply-requestfailed = #reply-emptymessage = # # # SEND-SMS USERS # group = sendsms-user username = tester password = foobar # SMS SERVICE Default # there should be default always group = sms-service keyword = default text = "No service specified" ----- Original Message ----- From: "Nikos Balkanas" <[email protected]> To: "Lou Picciano" <[email protected]>, "Kannel Users" <[email protected]> Sent: Saturday, February 5, 2011 10:49:01 AM Subject: Re: Configuration issues with first install - on Mac Hi, So you have read, as you say, the UG. As log states, you have an error in your sms-service configuration. Remove offending line and retry. BR, Nikos ----- Original Message ----- From: Lou Picciano To: Kannel Users Sent: Saturday, February 05, 2011 4:25 PM Subject: Configuration issues with first install - on Mac Dear Kannel Friends, Trying our first configuration - on Mac - and having some difficulty. After setting up a minimal configuration, the bearer box starts OK. Immediately, though, the SMSbox complains at startup about various syntax errors - it doesn't like carriage returns in the same config file just read by the bearerbox? - and then complains about things like logs settings being in the wrong sections of the config. Note: I am being careful that the config file contains only CRs, no LFs. All seems related to some error in how the smsbox program is reading the config file - even after removing all blank lines, smsbox complains: # ./smsbox -v 1 /etc/kannel/kannel.conf 2011-02-04 19:19:39 [10625] [0] ERROR: Can't find out official hostname for this host, using `kannelbox.0.168.192.in-addr.arpa' instead. 2011-02-04 19:19:39 [10625] [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 2011-02-04 19:19:39 [10625] [0] ERROR: Group 'sms-service' may not contain field 'log-level'. 2011-02-04 19:19:39 [10625] [0] ERROR: Error found on line 235 of file `/etc/kannel/kannel.conf'. 2011-02-04 19:19:39 [10625] [0] PANIC: Couldn't read configuration from `/etc/kannel/kannel.conf'. 2011-02-04 19:19:39 [10625] [0] PANIC: 0 smsbox 0x0000000100037046 gw_panic + 374 2011-02-04 19:19:39 [10625] [0] PANIC: 1 smsbox 0x000000010000290e main + 4478 2011-02-04 19:19:39 [10625] [0] PANIC: 2 smsbox 0x00000001000010a4 start + 52 2011-02-04 19:19:39 [10625] [0] PANIC: 3 ??? 0x0000000000000004 0x0 + 4 Help! Really at a loss here! This Mac setup was supposed to be the easy test, just to get to know Kannel! Next Step: Build on Solaris! Lou
