PDA

Voir la version complète : PROBLEME Installation dahdi sur REDHAT 6



selacoul
17/02/2016, 14h23
Bonjour Tout le monde,
J'ai un problème avec l'installtion de DAHDI sous red hat6.

Mais étape de configuration en bref pour DAHDI:

-wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz

-tar zxvf dahdi-linux-complete-current.tar.gz
-cd /usr/src/dahdi-linux-complete-2.6.2+2.6.2/
-make && make install && make config

-------------------
En sorti j'ai ça:
---------------
.....
libtool: install: /usr/bin/install -c dahdi_test /usr/sbin/dahdi_test
libtool: install: /usr/bin/install -c dahdi_maint /usr/sbin/dahdi_maint
libtool: install: /usr/bin/install -c dahdi_monitor /usr/sbin/dahdi_monitor
libtool: install: /usr/bin/install -c .libs/dahdi_cfg /usr/sbin/dahdi_cfg
libtool: install: /usr/bin/install -c dahdi_speed /usr/sbin/dahdi_speed
libtool: install: /usr/bin/install -c dahdi_scan /usr/sbin/dahdi_scan
libtool: install: /usr/bin/install -c fxotune /usr/sbin/fxotune
libtool: install: /usr/bin/install -c sethdlc /usr/sbin/sethdlc
make install-exec-hook
make[4]: entrant dans le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
make -f ./Makefile.legacy top_srcdir=. srcdir=. install
make[5]: entrant dans le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
/sbin/restorecon -v /usr/lib/
################################################## #
###
### DAHDI tools installed successfully.
### If you have not done so before, install init scripts with:
###
### make config
###
################################################## #
make[5]: quittant le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
Compatibility symlinks (should be removed in the future)
ln -sf libtonezone.so.2.0.0 /usr/lib/libtonezone.so.2.0
make[4]: quittant le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
/bin/mkdir -p '/etc/dahdi'
/usr/bin/install -c -m 644 system.conf.sample assigned-spans.conf.sample span-types.conf.sample modules.sample '/etc/dahdi'
/bin/mkdir -p '/usr/include/dahdi'
/usr/bin/install -c -m 644 tonezone.h '/usr/include/dahdi'
/bin/mkdir -p '/etc/udev/rules.d'
/usr/bin/install -c -m 644 dahdi.rules '/etc/udev/rules.d'
make install-data-hook
make[4]: entrant dans le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
mkdir -p /etc/bash_completion.d
install -m 644 ./dahdi-bash-completion /etc/bash_completion.d/dahdi
make[4]: quittant le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
make[3]: quittant le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
make[2]: quittant le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
make[1]: quittant le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
make -C tools config
make[1]: entrant dans le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »
make[1]: Rien à faire pour « config ».
make[1]: quittant le répertoire « /usr/src/dahdi-linux-complete-2.11.0+2.11.0/tools »



Et quand je fait :

-service dahdi start

j'ai ça en retour:

dahdi: service non reconnu



Merci d'avance pour votre aide.

YBDOMO
17/02/2016, 20h22
bonsoir,


etant donne que je suis inscrit a asterisk-users@lists.digium.com

je joins une copie d'un mail reçu ce jour




On Mon, Feb 15, 2016 at 05:28:14PM +0200, Tzafrir Cohen wrote:
> On Mon, Feb 15, 2016 at 02:15:58PM +0000, Ryan, Travis wrote:
>> Getting the some errors making dahdi 2.11.0.
>>
>> Seems same as listed here http://forums.asterisk.org/viewtopic.php?f=1&t=96455
>>
>> In that link they say to use 2.10.2 but that's from December. Is there a fix yet for this?
>
> My bad, I forgot to push the fix for that.
>
> http://git.asterisk.org/gitweb/?p=dahdi/tools.git;a=commit;h=e1da7b528467a8f8f82058993b2e0 1333677ee39
>
> You may need to run autoreconf after applying this patch to rebuild the
> Makefile (though IIRC the makefile will be re-generated by running
> 'make').

And while I'm at it:

http://git.asterisk.org/gitweb/?p=dahdi/tools.git;a=commit;h=6057ef25e984a2c7f8327b872233b a610b9aabe6

Another thing to note: you should install pkg-config (though practically
you only need it to detect libusb, that is: for building
Astribank-related utilities). If you installed libusb(1)-dev but it is
still not detected, maybe it is because pkg-config is not installed.

sur des tests effectués avec debian je me suis confronté a ce PB sous RedHat a verifier


A+

selacoul
18/02/2016, 13h47
Bonjour,
Merci c'est bon maintenant.
J'ai changé de version et tout est OK
Cordialement.

Abdelaziz
02/06/2016, 17h08
Bonjour
j'ai un system centos 6.8 et j'essay de demarrer le service dahdi mais le problem reste le méme qu'est: ( dahdi: unrecognized service)
je m'excuse sur ma langue et je vous remercie d'avance

YBDOMO
02/06/2016, 17h42
Bonjour,
il suffit de se placer sous
répertoire de compilation de dahdi

faire cd ./tools

exécuter make install-config il devrait fonctionner.


A+