Hi: I upgraded SuSE to 10 and Asterisk to trunk and now after deleting all modules and previously compiled stuff and recompiling asterisk, zaptel, and libpri, I get this failure of asterisk to start: [pbx_realtime.so]Apr 25 03:36:41 WARNING[8269]: loader.c:726 __load_resource: new style pbx_realtime.so (0x31) loaded RTLD_LOCAL => (Realtime Switch) [chan_mgcp.so]Apr 25 03:36:41 WARNING[8269]: loader.c:726 __load_resource: new style chan_mgcp.so (0x1) loaded RTLD_LOCAL => (Media Gateway Control Protocol (MGCP)) == Parsing '/etc/asterisk/mgcp.conf': Found == MGCP Listening on 0.0.0.0:2727 == Using TOS bits 0 == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP)) [chan_zap.so]Apr 25 03:36:41 WARNING[8269]: loader.c:718 __load_resource: /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: pri_restart Apr 25 03:36:41 WARNING[8269]: loader.c:850 print_and_load: Loading module chan_zap.so failed! I modified modules.conf to add noload => res_snmp.so, because it fails. I've tried recompiling libpri and everything and modifying path variables. Please help!! _______________________________________________________ For the record, if it is of help Env is: LESSKEY=/etc/lesskey.bin NNTPSERVER=news INFODIR=/usr/local/info:/usr/share/info:/usr/info MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome/share/man KDE_MULTIHEAD=false SSH_AGENT_PID=6720 HOSTNAME=ScottSuSE DM_CONTROL=/var/run/xdmctl GNOME2_PATH=/usr/local:/opt/gnome:/usr XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB GPG_AGENT_INFO=/tmp/gpg-NIZ0pv/S.gpg-agent:17362:1 HOST=ScottSuSE TERM=xterm SHELL=/bin/bash PROFILEREAD=true HISTSIZE=1000 XDM_MANAGED=/var/run/xdmctl/xdmctl-:1,maysd,mayfn,sched,rsvd,method=classic GTK2_RC_FILES=/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes//Qt/gtk-2.0/gtkrc:/root/.gtkrc-2.0-qtengine:/root/.kde/share/config/gtkrc-2.0 GTK_RC_FILES=/etc/opt/gnome/gtk/gtkrc:/root/.gtkrc:/root/.kde/share/config/gtkrc GNOME_PATH=:/opt/gnome:/usr GS_LIB=/root/.fonts WINDOWID=46137351 OLDPWD=/etc/asterisk QTDIR=/usr/lib/qt3 XSESSION_IS_UP=yes KDE_FULL_SESSION=true GROFF_NO_SGR=yes JRE_HOME=/usr/lib/jvm/java/jre USER=root LS_COLORS=no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: DESKTOP_LAUNCH=kde-open OPENWINHOME=/usr/openwin XNLSPATH=/usr/X11R6/lib/X11/nls SSH_AUTH_SOCK=/tmp/ssh-IWHyx6676/agent.6676 HOSTTYPE=x86_64 SESSION_MANAGER=local/ScottSuSE:/tmp/.ICE-unix/6784 FROM_HEADERPAGER=less XDG_CONFIG_DIRS=/usr/local/etc/xdg/:/etc/xdg/:/etc/opt/gnome/xdg/ LD_HWCAP_MASK=0x20000000 KONSOLE_DCOP=DCOPRef(konsole-6808,konsole) MINICOM=-c on GNOMEDIR=/opt/gnome DESKTOP_SESSION=default PATH=/sbin:/usr/sbin:/usr/local/sbin:/opt/kde3/sbin:/opt/gnome/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin CPU=x86_64 JAVA_BINDIR=/usr/lib/jvm/java/bin KONSOLE_DCOP_SESSION=DCOPRef(konsole-6808,session-1) INPUTRC=/etc/inputrc PWD=/usr/src/asterisk/libpri XMODIFIERS=@im=local JAVA_HOME=/usr/lib/jvm/java LANG=POSIX PYTHONSTARTUP=/etc/pythonstart SDK_HOME=/usr/lib/jvm/java SSH_ASKPASS=/usr/lib64/ssh/x11-ssh-askpass TEXINPUTS=::/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX:/root/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX JDK_HOME=/usr/lib/jvm/java SHLVL=2 HOME=/root LESS_ADVANCED_PREPROCESSOR=no OSTYPE=linux LS_OPTIONS=-a -N --color=tty -T 0 XCURSOR_THEME=crystalwhite WINDOWMANAGER=/usr/bin/dbus-launch --sh-syntax --exit-with-session /usr/X11R6/bin/kde GTK_PATH=/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0 LESS=-M -I MACHTYPE=x86_64-suse-linux LOGNAME=root GTK_PATH64=/usr/local/lib64/gtk-2.0:/opt/gnome/lib64/gtk-2.0:/usr/lib64/gtk-2.0 CVS_RSH=ssh XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/etc/opt/kde3/share/:/opt/kde3/share/:/opt/gnome/share/ ACLOCAL_FLAGS=-I /opt/gnome/share/aclocal LC_CTYPE=en_US.UTF-8 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-z1RTWWV1Gq,guid=3beb4d44c3081877355afd4083cca800 PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig LESSOPEN=lessopen.sh %s USE_FAMINFOPATH=/usr/local/info:/usr/share/info:/usr/info:/opt/gnome/share/info DISPLAY=:1 XAUTHLOCALHOSTNAME=ScottSuSE LESSCLOSE=lessclose.sh %s %s G_BROKEN_FILENAMES=1 JAVA_ROOT=/usr/lib/jvm/java COLORTERM_=/usr/bin/env
Eric "ManxPower" Wieling
2006-Apr-26 05:37 UTC
[Asterisk-Users] Another undefined pri_restart failure
Fred Noris wrote:> Hi: > > I upgraded SuSE to 10 and Asterisk to trunk and now > after deleting all modules and previously compiled > stuff and recompiling asterisk, zaptel, and libpri, I > get this failure of asterisk to start: > > [pbx_realtime.so]Apr 25 03:36:41 WARNING[8269]: > loader.c:726 __load_resource: new style > pbx_realtime.so (0x31) loaded RTLD_LOCAL > => (Realtime Switch) > [chan_mgcp.so]Apr 25 03:36:41 WARNING[8269]: > loader.c:726 __load_resource: new style chan_mgcp.so > (0x1) loaded RTLD_LOCAL > => (Media Gateway Control Protocol (MGCP)) > == Parsing '/etc/asterisk/mgcp.conf': Found > == MGCP Listening on 0.0.0.0:2727 > == Using TOS bits 0 > == Registered channel type 'MGCP' (Media Gateway > Control Protocol (MGCP)) > [chan_zap.so]Apr 25 03:36:41 WARNING[8269]: > loader.c:718 __load_resource: > /usr/lib/asterisk/modules/chan_zap.so: undefined > symbol: pri_restart > Apr 25 03:36:41 WARNING[8269]: loader.c:850 > print_and_load: Loading module chan_zap.so failed! > > I modified modules.conf to add noload => res_snmp.so, > because it fails. > > I've tried recompiling libpri and everything and > modifying path variables. > > Please help!!It looks like you are using Zaptel/libpri 1.0.x with Asterisk 1.2.x. Don't do that. -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery.