06-11-2020, 04:17 AM
@HR i sorry yesterday my boss give me a site project and i am unable to continue with you. late night i done some command and wish that all are ok. let me tell you.
i done this with sequence.
and looks like the error was gone. but suddenly when i reboot my machine and make ufw again enable the error is again exist.
and here is the command result what you want to me.
and the second one command is :
i done this with sequence.
Code: (Select All)
sudo ufw disable
sudo /lib/ufw/ufw-init flush-all
sudo ufw enable
and looks like the error was gone. but suddenly when i reboot my machine and make ufw again enable the error is again exist.
Code: (Select All)
root@kvm-***********:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
ERROR: problem running ufw-init
iptables-restore: line 2 failed
ip6tables-restore: line 2 failed
and here is the command result what you want to me.
Code: (Select All)
root@kvm-***s:~# journalctl -xe
Jun 11 00:08:25 kvm-** systemd[1]: Unit mariadb.service entere
Jun 11 00:08:25 kvm-** exim4[945]: Starting MTA:exim: failed t
Jun 11 00:08:25 kvm-** exim4[945]: Invalid new configfile /var
Jun 11 00:08:25 kvm-** exim4[945]: /var/lib/exim4/config.autog
Jun 11 00:08:25 kvm-** systemd[1]: exim4.service: control proc
Jun 11 00:08:25 kvm-** systemd[1]: [b]Failed to start LSB: exim M[/b]
-- Subject: Unit exim4.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit exim4.service has failed.
--
-- The result is failed.
Jun 11 00:08:25 kvm-******* systemd[1]: [b]Unit exim4.service entered[/b]
Jun 11 00:08:25 kvm-******* sshd[938]: Accepted password for root f
Jun 11 00:08:25 kvm-******* sshd[938]: pam_unix(sshd:session): sess
Jun 11 00:08:35 kvm-******* nscd[587]: [b]587 checking for monitored f[/b]
Jun 11 00:08:47 kvm-******* systemd-timesyncd[361]: Using NTP serve
Jun 11 00:08:48 kvm-******* systemd-timesyncd[361]: interval/delta/
Jun 11 00:09:02 kvm-******* CRON[1287]: pam_unix(cron:session): ses
Jun 11 00:09:02 kvm-******* CRON[1289]: (root) CMD ( [ -x /usr/lib
Jun 11 00:09:02 kvm-******* CRON[1287]: pam_unix(cron:session): ses
Jun 11 00:09:02 kvm-******* kernel: [b]perf interrupt took too long (2[/b]
[b]lines 583-605/605 (END)[/b]
and the second one command is :
Code: (Select All)
root@kvm-******:~# head -n10 /etc/ufw/user.rules
*filter
:ufw-user-input - [0:0]
:ufw-user-output - [0:0]
:ufw-user-forward - [0:0]
:ufw-before-logging-input - [0:0]
:ufw-before-logging-output - [0:0]
:ufw-before-logging-forward - [0:0]
:ufw-user-logging-input - [0:0]
:ufw-user-logging-output - [0:0]
:ufw-user-logging-forward - [0:0]
root@kvm-*****:~#
LOVE FOR ALL HATRED FOR NONE