1

Topic: Page not found https://myserver/iredadmin

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6 PGSQL edition
- Linux/BSD distribution name and version: Debian 8
- Store mail accounts in which backend (/PGSQL):
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? I am using the free edition.
- Related log if you're reporting an issue:
====

after what appears to be a successful iRedMail.sh experience when I go to /var/www/html I don't see any iredmail pages just the following which is the default apache page.  I can't get to the iredadmin site.  It is a clean install. 

index.html  index.html.2017.04.01.22.22.17  robots.txt

----

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

2

Re: Page not found https://myserver/iredadmin

What do you mean "cannot get the iredadmin site"?
on Debian 8, iRedAdmin should be installed under /opt/www/.

3

Re: Page not found https://myserver/iredadmin

I can't access the admin panel for iredmail.  I looked in /opt and there are files there but /opt/www is empty and usually apache is looking in /var/www/html but the www file is empty off the opt path. 

root@mx:/opt# ls -lt
total 8
dr-x------ 8 root root 4096 Apr  2 10:59 iRedAPD-2.0
lrwxrwxrwx 1 root root   16 Apr  1 22:33 iredapd -> /opt/iRedAPD-2.0
drwxr-xr-x 2 root root 4096 Apr  1 22:32 www
root@mx:/opt# cd iRedAPD-2.0/
root@mx:/opt/iRedAPD-2.0# dir
ChangeLog          iredapd.py  rc_scripts         samples       settings.py.sample  UPGRADE.md
INSTALL.md         libs        README.md          settings.py   SQL
iredapd-gevent.py  plugins     README_PLUGINS.md  settings.pyc  tools
root@mx:/opt/iRedAPD-2.0# cd ..
root@mx:/opt# cd www
root@mx:/opt/www# dir
root@mx:/opt/www#


Not Found

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

Apache Server at 96.86.87.204 Port 443

4

Re: Page not found https://myserver/iredadmin

*) Did you choose to install iRedAdmin during iRedMail installation?
*) Any error on console while installing iRedMail?
*) Any error in file iRedMail-0.9.6/runtime/install.log?

5

Re: Page not found https://myserver/iredadmin

I tried running the install script a couple times.  I will nuke the server and start from scratch and hopefully then I can administer it after the install.  Thanks,

6

Re: Page not found https://myserver/iredadmin

I nuked the box and reran the installation script and got these errors on the screen.


*************************************************************************
***************************** WARNING ***********************************
*************************************************************************
*                                                                       *
* Below file contains sensitive infomation (username/password), please  *
* do remember to *MOVE* it to a safe place after installation.          *
*                                                                       *
*   * /root/iRedMail-0.9.6/config
*                                                                       *
*************************************************************************
********************** Review your settings *****************************
*************************************************************************

* Storage base directory:               /var/vmail
* Mailboxes:
* Daily backup of SQL/LDAP databases:
* Store mail accounts in:               OpenLDAP
* Web server:                           Nginx
* First mail domain name:               kevinmoroz.com
* Mail domain admin:                    postmaster@kevinmoroz.com
* Additional components:                Roundcubemail Awstats iRedAdmin Fail2ban

< Question > Continue? [y|N]            y
[ INFO ] Installing package(s): postfix postfix-pcre postfix-ldap slapd ldap-utils libnet-ldap-perl mysql-server mysql-client libdbd-mysql-perl php5-cli php5-json php5-gd php5-mcrypt php5-curl mcrypt php5-intl php5-ldap php5-mysql nginx-full php5-fpm dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-managesieved dovecot-sieve dovecot-ldap dovecot-mysql amavisd-new libcrypt-openssl-rsa-perl libmail-dkim-perl clamav-freshclam clamav-daemon spamassassin altermime arj zoo nomarch cpio lzop cabextract p7zip rpm ripole libmail-spf-perl unrar-free pax php-net-ldap2 python-sqlalchemy python-dnspython python-ldap python-mysqldb python-jinja2 python-netifaces python-webpy python-beautifulsoup python-lxml python-pycurl uwsgi uwsgi-plugin-python python-bcrypt awstats fail2ban bzip2 acl patch cron tofrodos logwatch unzip bsdutils liblz4-tool
Reading package lists...
Building dependency tree...
Reading state information...
Package libnet-ldap-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package amavisd-new is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package arj is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package lzop is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package zoo is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package spamassassin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package unrar-free is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package mcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package postfix-ldap is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package postfix-pcre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-mysqldb is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-sqlalchemy is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package clamav-daemon is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-ldap is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python-bcrypt is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'postfix-pcre' has no installation candidate
E: Package 'postfix-ldap' has no installation candidate
E: Package 'libnet-ldap-perl' has no installation candidate
E: Package 'mcrypt' has no installation candidate
E: Unable to locate package dovecot-imapd
E: Unable to locate package dovecot-pop3d
E: Unable to locate package dovecot-lmtpd
E: Unable to locate package dovecot-managesieved
E: Unable to locate package dovecot-sieve
E: Unable to locate package dovecot-ldap
E: Unable to locate package dovecot-mysql
E: Package 'amavisd-new' has no installation candidate
E: Unable to locate package libcrypt-openssl-rsa-perl
E: Unable to locate package libmail-dkim-perl
E: Unable to locate package clamav-freshclam
E: Package 'clamav-daemon' has no installation candidate
E: Package 'spamassassin' has no installation candidate
E: Unable to locate package altermime
E: Package 'arj' has no installation candidate
E: Package 'zoo' has no installation candidate
E: Unable to locate package nomarch
E: Package 'lzop' has no installation candidate
E: Unable to locate package ripole
E: Unable to locate package libmail-spf-perl
E: Package 'unrar-free' has no installation candidate
E: Unable to locate package pax
E: Unable to locate package php-net-ldap2
E: Package 'python-sqlalchemy' has no installation candidate
E: Package 'python-ldap' has no installation candidate
E: Package 'python-mysqldb' has no installation candidate
E: Unable to locate package python-netifaces
E: Unable to locate package python-webpy
E: Unable to locate package uwsgi
E: Unable to locate package uwsgi-plugin-python
E: Package 'python-bcrypt' has no installation candidate
E: Unable to locate package awstats
E: Unable to locate package tofrodos
E: Unable to locate package logwatch
E: Unable to locate package liblz4-tool
<< ERROR >> Installation failed, please check the terminal output.
<< ERROR >> If you're not sure what the problem is, try to get help in iRedMail
<< ERROR >> forum: http://www.iredmail.org/forum/

7

Re: Page not found https://myserver/iredadmin

Do you have official apt repo enabled in /etc/apt/sources.list?

8

Re: Page not found https://myserver/iredadmin

This is what my /etc/apt/sources.list looks like below. It looks official to me!  I tried running the install script again and it error'd out the same. 

root@mx:/etc/apt# cat sources.list
# deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01]/ jessie contrib main
deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 DVD Binary-1 20170116-11:01]/ jessie contrib main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

9

Re: Page not found https://myserver/iredadmin

Hi, I nuked the server again and it worked this time.  Repetition is the mother of skill!