Author Topic: asterisk chan_sccp not load  (Read 6081 times)

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
asterisk chan_sccp not load
« on: October 21, 2015, 01:08:49 pm »
after  last update    asterisk chan_sccp  not load  all my phones  not workling

 WARNING[10412]: loader.c:486 load_dynamic_module: Error loading module 'chan_sccp.so': /usr/lib/asterisk/modules/chan_sccp.so: undefined symbol: sched_context_destroy
[Oct 21 09:04:36] WARNING[10412]: loader.c:902 load_resource: Module 'chan_sccp.so' could not be loaded.


apt-get dist-upgrade  install asterisk-11 

i downgrade to asterisk 1.8  and  now  is working

« Last Edit: October 21, 2015, 01:31:57 pm by cfernandes »

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1756
    • View Profile
Re: asterisk chan_sccp not load
« Reply #1 on: October 21, 2015, 09:33:58 pm »
I've updated svn with the latest sccp channel driver, it'll hit the 1204 repository after the next update.  Follow: http://wiki.linuxmce.org/index.php/LinuxMCE-1204_pre-alpha to keep up with what's happening.

J.
« Last Edit: October 21, 2015, 10:14:16 pm by phenigma »

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1756
    • View Profile
Re: asterisk chan_sccp not load
« Reply #2 on: October 26, 2015, 10:37:40 pm »
This was caused by my not upgrading the asterisk -dev pkgs on the builder before chan_sccp was pkg'd.  I believe it is resolved now, let us know if this is still an issue.

J.

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: asterisk chan_sccp not load
« Reply #3 on: October 27, 2015, 03:46:31 pm »
is  working  now

thank you   

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: asterisk chan_sccp not load
« Reply #4 on: October 27, 2015, 06:08:52 pm »
cfernandes,

is that with the latest package or with the manually installed package I gave to you?

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: asterisk chan_sccp not load
« Reply #5 on: October 28, 2015, 05:37:10 pm »
Posde,

is a manually installed 

apt-get install --reinstall chan-sccp-b   

can`t  download  package


Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: asterisk chan_sccp not load
« Reply #6 on: October 28, 2015, 10:42:05 pm »
Please paste apt-cache policy chan-sccp-b

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: asterisk chan_sccp not load
« Reply #7 on: October 29, 2015, 11:31:53 am »
Posde,

chan-sccp-b:
   Installed: 4.2.0-4
   Candidate: 4.2.0-4
version table:
*** 4.2.0-4 0
         100 /var/lib/dpkg/status
4.2.0-4-precise1 0
       500 file:/usr/pluto/deb-cache/Ubuntu-precise-i386/ . / Packages
       500 http://deb.linuxmce.org/ubuntu/ precise/main i386 packages


apt-get install --reinstall chan-sccp-b 
Reading package lists ... Done
Reading state information... Done
Reinstallation of  chan-sccp-b is not possible, it cannot be downloaded.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: asterisk chan_sccp not load
« Reply #8 on: October 29, 2015, 12:08:22 pm »
please remove it, and reinstall it
Code: [Select]
dpkg -r chan-sccp-b
apt-get install chan-sccp-b

should do the trick. There is a slight difference in version numbering which probably causes the issue of apt-get install --reinstall not working.

Feedback is appreciated.

cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: asterisk chan_sccp not load
« Reply #9 on: October 29, 2015, 01:34:14 pm »
posde,

I try this, but lmce-asterisk depends chan-sccp-b




Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3675
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: asterisk chan_sccp not load
« Reply #10 on: October 29, 2015, 03:37:44 pm »
Code: [Select]
dpkg -r --force-all chan-sccp-b


cfernandes

  • Guru
  • ****
  • Posts: 359
    • View Profile
    • my company web site
Re: asterisk chan_sccp not load
« Reply #11 on: October 29, 2015, 11:21:21 pm »
posde,


after force  remove chan-sccp-b

apt-get update
apt-get install chan-sccp-b

The following NEW packages will be installed:
  chan-sccp-b
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 0 B/377 kB of archives.
After this operation, 10.2 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  chan-sccp-b
Authentication warning overridden.
Err file:/usr/pluto/deb-cache/ubuntu-precise-i386/ ./ chan-sccp-b 4.2.0-4~precise1
  File not found
Get:1 http://deb.linuxmce.org/ubuntu/ precise/main chan-sccp-b i386 4.2.0-4~precise1 [377 kB]
Fetched 1 B in 0s (2 B/s)
Failed to fetch http://deb.linuxmce.org/ubuntu/dists/precise/main/binary-i386/chan-sccp-b_4.2.0-4~precise1_i386.deb  Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
dcerouter_1041767:~#

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1756
    • View Profile
Re: asterisk chan_sccp not load
« Reply #12 on: October 29, 2015, 11:44:48 pm »
That's some weird shit right there.  Yup.

Code: [Select]
rm /usr/pluto/deb-cache/ubuntu-precise-i386/chan-sccp*
/usr/pluto/bin/UpdateDebCache.sh
then you *should* be able to

Code: [Select]
apt-get update
apt-get install chan-sccp-b
again.  Drop into IRC at somepoint for faster troubleshooting here.  The issue has arisen due to how we version our packages, our current version is actually considered older than the pkg you had installed (it's not, but it's how we have to version our pkgs to have multiple distributions use the same pkg version and use debian package maintenance utilities like reprepro for repository creation.)

If posde create the package he sent you from the same source then I don't expect any differences at all.  But it would be best for you to have the same version we are using, since you help us out with asterisk so much.  I thank you for that btw!  :)

Jason

pointman87

  • Guru
  • ****
  • Posts: 171
    • View Profile
Re: asterisk chan_sccp not load
« Reply #13 on: October 30, 2015, 05:23:32 pm »
If you delete /usr/lib/asterisk/modules/chan_sccp.so and then apt-get install --reinstall chan-sccp-b it works