Re: [asterisk-users] Permanent restart after upgrade

2011-06-10 Thread Steve Totaro
On Fri, Jun 10, 2011 at 1:48 AM, Hans Witvliet  wrote:
> On Thu, 2011-06-09 at 16:32 -0700, Steve Edwards wrote:
>> On Thu, 9 Jun 2011, Hans Witvliet wrote:
>>
>> > I went originally from a almost working machine running:
>> > asterisk180-1.8.3.2-87.1
>> >
>> > To a machine that continuously restarts asterisk (+core dumps) running:
>> > asterisk180-1.8.3-85.2
>>
>> Any chance you have a mix of Asterisk and module versions? Was
>> Zaptel/Dahdi compiled with the proper set of headers for your kernel?
>>
>> Can you start Asterisk from the command line instead of the usual startup
>> script? What do the first couple of errors look like? Capturing the output
>> via the 'script' command will help.
>>
>> For example*,
>>
>>       script foo
>>       sudo /usr/sbin/asterisk -C /etc/asterisk/asterisk.conf\
>>               -c -d -d -d -f -g -n -p -q -v -v -v
>>       exit
>>
>> Can you turn off auto module loading and start with no modules?
>>
>> *) I'm a 1.2 Luddite, so the command line arguments may have changed...
>>
> No dahdi/zaptel involved.
> I'll be off to work in a while, report back later.
>
>
> hw
>

It amazes me when people run into a problem but refuse to post logs or
verbose when you start Asterisk.  Nothing meaninful.

I would wager a gentleman's bet that I can have your system working
just fine in a half hour or less (unless your bandwidth sucks).

If I do it, then you have to post to the list and you owe me a favor,
plus, in the future you have to help someone else.

If I don't, I have to post my failure to the list and I owe you a favor.

I have spare cycles, just let me know.

Thanks,
Steve Totaro

--
_
-- 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] Permanent restart after upgrade

2011-06-09 Thread Hans Witvliet
On Thu, 2011-06-09 at 16:32 -0700, Steve Edwards wrote:
> On Thu, 9 Jun 2011, Hans Witvliet wrote:
> 
> > I went originally from a almost working machine running: 
> > asterisk180-1.8.3.2-87.1
> >
> > To a machine that continuously restarts asterisk (+core dumps) running: 
> > asterisk180-1.8.3-85.2
> 
> Any chance you have a mix of Asterisk and module versions? Was 
> Zaptel/Dahdi compiled with the proper set of headers for your kernel?
> 
> Can you start Asterisk from the command line instead of the usual startup 
> script? What do the first couple of errors look like? Capturing the output 
> via the 'script' command will help.
> 
> For example*,
> 
>   script foo
>   sudo /usr/sbin/asterisk -C /etc/asterisk/asterisk.conf\
>   -c -d -d -d -f -g -n -p -q -v -v -v
>   exit
> 
> Can you turn off auto module loading and start with no modules?
> 
> *) I'm a 1.2 Luddite, so the command line arguments may have changed...
> 
No dahdi/zaptel involved.
I'll be off to work in a while, report back later.


hw

--
_
-- 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] Permanent restart after upgrade

2011-06-09 Thread Hans Witvliet
On Fri, 2011-06-10 at 07:21 +0800, Larry Moore wrote:
> On 10/06/2011 5:32 AM, Hans Witvliet wrote:
> > Hi all,
> >
> > I got three asterisk-machines, two of them acting as proxies.
> > On one machine (sles11sp1) i got iritating messages about not bing able
> > to find codec's and other stuff, so i thought it might be time for an
> > update: Stupid!
> >
> > I went originally from a almost working machine running:
> > asterisk180-alsa-1.8.3.2-87.1
> > asterisk180-dahdi-1.8.3.2-87.1
> > asterisk180-1.8.3.2-87.1
> > asterisk180-odbc-1.8.3.2-87.1
> >
> > To a machine that continuously restarts asterisk (+core dumps) running:
> > asterisk180-alsa-1.8.4.2-90.1
> > asterisk180-dahdi-1.8.4.2-90.1
> > asterisk180-1.8.3-85.2
> > asterisk180-odbc-1.8.4.2-90.1
> >
> >
> > Jun  9 16:35:44 kc3004 kernel: [  713.970342] asterisk[5122]:
> > segfault at 7fedcb450716 ip 7fedeff89c8a sp 7fff4b4d5d38 error 7 in 
> > libpthread-2.11.1.so[7fedeff7f000+17000]
> >
> > No change in config or other settings.
> >
> > Any suggestions are very much welcome...
> > (only thing that puzzles me is that the repo contains 1.8.3 for main
> > asterisk, and 1.8.4 for the rest)
> >
> >
> 
> One thought comes to mind, I'm not sure if you are using the same 
> computer with the same IP address or if you have set up a different 
> computer with the new installation which probably has a different IP 
> address, if the latter I would suggest you check your configuration file 
> for bindings to specific IP addresses and make sure they match the new 
> machine.
> 
> Larry.

Hi Larry,

No, identical machine,
just did a "zypper up -y"
Because of a kernel patch (main reason for updating), i had to reboot.
Just a sip and IAX machine, no harware involved.

hw


--
_
-- 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] Permanent restart after upgrade

2011-06-09 Thread Steve Totaro
On Thu, Jun 9, 2011 at 7:32 PM, Steve Edwards  wrote:
> On Thu, 9 Jun 2011, Hans Witvliet wrote:
>
>> I went originally from a almost working machine running:
>> asterisk180-1.8.3.2-87.1
>>
>> To a machine that continuously restarts asterisk (+core dumps) running:
>> asterisk180-1.8.3-85.2
>
> Any chance you have a mix of Asterisk and module versions? Was Zaptel/Dahdi
> compiled with the proper set of headers for your kernel?
>
> Can you start Asterisk from the command line instead of the usual startup
> script? What do the first couple of errors look like? Capturing the output
> via the 'script' command will help.
>
> For example*,
>
>        script foo
>        sudo /usr/sbin/asterisk -C /etc/asterisk/asterisk.conf\
>                -c -d -d -d -f -g -n -p -q -v -v -v
>        exit
>
> Can you turn off auto module loading and start with no modules?
>
> *) I'm a 1.2 Luddite, so the command line arguments may have changed...
>
> --
> Thanks in advance,
> -
> Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000
>

I am mostly a 1.2 guy myself.

Kill safe_asterisk wherever that is being loaded so it stops trying to
start over and over.

I would start with a whole system update and reboot.  Then I would
build everything from source, make sure to whack all of the modules
before doing a menuselect and selecting the modules you need in
Asterisk and then compile.

Generally, when I see this, it is a module problem after an upgrade.
Delete all the modules as I said, only select the modules  you need.
compile Asterisk.  Look at the verbose when starting asterisk with
-v.  It will generally show you what the offending module is, the
logs just as useful if not more.

Edit your modules.conf  to correct the problem.

When you start Asterisk from the command line with verbose, you should
see where or what module is failing.  Asterisk log files are also very
useful.

My final piece of advice is not to use bleeding edge versions of
Asterisk unless they can make coffee too.

1.2 works great for all of my installations.  T38 support forced me to
use 1.6.x a couple of times.  Since I purchased licensees for FAX for
Asterisk, I expected some support from Digium.  After months of no
answers from Digium or the community, I ditched it and took a big lump
from the company I was working for at the time.

FAX was extremely important to them, each user got a DID for voice and
a DID for FAX.  It worked Ok over TDM PRIs but not SIP.

This was a direct 100meg cross connect from Level 3's cage to our cage
at Equinix in Ashburn VA.

I finally got a refund but nothing could make up for the lost trust in
me from the staff.

1.2 it is.

Thanks,
Steve Totaro

--
_
-- 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] Permanent restart after upgrade

2011-06-09 Thread Steve Edwards

On Thu, 9 Jun 2011, Hans Witvliet wrote:

I went originally from a almost working machine running: 
asterisk180-1.8.3.2-87.1


To a machine that continuously restarts asterisk (+core dumps) running: 
asterisk180-1.8.3-85.2


Any chance you have a mix of Asterisk and module versions? Was 
Zaptel/Dahdi compiled with the proper set of headers for your kernel?


Can you start Asterisk from the command line instead of the usual startup 
script? What do the first couple of errors look like? Capturing the output 
via the 'script' command will help.


For example*,

script foo
sudo /usr/sbin/asterisk -C /etc/asterisk/asterisk.conf\
-c -d -d -d -f -g -n -p -q -v -v -v
exit

Can you turn off auto module loading and start with no modules?

*) I'm a 1.2 Luddite, so the command line arguments may have changed...

--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000

--
_
-- 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] Permanent restart after upgrade

2011-06-09 Thread Larry Moore

On 10/06/2011 5:32 AM, Hans Witvliet wrote:

Hi all,

I got three asterisk-machines, two of them acting as proxies.
On one machine (sles11sp1) i got iritating messages about not bing able
to find codec's and other stuff, so i thought it might be time for an
update: Stupid!

I went originally from a almost working machine running:
asterisk180-alsa-1.8.3.2-87.1
asterisk180-dahdi-1.8.3.2-87.1
asterisk180-1.8.3.2-87.1
asterisk180-odbc-1.8.3.2-87.1

To a machine that continuously restarts asterisk (+core dumps) running:
asterisk180-alsa-1.8.4.2-90.1
asterisk180-dahdi-1.8.4.2-90.1
asterisk180-1.8.3-85.2
asterisk180-odbc-1.8.4.2-90.1


Jun  9 16:35:44 kc3004 kernel: [  713.970342] asterisk[5122]:
segfault at 7fedcb450716 ip 7fedeff89c8a sp 7fff4b4d5d38 error 7 in 
libpthread-2.11.1.so[7fedeff7f000+17000]

No change in config or other settings.

Any suggestions are very much welcome...
(only thing that puzzles me is that the repo contains 1.8.3 for main
asterisk, and 1.8.4 for the rest)




One thought comes to mind, I'm not sure if you are using the same 
computer with the same IP address or if you have set up a different 
computer with the new installation which probably has a different IP 
address, if the latter I would suggest you check your configuration file 
for bindings to specific IP addresses and make sure they match the new 
machine.


Larry.

--
_
-- 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] Permanent restart after upgrade

2011-06-09 Thread Hans Witvliet
Hi all,

I got three asterisk-machines, two of them acting as proxies.
On one machine (sles11sp1) i got iritating messages about not bing able
to find codec's and other stuff, so i thought it might be time for an
update: Stupid!

I went originally from a almost working machine running:
asterisk180-alsa-1.8.3.2-87.1
asterisk180-dahdi-1.8.3.2-87.1
asterisk180-1.8.3.2-87.1
asterisk180-odbc-1.8.3.2-87.1

To a machine that continuously restarts asterisk (+core dumps) running:
asterisk180-alsa-1.8.4.2-90.1
asterisk180-dahdi-1.8.4.2-90.1
asterisk180-1.8.3-85.2
asterisk180-odbc-1.8.4.2-90.1


Jun  9 16:35:44 kc3004 kernel: [  713.970342] asterisk[5122]: 
segfault at 7fedcb450716 ip 7fedeff89c8a sp 7fff4b4d5d38 error 7 in 
libpthread-2.11.1.so[7fedeff7f000+17000]

No change in config or other settings.

Any suggestions are very much welcome...
(only thing that puzzles me is that the repo contains 1.8.3 for main
asterisk, and 1.8.4 for the rest)


Hans


--
_
-- 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