Ubuntu 16.04.1 LTS não pode habilitar o UFW? Não é possível abrir modules.builtin.bin [closed]

1

Sou bem novo no Ubuntu. Estou tentando configurar um servidor Ubuntu em um site do GoDaddy VPS. A primeira coisa que tento fazer é atualizar e instalar o UFW.

Assim que habilito o UFW, recebo este erro:

after.rules  applications.d  before.rules  sysctl.conf    user.rules
root@samurai:/etc/ufw# vi after.init
root@samurai:/etc/ufw# vi before.init
root@samurai:/etc/ufw# vi user.rules
root@samurai:/etc/ufw# ufw allow 222/tcp
Rules updated
root@samurai:/etc/ufw# vi user.rules
root@samurai:/etc/ufw# ufw reload
Firewall not enabled (skipping reload)
root@samurai:/etc/ufw# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y/n)? y
ERROR: problem running ufw-init
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.2.0-042stab111.11/modules.builtin.bin'
modprobe: FATAL: Module nf_conntrack_ftp not found in directory /lib/modules/4.2.0-042stab111.11
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.2.0-042stab111.11/modules.builtin.bin'
modprobe: FATAL: Module nf_nat_ftp not found in directory /lib/modules/4.2.0-042stab111.11
modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.2.0-042stab111.11/modules.builtin.bin'
modprobe: FATAL: Module nf_conntrack_netbios_ns not found in directory /lib/modules/4.2.0-042stab111.11
iptables-restore: line 4 failed
iptables-restore: line 77 failed
iptables-restore: line 37 failed
sysctl: permission denied on key 'net.ipv4.tcp_sack'

Problem loading ipv6 (skipping)
Problem running '/etc/ufw/before.rules'
Problem running '/etc/ufw/user.rules'

O que devo fazer?

    
por Eddie 28.11.2016 / 21:15

0 respostas