[Resolved] Update to 0.07 Hangs

Hello,
When I run mailinabox setup it just hangs after doing something with “bind9” install. I originally installed Mail-In-Box 0.05. Here is my upgrade text:


sphildreth@server:~/mailinabox/setup$ sudo mailinabox

Primary Hostname: box.hildreth.email
Public IP Address: 23.254.116.195
Private IPv6 Address: ::1
Mail-in-a-Box Version:  v0.07

Updating system packages...
already installed: python3 (3.4.0-0ubuntu2), python3-dev (3.4.0-0ubuntu2), python3-pip (1.5.4-1), wget (1.15-1ubuntu1.14.04.1), curl (7.35.0-1ubuntu2.3), sudo (1.8.9p5-1ubuntu1), coreutils (8.21-1ubuntu5.1), bc (1.06.95-8ubuntu1), haveged (1.7c-1), unattended-upgrades (0.82.1ubuntu2.1), cron (3.0pl1-124ubuntu2), ntp (1:4.2.6.p5+dfsg-3ubuntu2.14.04.2), fail2ban (0.8.11-1)
already installed: ufw (0.34~rc-0ubuntu2)
ERROR: problem running ufw-init
modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/2.6.32-042stab085.20/modules.builtin.bin'
modprobe: FATAL: Module nf_conntrack_ftp not found.
modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/2.6.32-042stab085.20/modules.builtin.bin'
modprobe: FATAL: Module nf_nat_ftp not found.
modprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/2.6.32-042stab085.20/modules.builtin.bin'
modprobe: FATAL: Module nf_conntrack_netbios_ns not found.
iptables-restore: line 4 failed
iptables-restore: line 77 failed
iptables-restore: line 30 failed
iptables-restore: line 54 failed
ip6tables-restore: line 4 failed
ip6tables-restore: line 73 failed
ip6tables-restore: line 54 failed
sysctl: permission denied on key 'net.ipv4.tcp_sack'

Problem running '/etc/ufw/before.rules'
Problem running '/etc/ufw/after.rules'
Problem running '/lib/ufw/user.rules'
Problem running '/etc/ufw/before6.rules'
Problem running '/lib/ufw/user6.rules'

already installed: bind9 (1:9.9.5.dfsg-3ubuntu0.2), resolvconf (1.69ubuntu1.1)

After this it hangs my SSH I have to reboot to get back into the box.

Thoughts?

Did you run

curl -s https://mailinabox.email/bootstrap.sh | sudo bash

Before running

sudo mailiabox

This looks like the typical problem when your server runs on OpenVZ. There the Firewall doesn’t work. Try disabling it by setting the DISABLE_FIREWALL variable.

Thanks for the help. I did successfully update. By performing these steps:


$ DISABLE_FIREWALL=1
$ export DISABLE_FIREWALL
$ curl -s https://mailinabox.email/bootstrap.sh | sudo -E bash

1 Like