All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by carpenox » Thu Mar 18, 2021 6:48 am
/usr/sbin/asterisk: symbol lookup error: /usr/sbin/asterisk: undefined symbol: json_vsprintf
asterisk can not run after this.....
matt?
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
-
carpenox
-
- Posts: 2428
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
by mflorell » Thu Mar 18, 2021 7:15 am
I'm not the VICIbox guy, that's Kumba, but I do know that you should not run "zypper up" every day, you should only run it when you need to perform an upgrade on your server OS, and even then only during scheduled maintenance periods(like over the weekend) where you have the time to deal with issues like this. I will send this to Kumba for him to look at.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by carpenox » Thu Mar 18, 2021 8:05 am
ok so it seems libjansson-devel will fix the issue
for anyone else having this problem today:
- Code: Select all
rpm -i https://download.opensuse.org/repositories/home:/vicidial/openSUSE_Leap_15.1/x86_64/libjansson-devel-2.13.1-lp151.29.1.x86_64.rpm --force
rpm -i https://download.opensuse.org/repositories/home:/vicidial/openSUSE_Leap_15.1/x86_64/libjansson4-2.13.1-lp151.29.1.x86_64.rpm --force
For anyone who does update, make sure you run these commands first which will lock these packages: zypper al libjansson-devel libjansson
before you do any further updates...
Last edited by
carpenox on Fri Mar 19, 2021 4:33 am, edited 3 times in total.
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
-
carpenox
-
- Posts: 2428
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
by Kumba » Thu Mar 18, 2021 8:12 am
So the issue stems from ViciBox 10 with Asterisk 16 which requires libjansson v.2.12 or higher. The default libjansson in OpenSuSE is v.2.9. When you did your upgrade it didn't install the newer version of jansson because that requires a vendor change. There's two way to do this.
The nuclear option is to run "zypper dup" and let it do all kinds of package swaps and updates. Currently doing this causes voicesync to complain about the kernel which is a separate issue. I'd probably recommend uninstalling the voicesync driver unless you have the voicesync hardware. This also results in a large portion of the python packages reverting back to the standard OpenSuSE repsoitory because the Python specific repo has been killed off by some over-zealous admins. The python package changes are likely less of a concern unless you have your own python code written on the server. Most of that was for certbot which is broken anyways.
The more precise method is to tell zypper to install just this package update. That can be done witht he following command: zypper in openSUSE-Leap-15.1-ViciDial:libjansson4
Zypper will show that it's doing a vendor change of the package. Once it's done asterisk should start with no issue.
-
Kumba
-
- Posts: 939
- Joined: Tue Oct 16, 2007 11:44 pm
- Location: Florida
by carpenox » Thu Mar 18, 2021 8:14 am
perfect, thanks kumba
Alma Linux 9.4 | SVN Version: 3890 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
-
carpenox
-
- Posts: 2428
- Joined: Wed Apr 08, 2020 2:02 am
- Location: St Petersburg, FL
-
Return to Support
Who is online
Users browsing this forum: Google [Bot] and 73 guests