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. Sun May 19, 2024 19:49
SMSTools3 Community » Help and support Bottom

[solved] Serial Port: Permission Denied

  This topic is locked

Page:  1

Author Post
Member
Registered:
Jun 2009
Location: Manila, Philippines
Hi, i encountered this problem and i tried
chmod 775 /dev/ttyS0
still no luck...

im using cygwin btw..



2009-08-15 22:31:05,7, smsd: Running startup_check (shell): /tmp/smsd_script.jmdj4g /tmp/smsd_data.W1QRhd
2009-08-15 22:31:05,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0
2009-08-15 22:31:05,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2009-08-15 22:31:05,5, smsd: Outgoing file checker has started. PID: 2348.
2009-08-15 22:31:05,5, GSM1: Modem handler 0 has started. PID: 2128.
2009-08-15 22:31:05,3, GSM1: Cannot open serial port /dev/ttyS0, error: Permission denied
2009-08-15 22:31:05,2, GSM1: Modem handler 0 terminated. PID: 2128, was started 09-08-15 22:31:05.
2009-08-15 22:31:21,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 2348.
2009-08-15 22:31:21,2, smsd: Smsd mainprocess terminated. PID 2348, was started 09-08-15 22:31:05.

Administrator
Registered:
May 2009
Location: Jyväskylä, Finland
I assume that you have already resolved this issue?

Just check who owns the port ( ls -l /dev/com1 ) and check which account is used to run smsd. Then adjust permissions, if necessary.

From the another topic:
kaloyzki, at Sat Aug 15, 2009 09:03, wrote
hello,
is it normal to have this error when you run sms3 on terminal as an ordinary user? because i always have to login as root before i can run sms3 or else i get the error below:



kaloyzki, at Sat Aug 15, 2009 12:39, wrote
I'm having a problem, i've been figuring this out for almost 6 hours already.

this is the simplest smsd.conf file of mine


Then i started the smsd


I am sure that the ttyS0 is correct, i tested it and tried sending a message through minicom and it went through, i can also read message from the phone. i received the message. but whenever i try to send a message to the phone connected to my computer, nothing is received. /var/spool/sms/incoming is empty.


what's goin on? :(

Probably you had resolved these issues too? At least you could check the permissions of a smsd.log file. If you still have problem with receiving, please show the log file and use code tags.

Also, please do not put questions as an answer to the old topic which is not owned by you. This is because those posts are not answers to the original question and the owner of a topic will get an e-mail notification each time when a new answer is posted...

Member
Registered:
Jun 2009
Location: Manila, Philippines
Topic owner
My apologies to the thread starter....
I've already resolved this issue thank you!

Member
Registered:
Jun 2009
Location: Manila, Philippines
Topic owner
Another tip for users having this same problem on Windows using cygwin, make sure that no other program is using your com port. Be it hyperterminal or if you are using vmware, disconnect first your serial port in your virtual machine.

  This topic is locked

Page:  1

SMSTools3 Community » Help and support Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.