List Info

Thread: Call for testers




Asterisk Fails to Run
user name
2006-09-12 09:42:38
The time finally came for me to move * off my test server and place it on another machine so as to eliminate the test box.
 
First off this machine is an old P166 with 96MB of RAM but I'm only using * for personal use, 1 call at a time so I've got to believe it will work. I installed the ports collection, updated it with portsnap and then ran the install. It took over 24 hours for the build to complete and this time I got it to build without having to modify the Makefile. That's a new one for me as I usually had to add WITHOUT_FAX=1 to get it to work on some other machines.
 
Second, zaptel did not appear to get configured right. When it was all over there was a /usr/local/etc/zaptel.sh but it's no good. Won't load anything. So I copied over the zaptel.sh file from the other machine and zaptel.ko and ztdummy.ko, etc all loaded fine.
 
Third, and worst of all, this machine has PostgreSQL on it from some previous work I was doing with it. But I did not install PostgreSQL from the ports. I built it from source. pgsql works fine on this machine. But for some reason * starts looking for it and the last lines of the CLI screen, before * exits is this:
 
[cdr_pgsql.so]Sep 12 05:12:33 WARNING[2302]: loader.c:325 __load_resource: Shared object "libpq.so.4" not found, required by "cdr_pgsql.so"
Sep 12 05:12:33 WARNING[2302]: loader.c:554 load_modules: Loading module cdr_pgsql.so failed!
Ouch ... error while writing audio data: : Broken Pipe
 
I don't really know how to attack this problem. Can anyone offer some advice on what this means? I don't use PostgreSQL with * for now and don't know why * is looking for it. Further, why does * exit? Is it due to pgsql or is the Broken Pipe message the clue here?
 

 


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
Asterisk Fails to Run
user name
2006-09-12 09:53:49
> I don't really know how to attack this problem. Can
anyone offer  
> some advice on what this means? I don't use PostgreSQL
with * for  
> now and don't know why * is looking for it. Further,
why does *  
> exit? Is it due to pgsql or is the Broken Pipe message
the clue here?

Because you've got PostgreSQL installed, when you built
Asterisk it  
installed the cdr_postgres module automatically. Simply add
a line to  
modules.conf:

noload => cdr_pgsql.so

Then restart Asterisk. This should solve your problems.

--
Jeremy Bogan
VoiceBox Communications
[ jeremyvoicebox.net.au ]



_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Asterisk Fails to Run
user name
2006-09-12 09:56:39
On Tue, Sep 12, 2006 at 02:42:38AM -0700, Frank Griffith
wrote:
>    __load_resource: Shared object
"libpq.so.4" not found, required by
>    "cdr_pgsql.so"
> 
>    Sep 12 05:12:33 WARNING[2302]: loader.c:554
load_modules: Loading
>    module cdr_pgsql.so failed!
> 
>    Ouch ... error while writing audio data: : Broken
Pipe
> 
> 
> 
>    I don't really know how to attack this problem. Can
anyone offer some
>    advice on what this means? I don't use PostgreSQL
with * for now and
>    don't know why * is looking for it. Further, why
does * exit? Is it
>    due to pgsql or is the Broken Pipe message the clue
here?

If you don't use pgsql with *, add 

noload => cdr_pgsql.so 

to /usr/local/etc/asterisk/modules.conf
so * won't try to load this module.

hth

fabian 
-- 
Our users will know fear and cower before our software!
 Ship it! Ship it and let them flee like the dogs they are!
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Asterisk Fails to Run
user name
2006-09-12 15:16:12
I had this happen to me too, and I don't even have pgsql
installed.  Try 
adding noload => cdr_pgsql.so to your modules.conf so
that it doesn't try to 
load that module.

-Tim

On September 12, 2006 05:42, Frank Griffith wrote:
> The time finally came for me to move * off my test
server and place it on
> another machine so as to eliminate the test box.
>
>   First off this machine is an old P166 with 96MB of
RAM but I'm only using
> * for personal use, 1 call at a time so I've got to
believe it will work. I
> installed the ports collection, updated it with
portsnap and then ran the
> install. It took over 24 hours for the build to
complete and this time I
> got it to build without having to modify the Makefile.
That's a new one for
> me as I usually had to add WITHOUT_FAX=1 to get it to
work on some other
> machines.
>
>   Second, zaptel did not appear to get configured
right. When it was all
> over there was a /usr/local/etc/zaptel.sh but it's no
good. Won't load
> anything. So I copied over the zaptel.sh file from the
other machine and
> zaptel.ko and ztdummy.ko, etc all loaded fine.
>
>   Third, and worst of all, this machine has PostgreSQL
on it from some
> previous work I was doing with it. But I did not
install PostgreSQL from
> the ports. I built it from source. pgsql works fine on
this machine. But
> for some reason * starts looking for it and the last
lines of the CLI
> screen, before * exits is this:
>
>   [cdr_pgsql.so]Sep 12 05:12:33 WARNING[2302]:
loader.c:325
> __load_resource: Shared object "libpq.so.4"
not found, required by
> "cdr_pgsql.so" Sep 12 05:12:33
WARNING[2302]: loader.c:554 load_modules:
> Loading module cdr_pgsql.so failed! Ouch ... error
while writing audio
> data: : Broken Pipe
>
>   I don't really know how to attack this problem. Can
anyone offer some
> advice on what this means? I don't use PostgreSQL with
* for now and don't
> know why * is looking for it. Further, why does * exit?
Is it due to pgsql
> or is the Broken Pipe message the clue here?
>
>
>
> ---------------------------------
> Do you Yahoo!?
>  Everyone is raving about the  all-new Yahoo! Mail.

-- 
Tim St. Pierre

IP telephony specialist
sip://5101communicatefreely.net
Toronto: 647 722 6930
Toll-Free 1 888 488 6940
timcommunicatefreely.net
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Asterisk Fails to Run
user name
2006-09-12 15:16:12
I had this happen to me too, and I don't even have pgsql
installed.  Try 
adding noload => cdr_pgsql.so to your modules.conf so
that it doesn't try to 
load that module.

-Tim

On September 12, 2006 05:42, Frank Griffith wrote:
> The time finally came for me to move * off my test
server and place it on
> another machine so as to eliminate the test box.
>
>   First off this machine is an old P166 with 96MB of
RAM but I'm only using
> * for personal use, 1 call at a time so I've got to
believe it will work. I
> installed the ports collection, updated it with
portsnap and then ran the
> install. It took over 24 hours for the build to
complete and this time I
> got it to build without having to modify the Makefile.
That's a new one for
> me as I usually had to add WITHOUT_FAX=1 to get it to
work on some other
> machines.
>
>   Second, zaptel did not appear to get configured
right. When it was all
> over there was a /usr/local/etc/zaptel.sh but it's no
good. Won't load
> anything. So I copied over the zaptel.sh file from the
other machine and
> zaptel.ko and ztdummy.ko, etc all loaded fine.
>
>   Third, and worst of all, this machine has PostgreSQL
on it from some
> previous work I was doing with it. But I did not
install PostgreSQL from
> the ports. I built it from source. pgsql works fine on
this machine. But
> for some reason * starts looking for it and the last
lines of the CLI
> screen, before * exits is this:
>
>   [cdr_pgsql.so]Sep 12 05:12:33 WARNING[2302]:
loader.c:325
> __load_resource: Shared object "libpq.so.4"
not found, required by
> "cdr_pgsql.so" Sep 12 05:12:33
WARNING[2302]: loader.c:554 load_modules:
> Loading module cdr_pgsql.so failed! Ouch ... error
while writing audio
> data: : Broken Pipe
>
>   I don't really know how to attack this problem. Can
anyone offer some
> advice on what this means? I don't use PostgreSQL with
* for now and don't
> know why * is looking for it. Further, why does * exit?
Is it due to pgsql
> or is the Broken Pipe message the clue here?
>
>
>
> ---------------------------------
> Do you Yahoo!?
>  Everyone is raving about the  all-new Yahoo! Mail.

-- 
Tim St. Pierre

IP telephony specialist
sip://5101communicatefreely.net
Toronto: 647 722 6930
Toll-Free 1 888 488 6940
timcommunicatefreely.net
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Asterisk Fails to Run
user name
2006-09-12 20:29:13
Thanks. That took care of my problem with pgsql.
 
Someday I'll figure out how to interface pgsql with *. But that's another day.


Jeremy Bogan <jeremyvoicebox.net.au> wrote:
> I don't really know how to attack this problem. Can anyone offer
> some advice on what this means? I don't use PostgreSQL with * for
> now and don't know why * is looking for it. Further, why does *
> exit? Is it due to pgsql or is the Broken Pipe message the clue here?

Because you've got PostgreSQL installed, when you built Asterisk it
installed the cdr_postgres module automatically. Simply add a line to
modules.conf:

noload => cdr_pgsql.so

Then restart Asterisk. This should solve your problems.

--
Jeremy Bogan
VoiceBox Communications
[ jeremyvoicebox.net.au ]



_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd

&#32;


Stay in the know. Pulse on the new Yahoo.com. Check it out.
X101P Card Feaks Out
user name
2006-11-17 01:44:44
I'm running FreeBSD-6.1 with *-1.2.13, zaptel-1.0

I installed an X101P card and finally got it configured. But there's a catch. When I kldload all the zt... stuff the card shows up fine and zttool shows the card is there with no Red Alarm. I can make a call to the * server from one of my other lines and it will answer...take a message, let me join a conference room...all is well. But then I hangup and sometimes the card doesn't hangup. Other times there is a loud buzzing sound that comes through the phone I'm calling on. This buzzing persists when I pick up one of the extensions on the same linr that the * server is plugged in to.

I can stop * and unload the zt... stuff then restart everything and it will work okay again for one, maybe two calls. Then it freaks out again.

Can anyone offer some advice on what I should try next?


Sponsored Link

$420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your Mortgage? Find Out!
Asterisk 1.4.0-beta3 on FreeBSD-6.1
user name
2006-11-24 15:37:53
I've been using FreeBSD for many years but I'm far
from being a programmer and know even less about the
Makefiles. I've been reading the manpage on make and
it's really confusing to a novice like myself.

I would like to try and install the new *-1.4.0-beta3
on my system along with the new libpri and zaptel. I
made note of all the dependencies during my last build
of * and then on a new machine did a pkg_add for them.
I was amazed at how fast this process works as
compared to the ports method. Anyway, I got everything
loaded with the exception of autoconf. I then untarred
the new beta versions of libpri, zaptel and asterisk.

Of course I realize this will probably not install as
per the FBSD filesystem discipline,
/usr/local/etc/...but I'm trying. I logged into the
#freebsd chatroom on freenode and was immediately sent
packing with all the rude comments and
misunderstandings from those who either don't know
what * is or were pissed that I was trying something
new...outside of the ports...I heard everything from
from RTFM to give it up if you're not as smart as us.
Sheesh! Some people.

I read a few weeks ago that someone in this mailing
list got *-1.4 installed on FreeBSD. Can anyone tell
me more about how this is done? What do I need to do
to the Makefiles? I really want to try out the new gui
that comes with *-1.4.

Thanks in advance.


 
____________________________________________________________
________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.c
om/unlimited
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Asterisk 1.4.0-beta3 on FreeBSD-6.1
user name
2006-11-24 15:43:17
24 nov 2006 kl. 16.37 skrev Frank Griffith:

> I've been using FreeBSD for many years but I'm far
> from being a programmer and know even less about the
> Makefiles. I've been reading the manpage on make and
> it's really confusing to a novice like myself.
>
> I would like to try and install the new *-1.4.0-beta3
> on my system along with the new libpri and zaptel. I
> made note of all the dependencies during my last build
> of * and then on a new machine did a pkg_add for them.
> I was amazed at how fast this process works as
> compared to the ports method. Anyway, I got everything
> loaded with the exception of autoconf. I then untarred
> the new beta versions of libpri, zaptel and asterisk.
>
> Of course I realize this will probably not install as
> per the FBSD filesystem discipline,
> /usr/local/etc/...but I'm trying. I logged into the
> #freebsd chatroom on freenode and was immediately sent
> packing with all the rude comments and
> misunderstandings from those who either don't know
> what * is or were pissed that I was trying something
> new...outside of the ports...I heard everything from
> from RTFM to give it up if you're not as smart as us.
> Sheesh! Some people.
>
> I read a few weeks ago that someone in this mailing
> list got *-1.4 installed on FreeBSD. Can anyone tell
> me more about how this is done? What do I need to do
> to the Makefiles? I really want to try out the new gui
> that comes with *-1.4.

The FreeBSD support needs nothing special.
- Unpack
- Run ./configure
- Optionally, run menuselect to disable modules
- run make

Make install will install in /usr/local now.

I have not tried with the FreeBSD zaptel though, that may
need  
something, but I hope it should not.

/O
_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
Asterisk 1.4.0-beta3 on FreeBSD-6.1
user name
2006-11-30 17:33:41
On Fri, Nov 24, 2006 at 04:43:17PM +0100, Olle E Johansson
scribbled:
# The FreeBSD support needs nothing special.
# - Unpack
# - Run ./configure
# - Optionally, run menuselect to disable modules
# - run make
# 
# Make install will install in /usr/local now.
# 
# I have not tried with the FreeBSD zaptel though, that may
need  
# something, but I hope it should not.
# 
# /O


All,


I've been using SVN trunk prior to the 1.4 branch, and now
the
1.4 branch on FreeBSD 6.{0,1,2} RELEASEs, RCs, BETAs,
STABLEs,
etc for some time now.  It works great except for one
problem;

zaptel is hosed.

The reason for this, iirc, is that just prior to the 1.4
branch
point, zaptel and chan_zap were changed in a few major ways
relating to codecs(I think?), and zaptel-bsd does not work
at
all with this in mind.

I've tried for the asterisk 1.4-beta/libpri/zaptel
installation
a few times with no actual results.  It just doesn't work,
from
what I can tell.  I believe the zaptel-bsd port needs a sync
from
the digium svn repository specifically to make it so.

At this point, I've been using 1.2 or a linux-based gateway,
of
which neither are preferred.


Keep in mind -- 1.4 works GREAT on freebsd, better than
ever..
just not with zaptel.

It does install to /usr/local correctly as well.  Good job,
guys!


Hope this at least answers a question or so.


-- Jonathan Towne


_______________________________________________
Asterisk-BSD mailing list
Asterisk-BSDlists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-bsd
[1-10] [11-20]

about | contact  Other archives ( Real Estate discussion Medical topics )