Hey, guys, i have a problem with kannel.conf and starting up this service
Simply, thats all, what i have done:
1. I have installed this service from ports, have added user kannel
2. Created directories and changed rules (chown)
3. Add smth to rc.conf
Then, i have started this service
So, everything is ok.. In kannel.conf file i have set path to logs
but! after starting service logs haven't created...
May be has smbdy had this problem?
Plase help!
Simply, thats all, what i have done:
1. I have installed this service from ports, have added user kannel
Code:
# adduser
Username: kannel
Full name: Kannel Server
Uid (Leave empty for default):
Login group [kannel]:
Login group is kannel. Invite kannel into other groups? []:
Login class [default]:
Shell (sh csh tcsh nologin) [sh]:
Home directory [/home/kannel]:
Home directory permissions (Leave empty for default):
Use password-based authentication? [yes]:
Use an empty password? (yes/no) [no]:
Use a random password? (yes/no) [no]:
Enter password:
Enter password again:
Lock out the account after creation? [no]:
Username : kannel
Password : *****
Full Name : Kannel Server
Uid : 1019
Class :
Groups : kannel
Home : /home/kannel
Home Mode :
Shell : /bin/sh
Locked : no
OK? (yes/no): yes
adduser: INFO: Successfully added (kannel) to the user database.
Add another user? (yes/no): no
Goodbye!
2. Created directories and changed rules (chown)
Code:
# cd /var/log/
ls -la
drwxr-xr-x 2 kannel kannel 512 Jun 15 21:34 kannel
Code:
# cd /var/run/
ls -la
drwxr-xr-x 2 kannel kannel 512 Jun 15 21:58 kannel
3. Add smth to rc.conf
Code:
# cd /etc/
cat rc.conf
...
kannel_bearerbox_enable="YES"
kannel_smsbox_enable="YES"
kannel_wapbox_enable="YES"
Then, i have started this service
Code:
# cd /usr/local/etc/rc.d/
./kannel start
Starting kannel_bearerbox.
Starting kannel_smsbox.
Starting kannel_wapbox.
So, everything is ok.. In kannel.conf file i have set path to logs
Code:
log-file = "/var/log/kannel/kannel.log"
log-level = 0
May be has smbdy had this problem?
Plase help!