Re: Wammu and SGH-J700 with Xenial Xerus 16.04

cristian via Gammu-users <[email protected]> Mon, 11 Sep 2017 17:09:30 +0200
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
On Sat, 2 Sep 2017 11:38:46 -0300
gilberto dos santos alves <[email protected]> wrote:

> hi. already said that is mysql x gammu.smsd
> please run with explicity anr force daemon to use your desired gammurc
> file. you need tell to daemon where look for your gammurc smsd
> home?
> /etc/?
> $path?
> environment vars?
> 

If I run gammu-smsd using just '--config' option only, I get errors:

gammu-smsd --config /usr/local/etc/gammu-smsdrc
Log filename is "/home/xenial/log_gammu/sms.log"
gammu-smsd[29450]: Error code: 1146, Error: Table 'gammudb.inbox' doesn't exist
gammu-smsd[29450]: Table inbox not found, disconnecting!
gammu-smsd[29450]: Failed to open table inbox
gammu-smsd[29450]: Initialisation failed, stopping Gammu smsd: Error in executing SQL query. (SQL[79])
Failed to run SMSD: Error in executing SQL query.

If I run gammu-smsd also using '--daemon' option, sql service does not work:

gammu-smsd --config /usr/local/etc/gammu-smsdrc --pid /var/run/gammu-smsd.pid --daemon
Log filename is "/home/xenial/log_gammu/sms.log"

For both two cases, gammu-smsdrc is the same than previous mail messages (except the database name: from 'gammu' to 'gammudb'):

# Configuration file for Gammu SMS Daemon

# Gammu library configuration, see gammurc(5)
[gammu]
# Please configure this!
#port = /dev/null
device = /dev/ttyACM0
connection = at
# Debugging
logfile = /home/xenial/log_gammu/gammu.log
logformat = textalldate

# SMSD configuration, see gammu-smsdrc(5)
[smsd]
Service = sql
Driver = native_mysql
LogFile = /home/xenial/log_gammu/sms.log
User = cristian
Password = (password chosen for mysql user)
Host = localhost
Database = gammudb
DeliveryReport = yes
# Increase for debugging information
DebugLevel = 255

# 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/

Any ideas?

If you need more info, please, let me know. I'll give you them as soon as possible.

I'll expect a reply,

Thanks.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users