1

Topic: Unable to access iredadmin on a new install

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 PGSQL edition.
- Linux/BSD distribution name and version: Debian 9.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,

I'm trying to get a new installation of iRedmail running, but when I try to access the iredadmin panel, I get this error message :

"internal server error"

When I look in the /var/log/uwsgi/app/iredadmin.log file, I see this message :

ns323750.ip-94-23-219.eu [pid: 1184|app: 0|req: 13/28] 109.12.203.208 () {54 vars in 999 bytes} [Sat Nov 17 20:40:30 2018] GET /iredadmin/ => generated 21 bytes in 13 msecs (HTTP/1.1 500) 1 headers in 63 bytes (2 switches on core 0)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/web/application.py", line 237, in process
    return p(lambda: process(processors))
  File "/usr/lib/python2.7/dist-packages/web/session.py", line 84, in _processor
    self._cleanup()
  File "/usr/lib/python2.7/dist-packages/web/session.py", line 172, in _cleanup
    self.store.cleanup(timeout)
  File "/usr/lib/python2.7/dist-packages/web/session.py", line 319, in cleanup
    self.db.delete(self.table, where="$last_allowed_time > atime", vars=locals())
  File "/usr/lib/python2.7/dist-packages/web/db.py", line 916, in delete
    db_cursor = self._db_cursor()
  File "/usr/lib/python2.7/dist-packages/web/db.py", line 570, in _db_cursor
    return self.ctx.db.cursor()
  File "/usr/lib/python2.7/dist-packages/web/db.py", line 511, in _getctx
    self._load_context(self._ctx)
  File "/usr/lib/python2.7/dist-packages/web/db.py", line 522, in _load_context
    ctx.db = self._connect(self.keywords)
  File "/usr/lib/python2.7/dist-packages/web/db.py", line 972, in _connect
    conn = DB._connect(self, keywords)
  File "/usr/lib/python2.7/dist-packages/web/db.py", line 550, in _connect
    return self.db_module.connect(**keywords)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
OperationalError: FATAL:  password authentication failed for user "iredadmin"
FATAL:  password authentication failed for user "iredadmin"


ns323750.ip-94-23-219.eu [pid: 1183|app: 0|req: 16/29] 109.12.203.208 () {54 vars in 999 bytes} [Sat Nov 17 20:46:07 2018] GET /iredadmin/ => generated 21 bytes in 12 msecs (HTTP/1.1 500) 1 headers in 63 bytes (2 switches on core 0)


I tried to force the iredadmin psql password but no better.

Any idea would be appreciated smile

----

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

2

Re: Unable to access iredadmin on a new install

oupsman wrote:

FATAL:  password authentication failed for user "iredadmin"

Seems you have wrong SQL password for user "iredadmin" in /opt/www/iredadmin/settings.py, please double check.