1 (edited by Johnny007 2020-05-31 08:30:54)

Topic: Fresh Debian install Errors after Reboot

Hi Zhang,

Another mind bender. I have now installed it three times, completely Fresh on Debian 10, 10.4 and then 10 again.
Getting the same error after I reboot post installation.

When Debian is booting up, it gives the following two errors:

[FAILED] Failed to start LSB: Control ip6tables firewall..
See 'systemctil status ip6tables.service' for details.
[FAILED] Failed to start LSB: Start/Stop uWSGI server instance(s).
See 'systemctil status iptables.service' for details.

And here is the output from SystemCtl from terminal

systemctl status ip6tables

● ip6tables.service - LSB: Control ip6tables firewall.
   Loaded: loaded (/etc/init.d/ip6tables; generated)
   Active: failed (Result: exit-code) since Sat 2020-05-30 17:02:54 MST; 9min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 439 ExecStart=/etc/init.d/ip6tables start (code=exited, status=1/FAILURE)

systemctl status iptables

● iptables.service - LSB: Control iptables firewall.
   Loaded: loaded (/etc/init.d/iptables; generated)
   Active: failed (Result: exit-code) since Sat 2020-05-30 17:02:54 MST; 9min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 458 ExecStart=/etc/init.d/iptables start (code=exited, status=1/FAILURE)

I have tried restarting the service. But it gives the same error.

NOTE: I have rebooted the Fresh Install, without any iRedMail, and I don't see that error.

Any help on this matter? (Sorry, I have all these testing and debugging going for you)

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version: 1.2.1
- Deployed with: downloadable installer
- Linux/BSD distribution: Debian 10 (and then Debian 10.4) - Tested on BOTH
- Store mail accounts in: LDAP
- Web server: Nginx
- Manage mail accounts with: iRedAdmin
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Fresh Debian install Errors after Reboot

PS: I do know that in Debian 10, iptables was replaced by nftables. So I can easily just disbale iptables and ip6tables, and enable nftables.

But, I just wanted to let you know here that there is seemingly either an issue with the install script OR more than likely, I'm doing something wrong again smile

3

Re: Fresh Debian install Errors after Reboot

Hi Zhang,

Any input on this?

4

Re: Fresh Debian install Errors after Reboot

This's not expected. On Debian 10, iRedMail generates /etc/nftables.conf and use nftables directly, no iptables/ip6tables services at all.

FYI:
https://github.com/iredmail/iRedMail/bl … lobal#L518
https://github.com/iredmail/iRedMail/bl … up.sh#L122

What's the full content of your /etc/debian_version? iRedMail installer expects it to start with version number "10":
https://github.com/iredmail/iRedMail/bl … lobal#L304

5

Re: Fresh Debian install Errors after Reboot

Hi Zhang,

Yes, i saw that in the SH files too. Here are the outputs:

# cat /etc/debian_version

10.4

AND

# cat /etc/os-release

PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

6

Re: Fresh Debian install Errors after Reboot

Is it possible to setup a fresh/new server OS and give me direct ssh access with root privilege to test it?
I can not reproduce this issue locally.

7

Re: Fresh Debian install Errors after Reboot

ZhangHuangbin wrote:

Is it possible to setup a fresh/new server OS and give me direct ssh access with root privilege to test it?
I can not reproduce this issue locally.

Yes, absolutely. I'm setting it up right now.
Let me know where I can send you credentials / details for SSH

8

Re: Fresh Debian install Errors after Reboot

Hi Zhang,

I have the system ready for you smile

9

Re: Fresh Debian install Errors after Reboot

Please mail me the ssh access: zhb _at_ iredmail.org

10

Re: Fresh Debian install Errors after Reboot

ZhangHuangbin wrote:

Please mail me the ssh access: zhb _at_ iredmail.org

Details sent. Thanks

11

Re: Fresh Debian install Errors after Reboot

Thanks again for everything.

Coffee sent smile

12

Re: Fresh Debian install Errors after Reboot

Confirmed it's bug of iRedMail installer and fixed:
https://github.com/iredmail/iRedMail/co … 67daaf7c90

@Johnny007: Thank you very much for the feedback and helping. big_smile