Keywords: Mode: All keywords (AND) |
Mon Jan 13, 2014 12:16
|
francisb: Operating system name and version: Ubuntu server 12.04
Version of smsd: 3.1.15
Smsd installed from: sources
Name and model of a modem / phone: Nokia E72-1
Interface: USB
Hello,
I have setup Open Monitoring Distribution (OMD) with installes Nagios and Check_mk amongst others.
With OMD you create a site that is running under a user.
Now when Check_MK is trying to sms i will get a error, becauseits running under the user of that site.
Running it using root permission is working fine.
the error i recieve when running as the user is the following:
chown: changing ownership of `/tmp/smsd_J9qzGi': Operation not permitted
Output: mktemp: failed to create file via template `/var/spool/sms/outgoing/send_XXXXXX': Permission denied
Output: mv: missing destination file operand after `/tmp/smsd_J9qzGi'
Now permissions under the linux is not my strongest point.
i read the article about setting permission under a user but i can not quite crap it.
So i need your help :P
Now i believe the changing owership error is the main error i need to solve. But because i come from a Windows environment i do not know how to procede solving this. And what the best practice is.
Any help is welcome.
|
Thu Jun 21, 2012 08:15
|
francisb: ok, solved it myself to create the file myself and to chown to smstools owner.
Also needed to create a smsd.pid file and changed the ownership to smstools
|
Thu Jun 21, 2012 08:06
|
francisb: Operating system name and version: Centos 6
Version of smsd: 3
Smsd installed from: Yum
Name and model of a modem / phone: Nokia C2-01
Interface: USB
Hello,
When i start smsd (/etc/initd.d/smsd start) i get the following error:
smsd: Infofile /var/run/smsd.working cannot be created: Permission denied
smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
smsd: There was 1 major problem found.
smsd: Smsd mainprocess terminated.
How can i solve this?
Thanks!
|