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:09
SMSTools3 Community » Help and support Bottom

SMSD File Permission

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Aug 2016
Location: Silver Spring, MD, United States of America
Operating system name and version: Ubuntu 16.04
Version of smsd: 3.15
Smsd installed from: sources / package repository / from elsewhere... Repository
Name and model of a modem / phone: GSM Modem ZTE
Interface: serial / USB / some adapter... USB

Hi:

I just installed SMSTools running with PlaySMS1.4. The installation seems to be okay except for forced termination of smsd every time the application starts (see log below). I even added 'sudo chmod -R 755 /var/spool/sms' to /etc/rc.local to force the appropriate permission for that directory but the application shuts down due to the file permission problems. I have reproduced this error several times with manual start/restart of smsd. It seems like there is a fix for this problem given the extensive use of SMSTools. Can anyone assist? The log is shown below. Thanks.

2016-08-02 03:30:01,2, smsd: Smsd v3.1.15 started.
2016-08-02 03:30:02,2, smsd: Running as smsd:dialout.
2016-08-02 03:30:02,2, smsd: Spool directory /var/spool/sms/outgoing is not writable.
2016-08-02 03:30:02,2, smsd: Failed directory /var/spool/sms/failed is not writable.
2016-08-02 03:30:02,2, smsd: Incoming directory /var/spool/sms/incoming is not writable.
2016-08-02 03:30:02,2, smsd: Sent directory /var/spool/sms/sent is not writable.
2016-08-02 03:30:02,2, smsd: Queue directory var/spool/sms/GSM1 is not writable.
2016-08-02 03:30:02,2, smsd: Shell /bin/sh testing failed: Cannot create test script file.
2016-08-02 03:30:02,2, smsd: There was 6 major problems found.
2016-08-02 03:30:02,2, smsd: Smsd mainprocess terminated.

Member
Registered:
Jul 2016
Location: Turkey
Did you checked owner and group of the "sms" folder and it's subfolders?
What is the "ls -la" output in "/var/spool" and "/var/spool/sms"
If you see owner and group names different than "smsd" (For example "root") than you need to change owner and group to "smsd"



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.