Ad Widget

Collapse

Problem with privileges to the SMS Tools

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MKSL
    Junior Member
    • Dec 2021
    • 3

    #1

    Problem with privileges to the SMS Tools

    Hello , I have problem with send sms via Zabbix..
    It's mean ,when I try send by Media type and gets it
    • Text: subject
    • To: XXXXXXXXXXXX
    • mktemp: failed to create file via template ‘/var/spool/sms/outgoing/send_XXXXXX’: Permission denied
    • mv: missing destination file operand after '/tmp/smsd_bDQqtE'
    • Try 'mv --help' for more information.
    • To: Test
    • mktemp: failed to create file via template ‘/var/spool/sms/outgoing/send_XXXXXX’: Permission denied
    • mv: missing destination file operand after '/tmp/smsd_lmxflC'
    • Try 'mv --help' for more information.
    Can You help me? I'm begginer
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    What is the name of the SMS Template you're using, and where did you get it?

    What version of Zabbix server are you running?

    The template is using the Linux "mktemp" command to attempt to securely create a temporary file, but it's attempting to create it in a directory that the 'zabbix' user doesn't have permission to write to. It's also not doing enough error checking.

    That might mean that there's some additional setup that you need to do, or it could possibly mean that the template you're using is doing something it shouldn't be. If you provide the information on your Zabbix server and the template and where it came from, that might help suggest a way to fix the issue.

    Comment

    • MKSL
      Junior Member
      • Dec 2021
      • 3

      #3
      Thank you for your response
      I am using Zabbix version 5.0
      and as for the template, I am using a script

      Comment

      • MKSL
        Junior Member
        • Dec 2021
        • 3

        #4
        Thank you for your response
        I am using Zabbix version 5.0
        and as for the template, I am using a script
        for send sms I installed:
        SMS Server Tools 3 - Text messaging application for Windows and any Unix.

        Comment

        Working...