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 Mar 13, 2025 05:22
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
jamartinezdlv: Found the list of options for the config file. It was right there under my nose. Going through it now. Still, I do not think it is related to the config itself but the moved filesystem. Any hint would be appreciated. Thanks for your time reading this.
jamartinezdlv: Operating system name and version: Raspberry Pi 3B running Raspbian Bullseye Version of smsd: 3.1.21-4 Smsd installed from: sudo apt-get install smstools Name and model of a modem / phone: ZTE 110 Interface: /dev/ttyUSB4 Hello there. First post here, but I promise I have been reading, reviewed the slideshow, checked github for the documentation and used the forum search. I just might have been unluky or clumsy though. I installed and configured my smstools3 service on the raspi, while moving most folders to an external usb drive so the SD card won't wear out too soon. I am building a manager for my arduino iot devices on my farm, reporting back with SMS each sample they get. My smsd setup seems to be unstable at least and not starting if I do not add the "executable_check = no" to my configuration file. The error I get without the "not check" option is as simple as it is wrong: smsd: ! sh: 1: /mnt/Trascend4G/spool/sms/incoming/smsd_script.YvdfOz: Permission denied joseangel@raspberrypi:~ $ tail /mnt/Trascend4G/log/smstools/smsd.log 2024-06-29 14:30:08,2, smsd: Smsd mainprocess terminated. 2024-06-29 14:37:25,2, smsd: Smsd v3.1.21 started. 2024-06-29 14:37:25,2, smsd: Running as smsd:dialout (110:20). 2024-06-29 14:37:25,7, smsd: Running startup_check (shell): /mnt/Trascend4G/spool/sms/incoming/smsd_script.YvdfOz /tmp/smsd_data.Ormvpx 2024-06-29 14:37:26,3, smsd: Done: startup_check (shell), execution time 1 sec., status: 32256 (126) 2024-06-29 14:37:26,3, smsd: Exec: startup_check (shell) encountered errors: 2024-06-29 14:37:26,3, smsd: ! sh: 1: /mnt/Trascend4G/spool/sms/incoming/smsd_script.YvdfOz: Permission denied 2024-06-29 14:37:26,2, smsd: Shell /bin/sh testing failed: Failed to execute test script. 2024-06-29 14:37:26,2, smsd: There was 1 major problem found. 2024-06-29 14:37:26,2, smsd: Smsd mainprocess terminated. joseangel@raspberrypi:~ $ sudo systemctl status smstools ● smstools.service - LSB: starts smstools Loaded: loaded (/etc/init.d/smstools; generated) Active: active (exited) since Sat 2024-06-29 14:37:26 CEST; 25min ago Docs: man:systemd-sysv-generator(8) Process: 711 ExecStart=/etc/init.d/smstools start (code=exited, status=0/SUCCESS) CPU: 102ms Jun 29 14:37:25 raspberrypi systemd[1]: Starting LSB: starts smstools... Jun 29 14:37:25 raspberrypi smstools[711]: Starting SMS Daemon: smsd. Jun 29 14:37:26 raspberrypi systemd[1]: Started LSB: starts smstools. joseangel@raspberrypi:~ $ ls -la /mnt/Trascend4G/spool/sms/incoming/ total 160 drwxrwxrwx 2 joseangel joseangel 32768 Jun 29 14:37 . drwxrwxrwx 8 joseangel joseangel 32768 Jun 28 14:52 .. -rwxrwxrwx 1 joseangel joseangel 250 Jun 28 16:50 modem1.8Ssnjb -rwxrwxrwx 1 joseangel joseangel 250 Jun 28 17:17 modem1.p4hoUb -rwxrwxrwx 1 joseangel joseangel 250 Jun 28 16:52 modem1.VCqgIH -rwxrwxrwx 1 joseangel joseangel 0 Jun 29 11:04 ZTEmodem.test joseangel@raspberrypi:~ $ sudo -u smsd touch /mnt/Trascend4G/spool/sms/incoming/mytouchtest joseangel@raspberrypi:~ $ ls -la /mnt/Trascend4G/spool/sms/incoming/ total 160 drwxrwxrwx 2 joseangel joseangel 32768 Jun 29 15:03 . drwxrwxrwx 8 joseangel joseangel 32768 Jun 28 14:52 .. -rwxrwxrwx 1 joseangel joseangel 250 Jun 28 16:50 modem1.8Ssnjb -rwxrwxrwx 1 joseangel joseangel 250 Jun 28 17:17 modem1.p4hoUb -rwxrwxrwx 1 joseangel joseangel 250 Jun 28 16:52 modem1.VCqgIH -rwxrwxrwx 1 joseangel joseangel 0 Jun 29 15:03 mytouchtest -rwxrwxrwx 1 joseangel joseangel 0 Jun 29 11:04 ZTEmodem.test joseangel@raspberrypi:~ $ So, the error does not make sense, but it is obviously not completely cosmetic because when not run the check script, I have received and sent some SMSs but fails and hangs very often. Also, I could not find a complete list of the options at the smsd config file so my trials have been very limited. Chat GPT insists on permissions. Any clue what could be wrong? My smsd.conf follows: joseangel@raspberrypi:~ $ sudo cat /etc/smsd.conf # # /etc/smsd.conf # # Description: Main configuration file for the smsd # devices = modem1 #executable_check = no loglevel = 7 logfile = /mnt/Trascend4G/log/smstools/smsd.log stats = /mnt/Trascend4G/log/smstools/smsd.stats infofile = /mnt/Trascend4G/log/smstools/smsd.working # Paths to the SMS storage folders incoming = /mnt/Trascend4G/spool/sms/incoming outgoing = /mnt/Trascend4G/spool/sms/outgoing checked = /mnt/Trascend4G/spool/sms/checked failed = /mnt/Trascend4G/spool/sms/failed sent = /mnt/Trascend4G/spool/sms/sent report = /mnt/Trascend4G/spool/sms/reports # Modem settings [modem1] device = /dev/ttyUSB4 incoming = yes pin = 0000 baudrate = 115200 mode = new report = no memory_start = 1 init = AT+CNMI=1,2,0,1,0 rtscts = true cs_convert = yes internal_combine = no decode_unicode_text = no start = AT startsleeptime = 30 BTW, I changed the dongle from storage mode to modem mode with wvdial, here goes its config just in case it could be related (doubtfull, but since I do not know what is going on...). joseangel@raspberrypi:~ $ sudo cat /etc/wvdial.conf [Dialer Defaults] Modem = /dev/ttyUSB4 Modem Type = Analog Modem ISDN = 0 Init1 = AT+ZOPRT=5 Init2 = AT+ZCDRUN=8 joseangel@raspberrypi:~ $

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.