Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
[SOLVED] Cannot upgrade to 18.1.6 - Bus error
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Cannot upgrade to 18.1.6 - Bus error (Read 4811 times)
xupetas
Jr. Member
Posts: 55
Karma: 5
[SOLVED] Cannot upgrade to 18.1.6 - Bus error
«
on:
April 11, 2018, 03:59:39 pm »
Hello all,
I have been trying to upgrade my opnsense 18.1.5 to the latest version and i keep getting this error:
Checking integrity...Child process pid=13361 terminated abnormally: Bus error
On my system console the error is more detailed:
[HBSD SEGVGUARD] [/usr/local/sbin/pkg-static (12794)] Suspension expired.
-> pid: 12794 ppid: 12349 p_pax: 0x850<SEGVGUARD,ASLR,NODISALLOWMAP32BIT>
pid 13361 (pkg-static), uid 0: exited on signal 10 (core dumped)
I have tried to execute pkg-static upgrade -y and i keep getting a coredump on the process.
I have rebooted the server but the problem remains
Can you please help me?
Thanks,
Nuno
«
Last Edit: April 11, 2018, 05:06:45 pm by xupetas
»
Logged
xupetas
Jr. Member
Posts: 55
Karma: 5
Re: Cannot upgrade to 18.1.6 - Bus error
«
Reply #1 on:
April 11, 2018, 05:06:18 pm »
Had to go nuclear on it:
opnsense-bootstrap -r 18.1
Afterwards it went perfect until it reached the haproxy.
It uninstalled the package and did not reinstall it.
I've installed and was bugged with the high cpu usage on haproxy, as described here:
https://github.com/opnsense/plugins/issues/588
Tried to apply the workaround and it did not work as expected:
root@opncluster0101:~ # /usr/local/sbin/haproxy -v
HA-Proxy version 1.8.5 2018/03/23
Copyright 2000-2018 Willy Tarreau <willy@haproxy.org>
root@opncluster0101:~ # opnsense-revert -r 18.1.2 os-haproxy
Fetching os-haproxy.txz: ... done
Verifying signature with trusted certificate pkg.opnsense.org.20171219... done
os-haproxy-2.6: already unlocked
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
pkg-static: os-haproxy has a missing dependency: haproxy
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
os-haproxy: 2.4
Number of packages to be installed: 1
[1/1] Installing os-haproxy-2.4...
Extracting os-haproxy-2.4: 100%
Stopping configd...done
Starting configd.
Keep version OPNsense\HAProxy\HAProxy (2.2.0)
Configuring system logging...done.
Reloading template OPNsense/HAProxy: OK
root@opncluster0101:~ # /usr/local/sbin/haproxy -v
HA-Proxy version 1.8.5 2018/03/23
Copyright 2000-2018 Willy Tarreau <willy@haproxy.org>
Then i also downgraded the haproxy-devel package
# opnsense-revert -r 18.1.2 haproxy-devel
Fetching haproxy-devel.txz: ... done
Verifying signature with trusted certificate pkg.opnsense.org.20171219... done
haproxy-devel-1.8.5: already unlocked
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
haproxy-devel: 1.8.3
Number of packages to be installed: 1
The process will require 3 MiB more space.
[1/1] Installing haproxy-devel-1.8.3...
Extracting haproxy-devel-1.8.3: 100%
root@pfsense01:~ # /usr/local/sbin/haproxy -v
HA-Proxy version 1.8.3-205f675 2017/12/30
Copyright 2000-2017 Willy Tarreau <willy@haproxy.org>
In this version the high cpu usage is no longer showing and everything seams ok now.
Don't forget to lock both packages after the downgrade.
«
Last Edit: April 11, 2018, 05:22:48 pm by xupetas
»
Logged
franco
Administrator
Hero Member
Posts: 17473
Karma: 1587
Re: [SOLVED] Cannot upgrade to 18.1.6 - Bus error
«
Reply #2 on:
April 11, 2018, 06:37:30 pm »
Thanks for the report. Not sure what caused pkg-static to segfault. Since 18.1 you can check for file health from the firmware audit button.
You only need to lock os-haproxy plugin. I'm not sure who's following 1.8 development but we pick up their new versions as they come in. We can't do much more as the plugin is community maintained.
Cheers,
Franco
Logged
xupetas
Jr. Member
Posts: 55
Karma: 5
Re: [SOLVED] Cannot upgrade to 18.1.6 - Bus error
«
Reply #3 on:
April 11, 2018, 07:44:40 pm »
Hello Franco,
I dont know why, but downgrading the os-haproxy package didnt do much. When i downgraded both it was ok.
I forgot then to lock the haproxy-devel, and when i installed other packages (suricata related), it updated the haproxy-devel package and unlocked the os-haproxy and updated it also.
Had do downgrade again, and lock both.
Wierd i know....
Thanks,
Logged
franco
Administrator
Hero Member
Posts: 17473
Karma: 1587
Re: [SOLVED] Cannot upgrade to 18.1.6 - Bus error
«
Reply #4 on:
April 13, 2018, 01:21:04 pm »
Oh okay, thanks for the explanation. I'll advise others to lock both packages from now on then.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.1 Legacy Series
»
[SOLVED] Cannot upgrade to 18.1.6 - Bus error