Unbound Segmentation fault and uninstalling unbound failure...

Luciferikass

Occasional Visitor
Hi all. I was trying to update unbound and got a segmentation fault. I found a recent post by Mr. Martineau that said to remove unbound. I tried via AMTM and that failed so I grep'd for the packages (opkg list |grep unbound) and tried to opkg remove each one but they all fail. For instance:

[email protected]:/tmp/home/root# opkg remove unbound-daemon --force-remove
No packages removed.
[email protected]:/tmp/home/root# opkg remove unbound-daemon --force-remove --force-space
No packages removed.
[email protected]:/tmp/home/root# opkg remove unbound-daemon --force-space
No packages removed.


Any advice would be appreciated.

Thank you.
 

Martineau

Part of the Furniture
Hi all. I was trying to update unbound and got a segmentation fault. I found a recent post by Mr. Martineau that said to remove unbound. I tried via AMTM and that failed so I grep'd for the packages (opkg list |grep unbound) and tried to opkg remove each one but they all fail. For instance:

[email protected]:/tmp/home/root# opkg remove unbound-daemon --force-remove
No packages removed.
[email protected]:/tmp/home/root# opkg remove unbound-daemon --force-remove --force-space
No packages removed.
[email protected]:/tmp/home/root# opkg remove unbound-daemon --force-space
No packages removed.


Any advice would be appreciated.

Thank you.
Which modules do you have installed?
Code:
opkg list-installed | grep -i unbound
 

Luciferikass

Occasional Visitor
Which modules do you have installed?
Code:
opkg list-installed | grep -i unbound

[email protected]:/tmp/home/root# opkg list |grep -i unbound
asterisk-res-resolver-unbound - 18.7.1-1 - Unbound DNS resolver support.
libunbound - 1.13.2-1 - This package contains the Unbound library including 'libevent', 'libmnl', and 'libpthread' to better handle large networks with heavy query loads. Options are available to custom trim Unbound for smaller targets.
unbound-anchor - 1.13.2-1 - This package contains the Unbound anchor utility.
unbound-checkconf - 1.13.2-1 - This package contains the Unbound DNS configuration checker utility.
unbound-control - 1.13.2-1 - This package contains the Unbound control utility.
unbound-control-setup - 1.13.2-1 - This package contains the Unbound control setup utility.
unbound-daemon - 1.13.2-1 - This package contains the Unbound daemon including 'libevent', 'libmnl', and 'libpthread' to better handle large networks with heavy query loads. Options are available under libraries/network/libunbound to custom trim Unbound for smaller targets.
unbound-host - 1.13.2-1 - This package contains the Unbound DNS lookup utility.
 

GameFace

New Around Here
Same situation here. Unbound Manger on AMTM Asus RT AC1900P router unbound congiguration file error. I have tried the SSH commands from LuciferKass same thing no packages removed. "Unbound.Conf" says "Not Found"

Main Issue is when I attempt to start, update or uninstall Unbound Manager via AMTM it responds

*unbound-checkconf: error while loading shared libraries: libbunbound.so.8: cannot open shared object file: No such y

***ERROR INVALID unbound configuration - use option 'vx' to correct 'unbound.conf or'rl' to load a valid congigue or 'e' exit; then issue debug command unbound - dv***

Have tried the "vx" 'rl' and unbound -dv commands to no avail. Any help appreciated.
 

Martineau

Part of the Furniture
Same situation here. Unbound Manger on AMTM Asus RT AC1900P router unbound congiguration file error. I have tried the SSH commands from LuciferKass same thing no packages removed. "Unbound.Conf" says "Not Found"

Main Issue is when I attempt to start, update or uninstall Unbound Manager via AMTM it responds

*unbound-checkconf: error while loading shared libraries: libbunbound.so.8: cannot open shared object file: No such y

***ERROR INVALID unbound configuration - use option 'vx' to correct 'unbound.conf or'rl' to load a valid congigue or 'e' exit; then issue debug command unbound - dv***

Have tried the "vx" 'rl' and unbound -dv commands to no avail. Any help appreciated.
You could try a manual wipe of unbound_manager

Code:
opkg remove libunbound --force-depends

rm -r /jffs/addons/unbound

rm -r /opt/share/unbound

Upgrade Entware via amtm; then retry an install of unbound_manager via amtm
 

HardCat

Regular Contributor
You could try a manual wipe of unbound_manager

Code:
opkg remove libunbound --force-depends

rm -r /jffs/addons/unbound

rm -r /opt/share/unbound

Upgrade Entware via amtm; then retry an install of unbound_manager via amtm
Apologies for jumping in...
After trying the above commands a couple of times, I still get the following and Unbound install fails. Not sure where to go from here.
Code:
Do you want to ENABLE unbound logging? (NO recommended)

    Reply 'y' or press ENTER  to skip

Segmentation fault
Segmentation fault
Restarting dnsmasq.....
Done.

    ***ERROR FATAL...ABORTing!
unbound -dv produces...
Code:
unbound: symbol lookup error: unbound: undefined symbol: edns_strings_delete
 

Martineau

Part of the Furniture
Apologies for jumping in...
After trying the above commands a couple of times, I still get the following and Unbound install fails. Not sure where to go from here.
Code:
Do you want to ENABLE unbound logging? (NO recommended)

    Reply 'y' or press ENTER  to skip

Segmentation fault
Segmentation fault
Restarting dnsmasq.....
Done.

    ***ERROR FATAL...ABORTing!
unbound -dv produces...
Code:
unbound: symbol lookup error: unbound: undefined symbol: edns_strings_delete
Can you try these
Code:
opkg --force-depends --force-removal-of-dependent-packages remove unbound-checkconf unbound-control-setup unbound-control unbound-anchor unbound-daemon


rm -r /opt/var/lib/unbound/adblock
rm -r /opt/var/lib/unbound
 

HardCat

Regular Contributor
I got the same error. Might it be a problem with Entware itself?
 

Martineau

Part of the Furniture
I got the same error. Might it be a problem with Entware itself?
All previous segmentation faults have been Entware related.

You could try reinstalling a fresh Entware repository using amtm (preferably to a new USB drive) or rename any existing Entware installation beforehand.
 

HardCat

Regular Contributor
All previous segmentation faults have been Entware related.

You could try reinstalling a fresh Entware repository using amtm (preferably to a new USB drive) or rename any existing Entware installation beforehand.
Ok, I'll give that a go later today. Thanks for the help and I'll let you know how it works out.
 

HardCat

Regular Contributor
All previous segmentation faults have been Entware related.

You could try reinstalling a fresh Entware repository using amtm (preferably to a new USB drive) or rename any existing Entware installation beforehand.
A quick rename and a fresh install solved the Segmentation Faults and Unbound installed successfully. Thank you!
 

Luciferikass

Occasional Visitor
I cleared this up myself but updating to the latest firmware version after that unbound updated and is running without issue.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top