bilal ghayyad
2013-Aug-29 09:47 UTC
[asterisk-users] Installing asterisk and dahdi on ubuntu
Hello; I am installing asterisk and dahdi on ubuntu "and I used my username bghayad to login for ubuntu and do the installation, actually I feel my problem is related to the?username and permission but I am not able how to fix it", I am facing now mainly the following two problems: The first one, asterisk is not starting automatically although I did sudo make config (for asterisk and dahdi) and the asterisk and dahdi scripts have been created under /etc/init.d/ The second problem, I started asterisk using asterisk -cvvv and from the CLI, I tried dahdi show version and?dahdi show status, I am getting the following results: *CLI> dahdi show status No DAHDI found. Unable to open /dev/dahdi/ctl: Permission denied Command 'dahdi show status ' failed. *CLI> dahdi show version Failed to open control file to get version. Below is my ubuntu information: bghayad at Bilal:/usr/sbin$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: ? ?Ubuntu 12.04.1 LTS Release: ? ? ? ?12.04 Codename: ? ? ? precise Regards Bilal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130829/01e4a8cd/attachment.htm>
On Thursday 29 August 2013, bilal ghayyad wrote:> Hello; > > I am installing asterisk and dahdi on ubuntu "and I used my username > bghayad to login for ubuntu and do the installation, actually I feel my > problem is related to the username and permission but I am not able how to > fix it", I am facing now mainly the following two problems:Just because the initscripts exist in .etc/init.d, does not mean that they are symbolically linked from /etc/rc[0-6].d. I think Ubuntu uses "update-rc.d" to do this, but you will have to refer to your documentation. To deal with the permissions thing, try $ sudo su - which will give you a normal root prompt. -- AJS Answers come *after* questions.
Thorsten Göllner
2013-Aug-29 10:02 UTC
[asterisk-users] Installing asterisk and dahdi on ubuntu
Permissions: take a look at "/etc/udev/rules.d/dahdi.rules". Last line. OWNER and GROUP should be the same as the user running the asterisk process (root or asterisk?). Am 29.08.2013 11:47, schrieb bilal ghayyad:> Hello; > > I am installing asterisk and dahdi on ubuntu "and I used my username > bghayad to login for ubuntu and do the installation, actually I feel > my problem is related to the username and permission but I am not able > how to fix it", I am facing now mainly the following two problems: > > The first one, asterisk is not starting automatically although I did > sudo make config (for asterisk and dahdi) and the asterisk and dahdi > scripts have been created under /etc/init.d/ > > The second problem, I started asterisk using asterisk -cvvv and from > the CLI, I tried dahdi show version and dahdi show status, I am > getting the following results: > > *CLI> dahdi show status > No DAHDI found. Unable to open /dev/dahdi/ctl: Permission denied > Command 'dahdi show status ' failed. > > *CLI> dahdi show version > Failed to open control file to get version. > > > Below is my ubuntu information: > > bghayad at Bilal:/usr/sbin$ lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 12.04.1 LTS > Release: 12.04 > Codename: precise >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130829/1e772b97/attachment.htm>
Possibly Parallel Threads
- Not able to find the file zaptel.conf after compiling asterisk and zaptel
- How can we block the calls for specific code
- DAHDI, and 64 bit machine
- In Dahdi: what we use instead of /sbin/ztcfg -vv
- DAHDI: How to know since when it is used? How to shutdown after max time?