Comment 2 for bug 63713

Revision history for this message
Anders Wallenquist (aw) wrote : Re: [Bug 63713] Re: /var/run/asterisk does not exist

Lionel Porcheron skrev:
> Which version of Ubuntu are you using ?

Ubuntu 6.06, 2.6.15-27-server
> Which version of asterisk
> package (dpkg -l asterisk*) ?
>
>
aw@homer ~ $ sudo asterisk -V
Asterisk 1.2.7.1

and

aw@asterisk:~$ sudo asterisk -V
Password:
Asterisk 1.2.7.1-BRIstuffed-0.3.0-PRE-1n

aw@asterisk:~$ dpkg -l asterisk*
Önskat=Okänd(U)/Installera(I)/Radera(R)/Rensa(P)/Håll(H)
| Status=Ej(N)/Installerad(I)/Konf.(C)/Uppackad(U)/Misslyckad(F)/Delvis(H)
|/ Fel?Inget(=)/Håll(H)/Ominstallera(R)/Båda(X) (Status,Fel: versaler=illa)
||/ Namn Version Beskrivning
+++-==============-==============-============================================
ii asterisk 1.2.7.1.dfsg-2 Open Source Private Branch Exchange
(PBX) -
ii asterisk-brist 1.2.7.1.dfsg-2 Open Source Private Branch Exchange
(PBX) -
rc asterisk-chan- 0.6.5-1 Common ISDN API 2.0 implementation for
Aster
un asterisk-class <ingen> (beskrivning saknas)
ii asterisk-confi 1.2.7.1.dfsg-2 config files for asterisk
un asterisk-confi <ingen> (beskrivning saknas)
un asterisk-dev <ingen> (beskrivning saknas)
un asterisk-doc <ingen> (beskrivning saknas)
un asterisk-oh323 <ingen> (beskrivning saknas)
ii asterisk-promp 0.8-2 Swedish voice prompts for Asterisk
un asterisk-rate- <ingen> (beskrivning saknas)
un asterisk-sound <ingen> (beskrivning saknas)
un asterisk-sound <ingen> (beskrivning saknas)
ii asterisk-sound 1.2.7.1.dfsg-2 sound files for asterisk

I believe there is a typo in /etc/init.d/asterisk

70
71 if [ ! -e `dirname $PIDFILE` ];then
72 mkdir `dirname $PIDFILE`
73 chown asterisk.asterisk `dirname $PIDFILE`
74 fi
75

chown asterisk:asterisk

as it is now owner and group still are root:root.

By the way.. I have touble getting a Digium Wildcard TE110P T1/E1 to
work with the zaptel-module. I had to recompile to get the modules to
load. But i still can't load chan_zap into asterisk and the small red
light does not light-up (Digium says that light whould light when
kernel-modules are loaded). Havent found any bug reports on the zaptel
module. My local Digium reseller tells me to change to RHEL or Fedora
:-( Should I try with Edgy asterisk/zaptel-packages instead? Do I have
to backport or can I use the binaries? How can I tell if the TE110P-card
really are working? (Are there any Ubuntu asterisk 1.2.7.1/zapata 1.2.5
with TE110P working out there?)

Regards
Anders Wallenquist
Kreawit