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(
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.
Quote2015-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