SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Thu Nov 21, 2024 17:21
SMSTools3 Community » Help and support Bottom

Logrotate force-reload breaks SMStools

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Apr 2017
Location: pucky_wins, South Africa
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?

Quote
/var/log/smstools/smsd.log {
rotate 12
weekly
compress
missingok
postrotate
invoke-rc.d smstools force-reload > /dev/null
endscript
}


Member
Registered:
Apr 2017
Location: pucky_wins, South Africa
Topic owner
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.


Quote
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.

Login and Post Reply

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.