Re: Re: Gammu-smsd with postgres startup problem

Alessandro Vercelli <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Message-ID <[email protected]>
Hi Michal, 
your hints worked fine.

For the record, I had to put: 

database = postgres

because template1 showed no tables.


Anyway, I was misinterpreting the documentation, I thought that gammu default pg database had the same name as postgres. 

 
Many thanks for the help,
Alessandro
 
---- On Thu, 28 May 2015 19:14:31 +0200 Michal Čihař wrote ---- 
>Hi 
> 
> 
>You don't have configured which database to use here: 
> 
>http://wammu.eu/docs/manual/smsd/config.html#option-Database 
> 
>> Thu 2015/05/28 16:40:07 gammu-smsd[3402]: Error connecting to database: FATAL: database "sms" does not exist 
> 
>...and Gammu falls back to default database name, which is sms. 
> 
>> Thu 2015/05/28 16:40:07 gammu-smsd[3402]: Initialisation failed, stopping Gammu smsd: Unknown error. (UNKNOWN[27]) 
>> 
>> Unexpectedly, the service is trying to work with a database named "sms" but the gammu tables are located in publich schema of template1 db: 
> 
>So set database = template1. 
> 
>-- 
> Michal Čihař | http://cihar.com | http://blog.cihar.com 
>------------------------------------------------------------------------------ 
>_______________________________________________ 
>Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users 
> 


------------------------------------------------------------------------------
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.