2016-10-04 25 views
1

我正在嘗試配置kalkun應用程序。我已經通過以下步驟配置了所有內容,但我無法配置kalkun。我也跟着下面的步驟:找不到gammu數據庫模式

sudo apt-get install gammu gammu-smsd 

須藤監務,配置

須藤監務,配置

[gammu] 

port = /dev/ttyUSB2 
model = 
connection = at19200 
synchronizetime = yes 
logfile = 
logformat = textall 
use_locking = 
gammuloc = 

須藤gedit中的/ etc /監務,smsdrc

# Configuration file for Gammu SMS Daemon 
[gammu] 
# Please configure this! 
port = /dev/ttyUSB2 
connection = at19200 
# Debugging 
logformat = textall 

# SMSD configuration, see gammu-smsdrc(5) 
[smsd] 
service = sql 
driver = native_mysql 
logfile = /var/log/smsdlog 
# Increase for debugging information 
debuglevel = 0 

user = root 
password = root 
pc = localhost 
database = kalkun 
#runonreceive = /opt/lampp/htdocs/kalkun_0.7.1/scripts/daemon.php 

# Paths where messages are stored 
inboxpath = /var/spool/gammu/inbox/ 
outboxpath = /var/spool/gammu/outbox/ 
sentsmspath = /var/spool/gammu/sent/ 
errorsmspath = /var/spool/gammu/error/ 

我使用XAMPP爲kalkun配置。我也遵循https://github.com/back2arie/Kalkun/wiki/Installation上提到的所有步驟,但我不知道一些如何無法獲取安裝位置,並且出現錯誤找不到gammu數據庫模式。任何人請幫我解決這個問題?

回答

0

在Debian(和Ubuntu)包中,SQL文件位於/usr/share/doc/gammu-smsd/examples/中。

或者,您可以使用online documentation,但涵蓋最新版本,並且架構可能不適合您正在使用的版本。