1 (edited by phoggberg 2015-09-03 07:06:57)

Topic: https://<server FQDN>/iredadmin => Not Found error

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Linux/BSD distribution name and version: Debian Jessie
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx):Apache2
- Manage mail accounts with iRedAdmin-Pro? NO
- Related log if you're reporting an issue:
====
Am new to this board, scanned several pages of postings looking for similar problem, but with over 200 that's a lost cause. 
Looked for a search command for postings, couldn't find that either.  Please excuse this post if it has been answered, and point me to a message number --- Thanks
=====
Installed free version of iRedmail with SOGO.

I fired up https://<server FQDN>/mail and was able to login fine as postmaster.   I then tried
https://<server FQDN>/iredadmin and got the following error
Not Found

The requested URL /iredadmin was not found on this server.

Apache Server at xxx.com Port 443 <--- deleted my server name.

Figured I needed to fire up the admin page to set up new users, calendars, etc

well now not sure what to do or look at next.

TIA for the help
==barry

----

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

2

Re: https://<server FQDN>/iredadmin => Not Found error

*) Can you access https://[your_server]/SOGo?
*) Can you access https://[IP_address]/mail ?
*) Do you have correct DNS records for your FQDN?

3

Re: https://<server FQDN>/iredadmin => Not Found error

Hi,

Production:
- iRedMail version (check /etc/iredmail-release): 0.9.0
- Linux/BSD distribution name and version: Debian Wheezy
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Web server (Apache or Nginx):Apache2
- Manage mail accounts with iRedAdmin-Pro? NO

Test:
As above except
- iRedMail version (check /etc/iredmail-release): 0.9.2

I am also experiencing this. I was originally running IredMail for some time without SOGo and it worked well. I added SOGo and began experiencing this issue. Believing I had broken my install, I installed a new system on a PVE and got exactly the same error, so it appears it is something to do with the SOGo install.

Interestingly, if I run the following on my old (production) box,

python /usr/share/apache2/iRedAdmin-0.4.1/iredadmin.py

I get a poorly rendered but usable IredAdmin page on http://<servername>:8080,

If I run  python /opt/www/iRedAdmin-0.4.2/iredadmin.py  on m,y new test box I also get also get the same poorly rendered page on port 8080

In answer to

*) Can you access https://[your_server]/SOGo?
*) Can you access https://[IP_address]/mail ?
*) Do you have correct DNS records for your FQDN?

yes to all, on both production server, and users can access mail etc.

4

Re: https://<server FQDN>/iredadmin => Not Found error

Did you modify any Apache setting after iRedMail installation?

5

Re: https://<server FQDN>/iredadmin => Not Found error

ZhangHuangbin wrote:

*) Can you access https://[your_server]/SOGo?
*) Can you access https://[IP_address]/mail ?
*) Do you have correct DNS records for your FQDN?

Can you access https://[your_server]/SOGo?

     No I get the following error.....
object not found: SOGo

*) Can you access https://[IP_address]/mail ?
https://<Internal IP Address>/SOGo

https//:<external IP Address>/SOGo
It Works!

*) Do you have correct DNS records for your FQDN?
Most likely not, I do not forward from my supporting name server all DNS Records for some protection from the bad guys of the world.  I will have to figure out which port SOGo is running on and enable that at the Name Server.

I run a registered Domain and a fixed IP Address so I try to keep as much closed as I possibly can.   I rely mostly on my router to provide FW Protection to my site rather than an appliance, although I did set up uff/gufw.   

Not sure why the server rejected my internal ip address to the thing.  What port does SOGo run on, since it obviously needs to be opened on both my internal network, and external to the internet.

Thanks,
Barry

6

Re: https://<server FQDN>/iredadmin => Not Found error

ZhangHuangbin wrote:

Did you modify any Apache setting after iRedMail installation?

No I have not... I did check that my web server was running, and my very simple web site was running HTTPS: okay.

I have a certificate signed by CACERT and that seems to be running just fine.

7

Re: https://<server FQDN>/iredadmin => Not Found error

I also tried https://<FQDN>/iredadmin
https://<server Internal IP Address>//iredadmin
and https://<server external IP address/iredadmin

and got this error.
Not Found

The requested URL /iredadmin/ was not found on this server.

Again I am running iRedMail-0.9.2 and debian jessie latest release with all patches up to date

Thanks,
Barry

8

Re: https://<server FQDN>/iredadmin => Not Found error

Looks like your iRedMail installation was not successfully completed. Any error message in file iRedMail-0.9.2/runtime/install.log?

9

Re: https://<server FQDN>/iredadmin => Not Found error

ZhangHuangbin wrote:

Did you modify any Apache setting after iRedMail installation?

No, absolutely standard, especially on the 'test' box. I will blow it away and reinstall to be sure but it seems that the problem is related to SOGo!

10

Re: https://<server FQDN>/iredadmin => Not Found error

ZhangHuangbin wrote:

Looks like your iRedMail installation was not successfully completed. Any error message in file iRedMail-0.9.2/runtime/install.log?

These are the errors I got but do not explain to me why iredadmin does not exist.

[ INFO ] Create required system account: vmail, iredadmin, iredapd.
+ < DEBUG > Create HOME folder for vmail user.
+ < DEBUG > Create system account: vmail:vmail (2000:2000).
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
rm: cannot remove '/var/vmail/.': Is a directory
rm: cannot remove '/var/vmail/..': Is a directory
+ < DEBUG > Create directory to store user sieve rule files: /var/vmail/sieve.
+ < DEBUG > Create system account: iredadmin:iredadmin (2001:2001)
+ < DEBUG > Create system account: iredapd:iredapd (2002:2002).
[ INFO ] Configure Apache web server and PHP.
+ < DEBUG > Basic configurations.
+ < DEBUG > Set correct SSL Cert/Key file location.
+ < DEBUG > Enable Apache modules.
ERROR: Site default-ssl not properly enabled: /etc/apache2/sites-enabled/default-ssl.conf is a real file, not touching it
Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
Considering dependency filter for deflate:
Module filter already enabled
Module deflate already enabled
Enabling module proxy.
Considering dependency proxy for proxy_http:
Module proxy already enabled
Enabling module proxy_http.
Enabling module headers.
ERROR: Module version does not exist!
Module rewrite already enabled
To activate the new configuration, you need to run:
  service apache2 restart
[ INFO ] Configure PHP.
+ < DEBUG > Hide PHP Version in Apache from remote users requests: /etc/php5/apache2/php.ini.
+ < DEBUG > Increase 'memory_limit' to 256M: /etc/php5/apache2/php.ini.
+ < DEBUG > Increase 'upload_max_filesize', 'post_max_size' to 10/12M: /etc/php5/apache2/php.ini.
+ < DEBUG > Disable php extension: suhosin. /etc/php5/apache2/php.ini.
[ INFO ] Configure MySQL database server.
+ < DEBUG > Generate temporary defauts file for MySQL client option --defaults-file: /root/iRedMail-0.9.2/.mysql-root-defaults-file.
+ < DEBUG > Starting MySQL.
+ < DEBUG > Service control: restart mysql.
+ < DEBUG > Sleep 5 seconds for MySQL daemon initialization ...

11

Re: https://<server FQDN>/iredadmin => Not Found error

Please show me both terminal output and file iRedMail-0.9.2/runtime/install.log.

12

Re: https://<server FQDN>/iredadmin => Not Found error

Hello,

Is there any solution to this? So far I'm still facing this same issue.

Thanks,

Bashir

13

Re: https://<server FQDN>/iredadmin => Not Found error

Dear Bashir,

I need terminal output of iRedMail installation, and "iRedMail-0.9.4/runtime/install.log" for troubleshooting, could you please provide them?