Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > How to change file permissions?

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 2 Weeks Ago   #1 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 73
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?
Rachel is offline  


Reply With Quote
Old 2 Weeks Ago   #2 (permalink)
Linux Enthusiast
 
rcgreen's Avatar
 
Join Date: May 2006
Location: the hills
Posts: 716
Send a message via Yahoo to rcgreen
Quote:
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.
rcgreen is offline   Reply With Quote
Old 2 Weeks Ago   #3 (permalink)
Just Joined!
 
DaGoomba's Avatar
 
Join Date: Oct 2009
Location: In Space
Posts: 34
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.
DaGoomba is offline   Reply With Quote
Old 2 Weeks Ago   #4 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 73
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
Rachel is offline   Reply With Quote
Old 2 Weeks Ago   #5 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 73
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!
Rachel is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 05:51 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2