Kannel starts but doesn't create log files



 I'm guessing your /var/log/kannel isn't writable by the kannel user. Assuming a reasonably standard installation, you can try

sudo chown -R kannel:kannel /var/log/kannel


to make the kannel user the owner of the directory. Then restart it and the logs should appear there. Or you can try any other permission stuff to make the directory writable (chmod, add kannel to the owner group, or something else.)


You can also start Kannel from the command line in debug mode and see if anything interesting appears (by interesting I mean error messages about inaccessible directories or files,) 

e.g.: /usr/local/sbin/bearerbox -v 0 -- /etc/kannel/kannel.conf


(That's assuming standard paths, if yours are different, you should change them.)


When I start the kannel service with service kannel start everything goes OK, kannel does start, but it doesn't work. Log files aren't created and /var/log/kannel/ directory is empty but I don't know why