Re: [asterisk-users] Installing asterisk and dahdi on ubuntu
On 29/08/2013, at 10:02 PM, Thorsten Göllner wrote: > 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: >> Also did you start dahdi? /etc/init.d/dahdi start This happens when its not running In asterisk you can module load chan_dahdi but if dahdi isn't running then it won't help >> *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@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 >> > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [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@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 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Installing asterisk and dahdi on ubuntu
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. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[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@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-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users