1

Topic: Fresh install - ERR_CONNECTION_REFUSED

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4, 1/25/16
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

This site can’t be reached
https://myiphere/iredadmin/ refused to connect.
ERR_CONNECTION_REFUSED

What do I look for to figure this out?  None of the links open, all give this same error. I get the same error if I go directly to the IP or FQDN without anything on the end, also for http and https.

----

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

2

Re: Fresh install - ERR_CONNECTION_REFUSED

*) Any related log in your Nginx log file?
*) Is it refused by your server or your network gateway/firewall?

3 (edited by jgjh151 2016-03-19 09:48:43)

Re: Fresh install - ERR_CONNECTION_REFUSED

Appears there is no nginx?

tail -f php-fpm/error.log
[19-Mar-2016 01:30:04] ERROR: [pool www] cannot get uid for user 'nginx'
[19-Mar-2016 01:30:04] ERROR: FPM initialization failed

============

nginx -v
-bash: nginx: command not found

============

httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built:   Nov 19 2015 21:43:13

4

Re: Fresh install - ERR_CONNECTION_REFUSED

jgjh151 wrote:

- Web server (Apache or Nginx): nginx

You mentioned you're running Nginx instead of Apache in first post.
If you're running Apache, iRedMail will use Apache php module, not php-fpm.

5

Re: Fresh install - ERR_CONNECTION_REFUSED

ZhangHuangbin wrote:
jgjh151 wrote:

- Web server (Apache or Nginx): nginx

You mentioned you're running Nginx instead of Apache in first post.
If you're running Apache, iRedMail will use Apache php module, not php-fpm.

I'm not running anything before this. During installation it asked if I want apache or nginx, I picked nginx. Looks like it installed apache instead but thinks its using nginx since thats what was chosen. In anycase, The install didn't work, I'm moving on to something else. I could fix these things, but I'm looking for something that is solid where I don't have to tinker with the server via cli just to get it installed on a fresh vps.

Another idea, if the app requires perl as a dependency, why not just install it during installation instead of asking me to do it first. Same with the FQDN, just ask me for it during installation and set it, don't make me going in and do this before installation script will work.