1

Topic: New Install issue

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.6 MYSQL edition.
- Linux/BSD distribution name and version: 11.0-RELEASE-p1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/web/application.py", line 237, in process
    return p(lambda: process(processors))
  File "/usr/local/lib/python2.7/site-packages/web/session.py", line 84, in _processor
    self._cleanup()
  File "/usr/local/lib/python2.7/site-packages/web/session.py", line 172, in _cleanup
    self.store.cleanup(timeout)
  File "/usr/local/lib/python2.7/site-packages/web/session.py", line 319, in cleanup
    self.db.delete(self.table, where="$last_allowed_time > atime", vars=locals())
  File "/usr/local/lib/python2.7/site-packages/web/db.py", line 916, in delete
    db_cursor = self._db_cursor()
  File "/usr/local/lib/python2.7/site-packages/web/db.py", line 570, in _db_cursor
    return self.ctx.db.cursor()
  File "/usr/local/lib/python2.7/site-packages/web/db.py", line 511, in _getctx
    self._load_context(self._ctx)
  File "/usr/local/lib/python2.7/site-packages/web/db.py", line 522, in _load_context
    ctx.db = self._connect(self.keywords)
  File "/usr/local/lib/python2.7/site-packages/web/db.py", line 550, in _connect
    return self.db_module.connect(**keywords)
  File "/usr/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1049, "Unknown database 'iredadmin'")


====

This is a new installation, for some reason the SQL server has installed but has no databases inserted in to it.

How can I rectify this? i'd put them in myself however without fully understanding the software it probably would cause more damage than good.

thanks.

----

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

2

Re: New Install issue

Seems you experienced a bug of iRedMail-0.9.6 on FreeBSD OS (without Jail), we have been working on it for 2 days, didn't fix it yet (compiling ports wastes too much time).

Please stay tuned. If possible, give FreeBSD Jail a try, it works.

3

Re: New Install issue

ZhangHuangbin wrote:

Seems you experienced a bug of iRedMail-0.9.6 on FreeBSD OS (without Jail), we have been working on it for 2 days, didn't fix it yet (compiling ports wastes too much time).

Please stay tuned. If possible, give FreeBSD Jail a try, it works.

Thanks! - I'll buy you a coffee smile. - where is the best place to see when this is resolved? to be honest jail or no jail makes no difference to me, I'll try a fresh install and do jail this tie.

Cheers

4

Re: New Install issue

Fixed the issue this morning, please download (repacked) iRedMail-0.9.6 and try again:
http://www.iredmail.org/download.html

Jail and non-Jail both work.