Find the answer to your Linux question:
Results 1 to 5 of 5
Hey, Asterisk that installed in my server was working fine till yesterday. But I re-installed asterisk on my server. When I issue the below command sudo asterisk -r Unable to ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80

    How to change file permissions?

    Hey,

    Asterisk that installed in my server was working fine till yesterday. But I re-installed asterisk on my server. When I issue the below command sudo asterisk -r

    Unable to connect to remote does (var/run/asterisk.ctl? ) exists.

    I find the asterisk.ctl in /var/run/asterisk/asterisk.ctl, so I changed the path in asterisk.conf file to var/run/asterisk.

    Still I get the same error. I noticed that I saw a letter image over the asterisk.ctl file, is that giving me a problem.

    That image means, I don't have permission to access the file though I use SUDO right?

    Help me to fix this?

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    Unable to connect to remote does (var/run/asterisk.ctl? ) exists.

    I find the asterisk.ctl in /var/run/asterisk/asterisk.ctl, so I changed the path in asterisk.conf file to var/run/asterisk.
    If it is looking for asterisk.ctl in /var/run, maybe that
    path should be /var/run or maybe /var/run/asterisk.ctl
    instead of /var/run/asterisk.

  3. #3
    Just Joined! DaGoomba's Avatar
    Join Date
    Oct 2009
    Location
    In Space
    Posts
    57
    To change the file permissions of a program type:
    Code:
    sudo chmod [options] [mode[,mode...]] filename...
    If you lessen the security on the program, it should work. Hope this helps.

  4. #4
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80
    Hey,

    I tried the chmod option like below:

    Code:
    sudo chmod 777 /var/run -R
    I even tried changing to /var/run/asterisk.ctl.



    I have re-installed asterisk and components nearly 2 or 3 times.
    Still I get the error

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    80
    Hey,

    Can anyone help me, to solve or fix this below message?

    res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.


    Coz I'm able to register in my x-lite phone with Register with domain and recieve incoming calls unchecked.

    But if I check the option, it doesn't allow me to register.

    I think because of the above missing module, sudo asterisk -r doesn't connect.

    Any help would be great!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...