Keywords: Mode: All keywords (AND) |
Wed Mar 20, 2019 10:29
|
pucky_wins: Hi
This issue still presents itself in version 3.1.15. Was it supposed to be fixed?
|
Mon Jan 29, 2018 07:31
|
pucky_wins: Hi
It's happened again, the force-reload with lots of debug on ends with all the modems being checked for a PIN as below. Pins are disabled so that shouldn't happen.
2018-01-29 09:26:12,7, PCM_27: <- OK
2018-01-29 09:26:12,6, PCM_27: Checking if modem needs PIN
I've changed my logrotate script to restart instead of force-reload and I expect it to be ok now.
|
Mon Jan 22, 2018 07:01
|
pucky_wins: Operating system name and version : Ubuntu Trusty
Version of smsd: 3.1.15
Smsd installed from: package repository
Interface: USB via sim farm
Hi
Since I've upgraded to 1.15 my modems have been dead every monday morning. It looks like it's related to logrotate, more
specifically the force-reload. I've posted the logrotate script below. Any suggestions?
/var/log/smstools/smsd.log {
rotate 12
weekly
compress
missingok
postrotate
invoke-rc.d smstools force-reload > /dev/null
endscript
}
|
Fri Jul 28, 2017 07:51
|
|
Wed Jul 26, 2017 13:42
|
pucky_wins: Thanks, as follows:
/var/spool/sms/incoming/VOD_TEST-concatenated
( PRIVATE BLOCK )
|
Wed Jul 26, 2017 08:35
|
pucky_wins: Hi
I have the same issue on two of my SIMs.
2017-07-26 06:48:36,3, VOD_TEST: Message 0, not enough storage space.
It's come out of this part of code. I don't understand it enough to actually see what is wrong. Maybe the buffer just needs to get increased a bit.
It does seem though that everything is working ok. Any ideas?
snprintf(buffer, sizeof(buffer), "%.03i %c %-8.8s %-8.8s %s%.03i %.03i/%.03i %c\n", mnumber, sort_ch, date, time, sender, m_id, p_number, p_count, (is_statusreport) ? 'r' : 'i');
if (strlen(dest) +strlen(buffer) < size_dest)
strcat(dest, buffer);
else
{
writelogfile(LOG_ERR, 1, "Message %i, not enough storage space.", mnumber);
result = 4;
}
|
Thu Apr 20, 2017 08:21
|
|
Wed Apr 19, 2017 12:05
|
pucky_wins: Ubuntu 14.04:
3.1.15-1:
Smsd installed from repo
Hi
I've noticed that the incoming files don't get deleted unless I manually delete them in my eventHandler.
Am I doing something wrong or is this expected. Is it best to put in a cron to clear them out or unlink in the eventHandler.
Thanks!
|