Hi All, I have a CentOS server that I am trying to configure Asterisk on 1.4 on. Everything seems to go ok, with regards to compiling Zaptel, Libpri, Asterisk (will be using kernel 2.6 timer and ztdummy) Unfortunately I can't insmod / modprobe ztdummy. [root @xyz src]# modprobe ztdummy FATAL: Module ztdummy not found. FATAL: Error running install command for ztdummy [root@xyz src]# insmod ztdummy insmod: can't read 'ztdummy': No such file or directory This is really causing me to scratch my head, the timer module is loaded ok, I simply don't know what is going wrong with the modules? I'm a bit out of my depth with CentOS, as this isn't my server (I'm a Slackware guy) Any pointers seriously appreciated. Thanks Chris -- Chris Blunt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070403/4f1779d6/attachment.htm
Philipp Kempgen
2007-Apr-03 04:13 UTC
[asterisk-users] Zaptel 1.4.1 Install Modules CentOS
Chris Blunt wrote:> I have a CentOS server that I am trying to configure Asterisk on 1.4 on. > > Everything seems to go ok, with regards to compiling Zaptel, Libpri, > Asterisk (will be using kernel 2.6 timer and ztdummy) > > Unfortunately I can't insmod / modprobe ztdummy.Did you yum install kernel-devel-`uname -r` ? # Install dev tools: yum install gcc gcc-c++ compat-gcc-32 compat-gcc-32-c++ autoconf libtool make automake automake14 automake15 automake16 automake17 bison byacc flex libtermcap libtermcap-devel newt newt-devel ncurses ncurses-devel openssl-devel zlib zlib-devel krb5-devel # Zaptel: cd /usr/src/ \ && wget -c http://ftp.digium.com/pub/zaptel/zaptel-1.4.1.tar.gz \ && tar -xzf zaptel-1.4.1.tar.gz \ && cd /usr/src/zaptel-1.4.1/ \ && make clean && ./configure && make && make install && make config \ && modprobe ztdummy Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998
On Tue, Apr 03, 2007 at 11:57:57AM +0100, Chris Blunt wrote:> Hi All, > > > > I have a CentOS server that I am trying to configure Asterisk on 1.4 on. > > > > Everything seems to go ok, with regards to compiling Zaptel, Libpri, > Asterisk (will be using kernel 2.6 timer and ztdummy) > > > > Unfortunately I can't insmod / modprobe ztdummy. >Have you run 'make install'? What is the output of modinfo zaptel Any change if you run: depmod> > > [root @xyz src]# modprobe ztdummy > > FATAL: Module ztdummy not found. > > FATAL: Error running install command for ztdummy > > [root@xyz src]# insmod ztdummy > > insmod: can't read 'ztdummy': No such file or directoryinsmod ./ztdummy.ko But it should fail (e.g: because zaptel is not loaded). -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Hi Tzafir / List.
Thank you for your reply.
I have run: make clean
Configure
Make
Make install
I get no compile errors, but still the same problems if I try to insmod
zaptel
As you suggested I tried modinfo zaptel
Which resulted in: modinfo: could not find module zaptel
I also tried depmod with the same result and finally I tried insmod
./ztdummy from the src/zaptel-1.4.1 directory which resulted in: insmod:
error inserting './ztdummy.ko': -1 Invalid module format
Your continued help is much appreciated.
Chris
Original Message Reads.
Message: 8
Date: Tue, 3 Apr 2007 19:57:40 +0300
From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Subject: Re: [asterisk-users] Zaptel 1.4.1 Install Modules CentOS
To: asterisk-users@lists.digium.com
Message-ID: <20070403165740.GN2726@xorcom.com>
Content-Type: text/plain; charset=us-ascii
On Tue, Apr 03, 2007 at 11:57:57AM +0100, Chris Blunt wrote:
> Hi All,
>
>
>
> I have a CentOS server that I am trying to configure Asterisk on 1.4 on.
>
>
>
> Everything seems to go ok, with regards to compiling Zaptel, Libpri,
> Asterisk (will be using kernel 2.6 timer and ztdummy)
>
>
>
> Unfortunately I can't insmod / modprobe ztdummy.
>
Have you run 'make install'?
What is the output of
modinfo zaptel
Any change if you run:
depmod
>
>
> [root @xyz src]# modprobe ztdummy
>
> FATAL: Module ztdummy not found.
>
> FATAL: Error running install command for ztdummy
>
> [root@xyz src]# insmod ztdummy
>
> insmod: can't read 'ztdummy': No such file or directory
insmod ./ztdummy.ko
But it should fail (e.g: because zaptel is not loaded).
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir@jabber.org
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com <http://www.xorcom.com/>
iax:guest@local.xorcom.com/tzafrir
--
Chris Blunt
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070404/5b3a4a2a/attachment.htm
Chris Blunt
2007-Apr-04 09:52 UTC
[asterisk-users] RE: Zaptel 1.4.1 Install Modules CentOS
Hello again I tried the "yum install kernel-smp-devel" this seemed to download an updated version that was not the same as the version running, so I backed it out using "rpm -e kernel-smp-devel" I then proceeded to do "uname -r" to verify the kernel version (output: 2.6.9-42.0.3.ELsmp) and did "yum install kernel-smp-devel-2.6.9-42.0.3.EL.i686" If I now do ls -l /lib/modules/`uname -r` I do get " build -> /usr/src/kernels/2.6.9-42.0.3.EL-smp-i686" I have then tried recompiling zaptel. But same trouble I'm afraid! I can't thank you enough for your continued help. Chris -- Chris Blunt -----Original Message----- yum install kernel-smp-devel> > I did check the "/lib/modules/2.6.9-42.0.3.ELsmp" directory but there isno> build link, could this be the problem?Yes. No suggested location for the kerenl source. This should be fixed by installing the relevant kernel-devel package (which has a partial copy of the kernel build tree, configured for the specific kernel) -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir ------------------------------
Chris Blunt
2007-Apr-10 04:12 UTC
*****SPAM***** [asterisk-users] Re: Zaptel 1.4.1 Install Modules CentOS
Software zur Erkennung von "Spam" auf dem Rechner
priamus.teamware-gmbh.de
hat die eingegangene E-mail als m?gliche "Spam"-Nachricht
identifiziert.
Die urspr?ngliche Nachricht wurde an diesen Bericht angeh?ngt, so dass
Sie sie anschauen k?nnen (falls es doch eine legitime E-Mail ist) oder
?hnliche unerw?nschte Nachrichten in Zukunft markieren k?nnen.
Bei Fragen zu diesem Vorgang wenden Sie sich bitte an
postmaster@teamware-gmbh.de
Vorschau: Hello again I tried the "yum install kernel-smp-devel" this
seemed to download an updated version that was not the same as the version
running, so I backed it out using "rpm -e kernel-smp-devel" I then
proceeded
to do "uname -r" to verify the kernel version (output:
2.6.9-42.0.3.ELsmp)
and did "yum install kernel-smp-devel-2.6.9-42.0.3.EL.i686" [...]
Inhaltsanalyse im Detail: (4.7 Punkte, 3.5 ben?tigt)
Pkte Regelname Beschreibung
---- ---------------------- --------------------------------------------------
0.1 FORGED_RCVD_HELO "Received"-Kopfzeilen enthalten gef?lschte
HELO-Identifikation
0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails
-2.6 BAYES_00 BODY: Spamwahrscheinlichkeit nach Bayes-Test: 0-1%
[score: 0.0000]
1.7 MSGID_DOLLARS Muster in Kopfzeile "Message-ID" typisch
f?r Spam
1.9 RATWARE_MS_HASH Bulk email fingerprint (msgid ms hash) found
2.8 RATWARE_OUTLOOK_NONAME Bulk email fingerprint (Outlook no name) found
0.7 AWL AWL: From: address is in the auto white-list
-------------- next part --------------
An embedded message was scrubbed...
From: "Chris Blunt" <chris.blunt@entropy-it.com>
Subject: [asterisk-users] Re: Zaptel 1.4.1 Install Modules CentOS
Date: Tue, 10 Apr 2007 12:03:16 +0100
Size: 4582
Url:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070410/86c88632/attachment.eml
Chris Blunt
2007-Apr-11 02:13 UTC
*****SPAM***** [asterisk-users] RE: Zaptel 1.4.1 Install Modules CentOS
Software zur Erkennung von "Spam" auf dem Rechner
priamus.teamware-gmbh.de
hat die eingegangene E-mail als m?gliche "Spam"-Nachricht
identifiziert.
Die urspr?ngliche Nachricht wurde an diesen Bericht angeh?ngt, so dass
Sie sie anschauen k?nnen (falls es doch eine legitime E-Mail ist) oder
?hnliche unerw?nschte Nachrichten in Zukunft markieren k?nnen.
Bei Fragen zu diesem Vorgang wenden Sie sich bitte an
postmaster@teamware-gmbh.de
Vorschau: Hi List / Tzafrir I can't thank you enough for your support
through this problem. I had another look on voip-info.org/wiki at CentOS.
[...]
Inhaltsanalyse im Detail: (4.6 Punkte, 3.5 ben?tigt)
Pkte Regelname Beschreibung
---- ---------------------- --------------------------------------------------
0.1 FORGED_RCVD_HELO "Received"-Kopfzeilen enthalten gef?lschte
HELO-Identifikation
0.0 DK_POLICY_SIGNSOME Domain Keys: policy says domain signs some mails
-2.6 BAYES_00 BODY: Spamwahrscheinlichkeit nach Bayes-Test: 0-1%
[score: 0.0000]
1.7 MSGID_DOLLARS Muster in Kopfzeile "Message-ID" typisch
f?r Spam
1.9 RATWARE_MS_HASH Bulk email fingerprint (msgid ms hash) found
2.8 RATWARE_OUTLOOK_NONAME Bulk email fingerprint (Outlook no name) found
0.6 AWL AWL: From: address is in the auto white-list
-------------- next part --------------
An embedded message was scrubbed...
From: "Chris Blunt" <chris.blunt@entropy-it.com>
Subject: [asterisk-users] RE: Zaptel 1.4.1 Install Modules CentOS
Date: Wed, 11 Apr 2007 10:08:04 +0100
Size: 5750
Url:
http://lists.digium.com/pipermail/asterisk-users/attachments/20070411/5d1ca612/attachment.eml
Philipp Kempgen
2007-Apr-11 02:25 UTC
*****SPAM***** [asterisk-users] RE: Zaptel 1.4.1 Install Modules CentOS
> Software zur Erkennung von "Spam" auf dem Rechner > > priamus.teamware-gmbh.de > > hat die eingegangene E-mail als m?gliche "Spam"-Nachricht identifiziert. > Die urspr?ngliche Nachricht wurde an diesen Bericht angeh?ngt, so dass > Sie sie anschauen k?nnen (falls es doch eine legitime E-Mail ist) oder > ?hnliche unerw?nschte Nachrichten in Zukunft markieren k?nnen. > Bei Fragen zu diesem Vorgang wenden Sie sich bitte an > > postmaster@teamware-gmbh.deStop it. If you consider it spam, discard it. Don't tell the list. Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998