On 12/11/2009 04:31 AM, Rajeev Agarwal wrote:
hi..
I am using the following code for the bearer box group=core
admin-port=13000
smsbox-port=13001
admin-password=bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "~/sms_mms/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access.log"
#store-file = "kannel.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
i am getting an error 2009-12-11 09:57:51 [3740] [0] ERROR: Couldn't open
logfile `~/sms_mms/kannel.log'.
1) I will suggest you use the absolute path to the file you want to use
as log.eg. /home/rajeev/sms_mms/kannel.log
2) Then change owner(chown kannel.kannel /home/rajeev/sms_mms/kannel.log).
3)If neccessary change access permission.(chmod 740
/home/rajeev/sms_mms/kannel.log)
4)Then restart kannel.
All the best.
Please help
Regards.
Rajeev.