SMS Server Tools 3
This site is hosted by Kekekasvi.com
 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. Please login or register. Fri Mar 29, 2024 12:39
SMSTools3 Community » Help and support Bottom

Cannot open serial port /dev/ttyS0, error: Permission denied

Login and Post Reply

Page:  1

Author Post
Member
Registered:
Feb 2015
Location: johor, Malaysia
Operating system name and version: fedora server version 21
Version of smsd: 3.1.5
Smsd installed from: package repository
Name and model of a modem / phone: Wavecom
Interface: serial

Question 1: I do not have any idea why I can only startup service if I am using user = smstools. If I change it to root, the service will failed with below msg:

Quote
â smsd.service - SYSV: sms server tools sends and receives short messages via GS M
Loaded: loaded (/etc/rc.d/init.d/smsd)
Active: failed (Result: exit-code) since Tue 2015-02-03 08:32:39 SGT; 18s ago
Docs: man:systemd-sysv-generator(8)
Process: 2834 ExecStart=/etc/rc.d/init.d/smsd start (code=exited, status=1/FAI LURE)

Feb 03 08:32:39 localhost.localdomain smsd[2834]: Starting smsd: Cannot open ...
Feb 03 08:32:39 localhost.localdomain smsd[2834]: [FAILED]
Feb 03 08:32:39 localhost.localdomain systemd[1]: smsd.service: control proce...
Feb 03 08:32:39 localhost.localdomain systemd[1]: Failed to start SYSV: sms s...
Feb 03 08:32:39 localhost.localdomain systemd[1]: Unit smsd.service entered f...
Feb 03 08:32:39 localhost.localdomain systemd[1]: smsd.service failed

Question 2: Once I success to start smsd service. I get below error also.
Quote
2015-02-03 08:49:55,5, smsd: Outgoing file checker has started. PID: 3507.
2015-02-03 08:49:55,5, smsd: Everything ok now.
2015-02-03 08:49:55,2, smsd: Smsd v3.1.15 started.
2015-02-03 08:49:55,2, smsd: Running as smstools:smstools.
2015-02-03 08:49:55,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.IM2VsX /tmp/smsd_data.TDPfSI
2015-02-03 08:49:55,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2015-02-03 08:49:55,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2015-02-03 08:49:55,5, GSM2: Modem handler 0 has started. PID: 3508. Will only send messages.
2015-02-03 08:49:55,3, GSM2: Couldn't open serial port /dev/ttyS0, error: Permission denied, waiting 30 sec.
2015-02-03 08:50:25,3, GSM2: Cannot open serial port /dev/ttyS0, error: Permission denied
2015-02-03 08:50:25,2, GSM2: Modem handler 0 terminated. PID: 3508, was started 15-02-03 08:49:55.

Wish to get help over here. thanks a lot

Best Regards,
Swee Lai

Member
Registered:
Dec 2012
Location: Cáceres, Brazil
ok apply the following command "chmod 777 / dev / ttyUSB *" without quotes!

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.