LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-14-2011, 10:17 PM   #1
guysadan
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
KANNEL UBUNTU,somebody can help me?


I did service start kannel..and its start.
when i write in console smsbox i get this:

2011-03-14 22:22:39 [11733] [0] ERROR: fopen failed: couldn't open `kannel.conf'

what should i do?the file in /etc/kennel/kannel.conf

Last edited by guysadan; 03-14-2011 at 10:24 PM.
 
Old 03-14-2011, 11:23 PM   #2
pcardout
Member
 
Registered: Jun 2003
Location: Socorro, New Mexico
Distribution: Debian ("lenny", "squeeze"), Ubuntu ("karmic", "oneiric")
Posts: 214

Rep: Reputation: 24
Editing /etc/kannel/kannel.conf

http://www.kannel.org/download/1.4.0...de.html#AEN419

I have never used kannel. However, looking even briefly at the user-guide above suggests that you have to
edit the kannel.conf file. Presumably you know how to edit a file. If not, try pico (for pure text editing)
or gedit for a GUI. (Or vim, if you want a real editor that will grow with you). Looking at the manual it seems you may need to create the kannel.conf file before you
use the program.

The error you posted merely means the program can't read the file, either because it's not there, or because you don't
have permissions set correctly.

Please post the output of the following command

Code:
ls -l /etc/kannel/kannel.conf
That will tell us if the file does not exist or you have a permissions problem.
 
Old 03-15-2011, 07:35 AM   #3
shreef
LQ Newbie
 
Registered: May 2006
Location: Alexandria, Egypt
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
you should make a configuration file and use it to run smsbox.

Code:
# smsbox -v 1 /path/to/kannel.conf
if you don't write the path of your configuration file, smsbox will try to find it and if it fails to find the file, it will show that error.

BTW, the bearerbox should be running before starting smsbox.
 
Old 03-15-2011, 03:05 PM   #4
guysadan
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0
first,
Tnx people
second,
Now i have this error:
could not decode PDU to a message.
I searched a lot of time in google for solution without success
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Kannel to receive SMS on ubuntu b_f Linux - Newbie 3 07-22-2009 03:21 AM
help to install kannel icemansam07 Linux - Software 3 10-10-2007 02:41 AM
kannel shakil Linux - Software 0 10-15-2005 07:04 PM
kannel thoyyib Linux - Software 0 10-13-2005 05:22 PM


All times are GMT -5. The time now is 05:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration