Re: Gammu 1.37.4 / smsd hangs on CentOS 7?
Emiliano Vazquez <[email protected]> Mon, 24 Oct 2016 11:39:54 -0300
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CACf=Z5j1mMznM7e=fJkUYG+RbeWg-yU9V4n8qjyuU-dzHD8R=Q@mail.gmail.com> |
Hi, i have some modems with a crazy leak and change ramdon from one port to another without any notice in dmesg or some place. The modem works using /dev/ttyUSB0 and when it gets working for a while then change to the other port /dev/ttyUSB1. /dev/ttyUSB0 works with a AT comand and you can get signal and other checks commands but at+cusd= not work anymore. Maybe you are in another workarround. If i kill and start again this still persist. Post your logs and maybe we can help you! Best regards. Emiliano. On Mon, Oct 24, 2016 at 7:43 AM, Karl Pielorz <[email protected]> wrote: > > Hi, > > We've been running Gammu under CentOS 7 recently - but the sms daemon keeps > 'hanging'. > > Symptoms are - it'll start, in the logs you can 'see' it chatting to our > Huawei USB modem, and running 'gammu-smsd-inject' can be used to send > messages. > > After a 'random' amount of time (20 minutes? - maybe an hour or few) - the > daemon stops 'noticing' there are SMS's to be sent. > > In the logs - we can still see it conversing with the modem (getting signal > strength info, network info etc.) 'dmesg' etc. confirm the modem isn't > hanging, or disappearing (i.e. off the USB bus). > > At this point 'kill' won't kill the daemon - you can 'kill -9' it - if you > restart it, it fires up - chats to the modem, see's there's a message to > send - and sends it. But then randomly 'hangs' again later. > > We're running 'CentOS Linux release 7.2.1511' - and I compiled Gammu 1.37.4 > from source. > > We're using a very simple conifg - with 'files' queues for in/out SMS'd etc > (config is below). > > Any suggestions? - It doesn't seem to 'crash' - it just stops noticing > there's stuff to send (and at that point a regular SIGTERM won't quit it - > only a SIGKILL. > > I've found a few posts / articles about this - but nothing with any > concrete fixes / relevant to the versions I'm running. > > Thanks, > > -Karl > > > gammu.cfg: > > [gammu] > port = /dev/ttyUSB2 > connection = at115200 > synchronizetime = yes > logfile = /var/log/gammu-three.log > logformat = textall > debuglevel = 255 > > StatusFrequency = 0 > > [smsd] > Service = files > logfile = /var/log/gammu-three.log > debuglevel = 255 > InboxPath = /var/spool/sms/inbox-three/ > OutboxPath = /var/spool/sms/outbox-three/ > SentSMSPath = /var/spool/sms/sent-three/ > ErrorSMSPath = /var/spool/sms/error-three/ > PhoneID = three > ReceiveFrequency = 15 > Receive = true > > > > > ------------------------------------------------------------ > ------------------ > 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 > -- Emiliano Vazquez | PcCentro S.R.L. White 1611 | C.P. C1407IJG | C.A.B.A. Office: +54 (11) 4635-7764 Celular: 15.6253.7165 Mail: [email protected] <[email protected]> Web: http://www.pccentro.com.ar ------------------------------------------------------------------------------ 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