Ubuntu 14.04 に gammu と gammu-smsd 1.37 をインストールしました。gammu から直接 SMS を送信しようとすると、問題なく動作します。しかし、gammu-smsd-inject で実行しようとすると、うまくいきません。
gammu-smsd.log:
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: Using FILES service
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: Configuring Gammu SMSD...
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: SHM token: 0xffffffffce0106d2 (-838793518)
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: Warning: No PIN code in /etc/gammu-smsdrc file
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: CommTimeout=30, SendTimeout=30, ReceiveFrequency=15, ResetFrequency=0, HardResetFrequency=0
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: checks: CheckSecurity=1, CheckBattery=1, CheckSignal=1, CheckNetwork=1
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: mode: Send=1, Receive=1
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: deliveryreport = no
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: phoneid =
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: Inbox is "/var/spool/gammu/inbox/" with format "standard"
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: Outbox is "/var/spool/gammu/outbox/" with format "detail" and transmission format "7bit"
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: Sent SMS moved to "/var/spool/gammu/sent/"
Nov 1 17:04:19 mostjs-srv gammu-smsd[2557]: SMS with errors moved to "/var/spool/gammu/error/"
Nov 1 17:04:19 mostjs-srv gammu-smsd[2558]: Created POSIX RW shared memory at 0x7fc66468b000
Nov 1 17:04:19 mostjs-srv gammu-smsd[2558]: Starting phone communication...
Nov 1 17:04:19 mostjs-srv gammu-smsd[2558]: Error at init connection: Can not open specified file. (CANTOPENFILE[28])
私の設定ファイル:
~/.gammurc
device = /dev/ttyS0
#model = at
connection = at19200
logfile = /var/log/gammu.log
logformat = textall
use_locking = no
/etc/gammu-smsdrc
[gammu]
port = /dev/ttyS0
connection = at
logfile = /var/log/gammu.log
logformat = textall
use_locking = no
# SMSD configuration, see gammu-smsdrc(5)
[smsd]
service = files
LogFile = syslog
debuglevel = 1
# Increase for debugging information
# 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/
私は何を間違っていますか?