Topic: nginx and postfix install fails
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer? downloaded
- Linux/BSD distribution name and version: Ubuntu 18.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
====
I'm trying out the LDAP version now of the server and it seems like the install script is not putting the nginx config files into place so nginx isn't starting.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
* nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-04-09 15:51:40 EDT; 8ms ago
Docs: man:nginx(8)
Process: 2875 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Apr 09 15:51:40 recmail06dev systemd[1]: Starting A high performance web server and a reverse proxy server...
Apr 09 15:51:40 recmail06dev nginx[2875]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Apr 09 15:51:40 recmail06dev nginx[2875]: nginx: configuration file /etc/nginx/nginx.conf test failed
Apr 09 15:51:40 recmail06dev systemd[1]: nginx.service: Control process exited, code=exited status=1
Apr 09 15:51:40 recmail06dev systemd[1]: nginx.service: Failed with result 'exit-code'.
Apr 09 15:51:40 recmail06dev systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
installed nginx-full package post-installation script subprocess returned error exit status
The nginx.conf file and the sites-available and sites-enabled aren't getting updated with the iRedmail installer.
Postfix seems to have a similar problem:
etting up postfix (3.3.0-1ubuntu0.2) ...
Installing new version of config file /etc/postfix/makedefs.out ...
Postfix (main.cf) was not set up. Start with
cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf
. If you need to make changes, edit /etc/postfix/main.cf (and others) as
needed. To view Postfix configuration values, see postconf(1).
After modifying main.cf, be sure to run 'service postfix reload'.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.