modoboa / modoboa-installer

An installer for Modoboa
MIT License
262 stars 138 forks source link

Sorry An internal error occured. #246

Closed Yourdigitalheart closed 6 years ago

Yourdigitalheart commented 6 years ago

Impacted versions

I try also with a fresh Debian 8 , Fresh Ubuntu 18.04 Same trouble Thanks

Distribution: Ubuntu Codename: 16.04 amd64 160G, 8 Cores , 8.192 GB Memory Arch: 64 Bits Database: PostgreSQL Steps to reproduce

Full trace using --debug option or current behaviour

Your mail server will be installed with the following components: modoboa automx amavis clamav dovecot nginx razor postfix postwhite spamassassin uwsgi radicale opendkim Do you confirm? (Y/n) The process can be long, feel free to take a coffee and come back later ;) Starting... Hit:1 http://mirror.leaseweb.net/ubuntu xenial InRelease Hit:2 http://mirror.leaseweb.net/ubuntu xenial-updates InRelease Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] Hit:4 http://mirror.leaseweb.net/ubuntu xenial-backports InRelease Fetched 107 kB in 0s (182 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... sudo is already the newest version (1.8.16-0ubuntu1.5). wget is already the newest version (1.17.1-1ubuntu1.4). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Overwrite the existing SSL certificate? (y/N) Installing amavis Reading package lists... Building dependency tree... Reading state information... amavisd-new is already the newest version (1:2.10.1-2ubuntu1). libdbi-perl is already the newest version (1.634-1build1). arc is already the newest version (5.21q-4). arj is already the newest version (3.10.22-14). cabextract is already the newest version (1.6-1). libdbd-pg-perl is already the newest version (3.5.3-1build1). liblz4-tool is already the newest version (0.0r131-2ubuntu2). lrzip is already the newest version (0.621-1). lzop is already the newest version (1.03-3.2). p7zip-full is already the newest version (9.20.1dfsg.1-4.2). ripole is already the newest version (0.2.0+20081101.0215-1). rpm2cpio is already the newest version (4.12.0.1+dfsg1-3build3). unrar-free is already the newest version (1:0.0.1+cvs20140707-1). zoo is already the newest version (2.10-28). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... postgresql is already the newest version (9.5+173ubuntu0.2). postgresql-server-dev-all is already the newest version (173ubuntu0.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Synchronizing state of postgresql.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable postgresql ● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: active (exited) since Mon 2018-10-22 05:45:40 UTC; 2min 2s ago Main PID: 26957 (code=exited, status=0/SUCCESS) CGroup: /system.slice/postgresql.service

Oct 22 05:45:40 DHPR001 systemd[1]: Starting PostgreSQL RDBMS... Oct 22 05:45:40 DHPR001 systemd[1]: Started PostgreSQL RDBMS. 1 createdb: database creation failed: ERROR: database "amavis" already exists psql: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? Installing spamassassin Reading package lists... Building dependency tree... Reading state information... spamassassin is already the newest version (3.4.1-3). pyzor is already the newest version (1:0.5.0-4fakesync1). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... postgresql is already the newest version (9.5+173ubuntu0.2). postgresql-server-dev-all is already the newest version (173ubuntu0.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Synchronizing state of postgresql.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable postgresql ● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: active (exited) since Mon 2018-10-22 05:47:46 UTC; 1s ago Main PID: 27622 (code=exited, status=0/SUCCESS)

Oct 22 05:47:46 DHPR001 systemd[1]: Starting PostgreSQL RDBMS... Oct 22 05:47:46 DHPR001 systemd[1]: Started PostgreSQL RDBMS. 1 createdb: database creation failed: ERROR: database "spamassassin" already exists psql: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? downloading servers from http://pyzor.sourceforge.net/cgi-bin/inform-servers-0-3-x Installing razor Reading package lists... Building dependency tree... Reading state information... razor is already the newest version (1:2.85-4.2build1). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Register successful. Identity stored in /var/lib/amavis/.razor/identity-ruB4PLTr3s Installing clamav Reading package lists... Building dependency tree... Reading state information... clamav-daemon is already the newest version (0.100.2+dfsg-1ubuntu0.16.04.1). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Mon Oct 22 05:47:53 2018 -> ClamAV update process started at Mon Oct 22 05:47:53 2018 Mon Oct 22 05:47:53 2018 -> main.cvd is up to date (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr) Mon Oct 22 05:47:53 2018 -> daily.cld is up to date (version: 25059, sigs: 2129753, f-level: 63, builder: neo) Mon Oct 22 05:47:53 2018 -> bytecode.cvd is up to date (version: 327, sigs: 91, f-level: 63, builder: neo) Synchronizing state of clamav-daemon.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable clamav-daemon ● clamav-daemon.service - Clam AntiVirus userspace daemon Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/clamav-daemon.service.d └─extend.conf Active: active (running) since Mon 2018-10-22 05:44:33 UTC; 3min 21s ago Docs: man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/ Main PID: 16166 (clamd) CGroup: /system.slice/clamav-daemon.service └─16166 /usr/sbin/clamd --foreground=true

Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> Portable Executable support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> ELF support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> Mail files support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> OLE2 support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> PDF support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> SWF support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> HTML support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> XMLDOCS support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> HWP3 support enabled. Oct 22 05:44:46 DHPR001 clamd[16166]: Mon Oct 22 05:44:46 2018 -> Self checking every 3600 seconds. amavis.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install enable amavis ● amavis.service - LSB: Starts amavisd-new mailfilter Loaded: loaded (/etc/init.d/amavis; bad; vendor preset: enabled) Active: active (running) since Mon 2018-10-22 05:44:34 UTC; 3min 21s ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/amavis.service ├─16275 /usr/sbin/amavisd-new (master └─16360 /usr/sbin/amavisd-new (virgin child

Oct 22 05:44:34 DHPR001 amavis[16275]: Found decoder for .jar at /usr/bin/7z Oct 22 05:44:34 DHPR001 amavis[16275]: Found decoder for .swf at /usr/bin/7z Oct 22 05:44:34 DHPR001 amavis[16275]: Found decoder for .lha at /usr/bin/7z Oct 22 05:44:34 DHPR001 amavis[16275]: Found decoder for .iso at /usr/bin/7z Oct 22 05:44:34 DHPR001 amavis[16275]: Found decoder for .exe at /usr/bin/unrar-free; /usr/bin/arj Oct 22 05:44:34 DHPR001 amavis[16275]: No decoder for .F Oct 22 05:44:34 DHPR001 amavis[16275]: Using primary internal av scanner code for ClamAV-clamd Oct 22 05:44:34 DHPR001 amavis[16275]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan Oct 22 05:44:34 DHPR001 amavis[16275]: Deleting db files snmp.db,db.002,db.001,__db.003,nanny.db in /var/lib/amavis/db Oct 22 05:44:34 DHPR001 amavis[16275]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.55, libdb 5.3 Installing modoboa Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.1ubuntu2). cron is already the newest version (3.0pl1-128ubuntu2). libffi-dev is already the newest version (3.2.1-4). libjpeg-dev is already the newest version (8c-2ubuntu8). librrd-dev is already the newest version (1.5.5-4). rrdtool is already the newest version (1.5.5-4). libxml2-dev is already the newest version (2.9.3+dfsg1-1ubuntu0.6). libxslt1-dev is already the newest version (1.1.28-2.1ubuntu0.1). python-dev is already the newest version (2.7.12-1~16.04). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. User modoboa already exists, skipping creation but please make sure the /srv/modoboa directory exists. Reading package lists... Building dependency tree... Reading state information... postgresql is already the newest version (9.5+173ubuntu0.2). postgresql-server-dev-all is already the newest version (173ubuntu0.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Synchronizing state of postgresql.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable postgresql ● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: active (exited) since Mon 2018-10-22 05:47:51 UTC; 6s ago Main PID: 27778 (code=exited, status=0/SUCCESS) CGroup: /system.slice/postgresql.service

Oct 22 05:47:51 DHPR001 systemd[1]: Starting PostgreSQL RDBMS... Oct 22 05:47:51 DHPR001 systemd[1]: Started PostgreSQL RDBMS. 1 createdb: database creation failed: ERROR: database "modoboa" already exists GRANT Requirement already satisfied: modoboa in ./env/lib/python2.7/site-packages (1.12.2) Requirement already satisfied: django<=1.11.99,>=1.11.8 in ./env/lib/python2.7/site-packages (from modoboa) (1.11.16) Requirement already satisfied: django-braces==1.11.0 in ./env/lib/python2.7/site-packages (from modoboa) (1.11.0) Requirement already satisfied: django-ckeditor==5.2.2 in ./env/lib/python2.7/site-packages (from modoboa) (5.2.2) Requirement already satisfied: django-reversion==2.0.12 in ./env/lib/python2.7/site-packages (from modoboa) (2.0.12) Requirement already satisfied: django-subcommand2==0.1.1 in ./env/lib/python2.7/site-packages (from modoboa) (0.1.1) Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python2.7/site-packages (from modoboa) (2.0) Requirement already satisfied: dj-database-url in ./env/lib/python2.7/site-packages (from modoboa) (0.5.0) Requirement already satisfied: coreapi==2.3.3 in ./env/lib/python2.7/site-packages (from modoboa) (2.3.3) Requirement already satisfied: coreapi-cli==1.0.6 in ./env/lib/python2.7/site-packages (from modoboa) (1.0.6) Requirement already satisfied: djangorestframework==3.7.3 in ./env/lib/python2.7/site-packages (from modoboa) (3.7.3) Requirement already satisfied: bcrypt==3.1.4 in ./env/lib/python2.7/site-packages (from modoboa) (3.1.4) Requirement already satisfied: dnspython==1.15.0 in ./env/lib/python2.7/site-packages (from modoboa) (1.15.0) Requirement already satisfied: feedparser==5.2.1 in ./env/lib/python2.7/site-packages (from modoboa) (5.2.1) Requirement already satisfied: gevent==1.2.2 in ./env/lib/python2.7/site-packages (from modoboa) (1.2.2) Requirement already satisfied: jsonfield==2.0.2 in ./env/lib/python2.7/site-packages (from modoboa) (2.0.2) Requirement already satisfied: passlib==1.7.1 in ./env/lib/python2.7/site-packages (from modoboa) (1.7.1) Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages (from modoboa) (5.3.0) Requirement already satisfied: progressbar33==2.4 in ./env/lib/python2.7/site-packages (from modoboa) (2.4) Requirement already satisfied: py-dateutil==2.2 in ./env/lib/python2.7/site-packages (from modoboa) (2.2) Requirement already satisfied: cryptography in ./env/lib/python2.7/site-packages (from modoboa) (2.3.1) Requirement already satisfied: pytz in ./env/lib/python2.7/site-packages (from modoboa) (2018.5) Requirement already satisfied: requests in ./env/lib/python2.7/site-packages (from modoboa) (2.20.0) Requirement already satisfied: rfc6266 in ./env/lib/python2.7/site-packages (from modoboa) (0.0.4) Requirement already satisfied: lxml in ./env/lib/python2.7/site-packages (from modoboa) (4.2.5) Requirement already satisfied: chardet in ./env/lib/python2.7/site-packages (from modoboa) (3.0.4) Requirement already satisfied: ipaddress in ./env/lib/python2.7/site-packages (from modoboa) (1.0.22) Requirement already satisfied: backports.csv in ./env/lib/python2.7/site-packages (from modoboa) (1.0.6) Requirement already satisfied: coreschema in ./env/lib/python2.7/site-packages (from coreapi==2.3.3->modoboa) (0.0.4) Requirement already satisfied: itypes in ./env/lib/python2.7/site-packages (from coreapi==2.3.3->modoboa) (1.1.0) Requirement already satisfied: uritemplate in ./env/lib/python2.7/site-packages (from coreapi==2.3.3->modoboa) (3.0.0) Requirement already satisfied: click>=6.0 in ./env/lib/python2.7/site-packages (from coreapi-cli==1.0.6->modoboa) (7.0) Requirement already satisfied: cffi>=1.1 in ./env/lib/python2.7/site-packages (from bcrypt==3.1.4->modoboa) (1.11.5) Requirement already satisfied: six>=1.4.1 in ./env/lib/python2.7/site-packages (from bcrypt==3.1.4->modoboa) (1.11.0) Requirement already satisfied: greenlet>=0.4.10 in ./env/lib/python2.7/site-packages (from gevent==1.2.2->modoboa) (0.4.15) Requirement already satisfied: idna>=2.1 in ./env/lib/python2.7/site-packages (from cryptography->modoboa) (2.7) Requirement already satisfied: asn1crypto>=0.21.0 in ./env/lib/python2.7/site-packages (from cryptography->modoboa) (0.24.0) Requirement already satisfied: enum34 in ./env/lib/python2.7/site-packages (from cryptography->modoboa) (1.1.6) Requirement already satisfied: urllib3<1.25,>=1.21.1 in ./env/lib/python2.7/site-packages (from requests->modoboa) (1.24) Requirement already satisfied: certifi>=2017.4.17 in ./env/lib/python2.7/site-packages (from requests->modoboa) (2018.10.15) Requirement already satisfied: LEPL in ./env/lib/python2.7/site-packages (from rfc6266->modoboa) (5.1.3) Requirement already satisfied: jinja2 in ./env/lib/python2.7/site-packages (from coreschema->coreapi==2.3.3->modoboa) (2.10) Requirement already satisfied: pycparser in ./env/lib/python2.7/site-packages (from cffi>=1.1->bcrypt==3.1.4->modoboa) (2.19) Requirement already satisfied: MarkupSafe>=0.23 in ./env/lib/python2.7/site-packages (from jinja2->coreschema->coreapi==2.3.3->modoboa) (1.0) Requirement already satisfied: rrdtool in ./env/lib/python2.7/site-packages (0.1.14) Requirement already satisfied: modoboa-amavis in ./env/lib/python2.7/site-packages (1.2.3) Requirement already satisfied: modoboa-pdfcredentials in ./env/lib/python2.7/site-packages (1.3.1) Requirement already satisfied: modoboa-postfix-autoreply in ./env/lib/python2.7/site-packages (1.5.1) Requirement already satisfied: modoboa-sievefilters in ./env/lib/python2.7/site-packages (1.4.1) Requirement already satisfied: modoboa-stats in ./env/lib/python2.7/site-packages (1.4.1) Requirement already satisfied: modoboa-webmail in ./env/lib/python2.7/site-packages (1.5.0) Requirement already satisfied: modoboa-contacts in ./env/lib/python2.7/site-packages (0.7.3) Requirement already satisfied: modoboa-radicale in ./env/lib/python2.7/site-packages (1.3.6) Requirement already satisfied: psycopg2-binary in ./env/lib/python2.7/site-packages (2.7.5) Requirement already satisfied: caldav from https://github.com/modoboa/caldav/tarball/master#egg=caldav in ./env/lib/python2.7/site-packages (0.5.0) Requirement already satisfied: html2text in ./env/lib/python2.7/site-packages (from modoboa-amavis) (2018.1.9) Requirement already satisfied: modoboa>=1.10.2 in ./env/lib/python2.7/site-packages (from modoboa-amavis) (1.12.2) Requirement already satisfied: idna in ./env/lib/python2.7/site-packages (from modoboa-amavis) (2.7) Requirement already satisfied: chardet in ./env/lib/python2.7/site-packages (from modoboa-amavis) (3.0.4) Requirement already satisfied: reportlab in ./env/lib/python2.7/site-packages (from modoboa-pdfcredentials) (3.5.9) Requirement already satisfied: django-filter==1.1.0 in ./env/lib/python2.7/site-packages (from modoboa-postfix-autoreply) (1.1.0) Requirement already satisfied: pytz in ./env/lib/python2.7/site-packages (from modoboa-postfix-autoreply) (2018.5) Requirement already satisfied: sievelib>=1.1.1 in ./env/lib/python2.7/site-packages (from modoboa-sievefilters) (1.1.1) Requirement already satisfied: lxml in ./env/lib/python2.7/site-packages (from modoboa-stats) (4.2.5) Requirement already satisfied: vobject in ./env/lib/python2.7/site-packages (from modoboa-contacts) (0.9.6.1) Requirement already satisfied: django-webpack-loader in ./env/lib/python2.7/site-packages (from modoboa-contacts) (0.6.0) Requirement already satisfied: drf-nested-routers in ./env/lib/python2.7/site-packages (from modoboa-radicale) (0.91) Requirement already satisfied: coverage in ./env/lib/python2.7/site-packages (from caldav) (4.5.1) Requirement already satisfied: nose in ./env/lib/python2.7/site-packages (from caldav) (1.3.7) Requirement already satisfied: icalendar in ./env/lib/python2.7/site-packages (from caldav) (4.0.3) Requirement already satisfied: six in ./env/lib/python2.7/site-packages (from caldav) (1.11.0) Requirement already satisfied: requests in ./env/lib/python2.7/site-packages (from caldav) (2.20.0) Requirement already satisfied: django<=1.11.99,>=1.11.8 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.11.16) Requirement already satisfied: django-braces==1.11.0 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.11.0) Requirement already satisfied: django-ckeditor==5.2.2 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (5.2.2) Requirement already satisfied: django-reversion==2.0.12 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (2.0.12) Requirement already satisfied: django-subcommand2==0.1.1 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (0.1.1) Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (2.0) Requirement already satisfied: dj-database-url in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (0.5.0) Requirement already satisfied: coreapi==2.3.3 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (2.3.3) Requirement already satisfied: coreapi-cli==1.0.6 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.0.6) Requirement already satisfied: djangorestframework==3.7.3 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (3.7.3) Requirement already satisfied: bcrypt==3.1.4 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (3.1.4) Requirement already satisfied: dnspython==1.15.0 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.15.0) Requirement already satisfied: feedparser==5.2.1 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (5.2.1) Requirement already satisfied: gevent==1.2.2 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.2.2) Requirement already satisfied: jsonfield==2.0.2 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (2.0.2) Requirement already satisfied: passlib==1.7.1 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.7.1) Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (5.3.0) Requirement already satisfied: progressbar33==2.4 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (2.4) Requirement already satisfied: py-dateutil==2.2 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (2.2) Requirement already satisfied: cryptography in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (2.3.1) Requirement already satisfied: rfc6266 in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (0.0.4) Requirement already satisfied: ipaddress in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.0.22) Requirement already satisfied: backports.csv in ./env/lib/python2.7/site-packages (from modoboa>=1.10.2->modoboa-amavis) (1.0.6) Requirement already satisfied: future in ./env/lib/python2.7/site-packages (from sievelib>=1.1.1->modoboa-sievefilters) (0.16.0) Requirement already satisfied: python-dateutil>=2.4.0 in ./env/lib/python2.7/site-packages (from vobject->modoboa-contacts) (2.7.3) Requirement already satisfied: urllib3<1.25,>=1.21.1 in ./env/lib/python2.7/site-packages (from requests->caldav) (1.24) Requirement already satisfied: certifi>=2017.4.17 in ./env/lib/python2.7/site-packages (from requests->caldav) (2018.10.15) Requirement already satisfied: coreschema in ./env/lib/python2.7/site-packages (from coreapi==2.3.3->modoboa>=1.10.2->modoboa-amavis) (0.0.4) Requirement already satisfied: itypes in ./env/lib/python2.7/site-packages (from coreapi==2.3.3->modoboa>=1.10.2->modoboa-amavis) (1.1.0) Requirement already satisfied: uritemplate in ./env/lib/python2.7/site-packages (from coreapi==2.3.3->modoboa>=1.10.2->modoboa-amavis) (3.0.0) Requirement already satisfied: click>=6.0 in ./env/lib/python2.7/site-packages (from coreapi-cli==1.0.6->modoboa>=1.10.2->modoboa-amavis) (7.0) Requirement already satisfied: cffi>=1.1 in ./env/lib/python2.7/site-packages (from bcrypt==3.1.4->modoboa>=1.10.2->modoboa-amavis) (1.11.5) Requirement already satisfied: greenlet>=0.4.10 in ./env/lib/python2.7/site-packages (from gevent==1.2.2->modoboa>=1.10.2->modoboa-amavis) (0.4.15) Requirement already satisfied: asn1crypto>=0.21.0 in ./env/lib/python2.7/site-packages (from cryptography->modoboa>=1.10.2->modoboa-amavis) (0.24.0) Requirement already satisfied: enum34 in ./env/lib/python2.7/site-packages (from cryptography->modoboa>=1.10.2->modoboa-amavis) (1.1.6) Requirement already satisfied: LEPL in ./env/lib/python2.7/site-packages (from rfc6266->modoboa>=1.10.2->modoboa-amavis) (5.1.3) Requirement already satisfied: jinja2 in ./env/lib/python2.7/site-packages (from coreschema->coreapi==2.3.3->modoboa>=1.10.2->modoboa-amavis) (2.10) Requirement already satisfied: pycparser in ./env/lib/python2.7/site-packages (from cffi>=1.1->bcrypt==3.1.4->modoboa>=1.10.2->modoboa-amavis) (2.19) Requirement already satisfied: MarkupSafe>=0.23 in ./env/lib/python2.7/site-packages (from jinja2->coreschema->coreapi==2.3.3->modoboa>=1.10.2->modoboa-amavis) (1.0) Target directory for Modoboa deployment (/srv/modoboa/instance) already exists. If you choose to continue, it will be removed. Do you confirm? (Y/n) Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line utility.execute() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, *cmd_options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute output = self.handle(args, options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 83, in handle executor = MigrationExecutor(connection, self.migration_progress_callback) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 20, in init self.loader = MigrationLoader(self.connection) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 52, in init self.build_graph() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 209, in build_graph self.applied_migrations = recorder.applied_migrations() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 65, in applied_migrations self.ensure_schema() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 52, in ensure_schema if self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor()): File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor return self._cursor() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor self.ensure_connection() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection self.connect() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in exit six.reraise(dj_exc_type, dj_exc_value, traceback) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection self.connect() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect self.connection = self.get_new_connection(conn_params) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection connection = Database.connect(conn_params) File "/srv/modoboa/env/local/lib/python2.7/site-packages/psycopg2/init.py", line 130, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) django.db.utils.OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?

['/srv/modoboa/env/bin/python2', u'manage.py', u'migrate', u'--noinput'] failed, check your configuration Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line utility.execute() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, *cmd_options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute output = self.handle(args, options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/core/management/commands/load_initial_data.py", line 41, in handle if not models.User.objects.filter(is_superuser=True).count(): File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 364, in count return self.query.get_count(using=self.db) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 499, in get_count number = obj.get_aggregation(using, ['count'])['count'] File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 480, in get_aggregation result = compiler.execute_sql(SINGLE) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 887, in execute_sql cursor = self.connection.cursor() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor return self._cursor() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor self.ensure_connection() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection self.connect() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in exit six.reraise(dj_exc_type, dj_exc_value, traceback) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection self.connect() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect self.connection = self.get_new_connection(conn_params) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection connection = Database.connect(conn_params) File "/srv/modoboa/env/local/lib/python2.7/site-packages/psycopg2/init.py", line 130, in connect conn = _connect(dsn, connection_factory=connection_factory, **kwasync) django.db.utils.OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?

['/srv/modoboa/env/bin/python2', u'manage.py', u'load_initial_data', u'--admin-username', u'admin'] failed, check your configuration Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line utility.execute() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/init.py", line 356, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, cmd_options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute output = self.handle(*args, *options) File "/srv/modoboa/env/local/lib/python2.7/site-packages/modoboa/core/management/commands/set_default_site.py", line 29, in handle site = Site.objects.get(pk=1) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(args, kwargs) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 374, in get num = len(clone) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 232, in len self._fetch_all() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 1121, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 53, in iter results = compiler.execute_sql(chunked_fetch=self.chunked_fetch) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 887, in execute_sql cursor = self.connection.cursor() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor return self._cursor() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor self.ensure_connection() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection self.connect() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in exit six.reraise(dj_exc_type, dj_exc_value, traceback) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection self.connect() File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect self.connection = self.get_new_connection(conn_params) File "/srv/modoboa/env/local/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection connection = Database.connect(conn_params) File "/srv/modoboa/env/local/lib/python2.7/site-packages/psycopg2/init.py", line 130, in connect conn = _connect(dsn, connection_factory=connection_factory, kwasync) django.db.utils.OperationalError: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?

['/srv/modoboa/env/bin/python2', u'manage.py', u'set_default_site', 'mail.codeasshole.club'] failed, check your configuration psql: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? Installing automx Reading package lists... Building dependency tree... Reading state information... unzip is already the newest version (6.0-20ubuntu1). memcached is already the newest version (1.4.25-2ubuntu1.4). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. User automx already exists, skipping creation but please make sure the /srv/automx directory exists. Requirement already satisfied: future in ./env/lib/python2.7/site-packages (0.16.0) Requirement already satisfied: lxml in ./env/lib/python2.7/site-packages (4.2.5) Requirement already satisfied: ipaddress in ./env/lib/python2.7/site-packages (1.0.22) Requirement already satisfied: sqlalchemy in ./env/lib/python2.7/site-packages (1.2.12) Requirement already satisfied: python-memcached in ./env/lib/python2.7/site-packages (1.59) Requirement already satisfied: python-dateutil in ./env/lib/python2.7/site-packages (2.7.3) Requirement already satisfied: configparser in ./env/lib/python2.7/site-packages (3.5.0) Requirement already satisfied: psycopg2-binary in ./env/lib/python2.7/site-packages (2.7.5) Requirement already satisfied: six>=1.4.0 in ./env/lib/python2.7/site-packages (from python-memcached) (1.11.0) --2018-10-22 05:48:16-- https://github.com/sys4/automx/archive/master.zip Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113 Connecting to github.com (github.com)|192.30.255.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/sys4/automx/zip/master [following] --2018-10-22 05:48:16-- https://codeload.github.com/sys4/automx/zip/master Resolving codeload.github.com (codeload.github.com)... 192.30.255.121, 192.30.255.120 Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/zip] Saving to: ‘master.zip’

master.zip [ <=> ] 482.60K --.-KB/s in 0.1s

2018-10-22 05:48:17 (4.01 MB/s) - ‘master.zip’ saved [494179]

Archive: master.zip 4aee43f7dbc75af7581fb3836f27be519df6a87c creating: automx-master/ inflating: automx-master/.gitignore inflating: automx-master/BASIC_CONFIGURATION_README inflating: automx-master/CHANGES inflating: automx-master/CREDITS inflating: automx-master/INSTALL inflating: automx-master/LICENSE inflating: automx-master/README.md inflating: automx-master/RELEASE_NOTES inflating: automx-master/ROADMAP creating: automx-master/contrib/ inflating: automx-master/contrib/README.get_mx.py.txt inflating: automx-master/contrib/get_mx.py creating: automx-master/doc/ creating: automx-master/doc/html/ inflating: automx-master/doc/html/BASIC_CONFIGURATION_README.html inflating: automx-master/doc/html/INSTALL.html inflating: automx-master/doc/html/automx-test.1.html inflating: automx-master/doc/html/automx.conf.5.html inflating: automx-master/doc/html/automx_ldap.5.html inflating: automx-master/doc/html/automx_script.5.html inflating: automx-master/doc/html/automx_sql.5.html creating: automx-master/doc/man/ creating: automx-master/doc/man/man1/ inflating: automx-master/doc/man/man1/automx-test.1 creating: automx-master/doc/man/man5/ inflating: automx-master/doc/man/man5/automx.conf.5 inflating: automx-master/doc/man/man5/automx_ldap.5 inflating: automx-master/doc/man/man5/automx_script.5 inflating: automx-master/doc/man/man5/automx_sql.5 creating: automx-master/doc/txt/ inflating: automx-master/doc/txt/automx-test.1.txt inflating: automx-master/doc/txt/automx.conf.5.txt inflating: automx-master/doc/txt/automx_ldap.5.txt inflating: automx-master/doc/txt/automx_script.5.txt inflating: automx-master/doc/txt/automx_sql.5.txt inflating: automx-master/setup.py creating: automx-master/src/ inflating: automx-master/src/automx-test creating: automx-master/src/automx/ inflating: automx-master/src/automx/init.py inflating: automx-master/src/automx/config.py inflating: automx-master/src/automx/view.py inflating: automx-master/src/automx_wsgi.py creating: automx-master/src/conf/ inflating: automx-master/src/conf/apache.conf.example inflating: automx-master/src/conf/automx.conf inflating: automx-master/src/conf/automx.conf.example-complex inflating: automx-master/src/conf/nginx-automx.conf creating: automx-master/src/doc/ inflating: automx-master/src/doc/BASIC_CONFIGURATION_README.rst inflating: automx-master/src/doc/INSTALL.rst inflating: automx-master/src/doc/Makefile inflating: automx-master/src/doc/Makefile.MacOSX inflating: automx-master/src/doc/automx-test.1.rst inflating: automx-master/src/doc/automx.conf.5.rst inflating: automx-master/src/doc/automx_ldap.5.rst inflating: automx-master/src/doc/automx_script.5.rst inflating: automx-master/src/doc/automx_sql.5.rst creating: automx-master/src/foundation-scss/ inflating: automx-master/src/foundation-scss/MIT-LICENSE.txt inflating: automx-master/src/foundation-scss/config.rb inflating: automx-master/src/foundation-scss/humans.txt inflating: automx-master/src/foundation-scss/index.html creating: automx-master/src/foundation-scss/javascripts/ creating: automx-master/src/foundation-scss/javascripts/foundation/ inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.alerts.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.clearing.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.cookie.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.dropdown.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.forms.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.interchange.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.joyride.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.magellan.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.orbit.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.placeholder.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.reveal.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.section.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.tooltips.js inflating: automx-master/src/foundation-scss/javascripts/foundation/foundation.topbar.js creating: automx-master/src/foundation-scss/javascripts/vendor/ inflating: automx-master/src/foundation-scss/javascripts/vendor/custom.modernizr.js inflating: automx-master/src/foundation-scss/javascripts/vendor/jquery.js inflating: automx-master/src/foundation-scss/javascripts/vendor/zepto.js inflating: automx-master/src/foundation-scss/robots.txt creating: automx-master/src/foundation-scss/sass/ inflating: automx-master/src/foundation-scss/sass/_normalize.scss inflating: automx-master/src/foundation-scss/sass/_settings.scss inflating: automx-master/src/foundation-scss/sass/app.scss creating: automx-master/src/html/ creating: automx-master/src/html/css/ inflating: automx-master/src/html/css/app.css creating: automx-master/src/html/img/ extracting: automx-master/src/html/img/automx-banner.png inflating: automx-master/src/html/img/company-banner.png inflating: automx-master/src/html/index.html.de inflating: automx-master/src/html/index.html.en creating: automx-master/src/html/js/ inflating: automx-master/src/html/js/foundation.min.js creating: automx-master/src/html/js/foundation/ inflating: automx-master/src/html/js/foundation/foundation.alerts.js inflating: automx-master/src/html/js/foundation/foundation.clearing.js inflating: automx-master/src/html/js/foundation/foundation.cookie.js inflating: automx-master/src/html/js/foundation/foundation.dropdown.js inflating: automx-master/src/html/js/foundation/foundation.forms.js inflating: automx-master/src/html/js/foundation/foundation.interchange.js inflating: automx-master/src/html/js/foundation/foundation.joyride.js inflating: automx-master/src/html/js/foundation/foundation.js inflating: automx-master/src/html/js/foundation/foundation.magellan.js inflating: automx-master/src/html/js/foundation/foundation.orbit.js inflating: automx-master/src/html/js/foundation/foundation.placeholder.js inflating: automx-master/src/html/js/foundation/foundation.reveal.js inflating: automx-master/src/html/js/foundation/foundation.section.js inflating: automx-master/src/html/js/foundation/foundation.tooltips.js inflating: automx-master/src/html/js/foundation/foundation.topbar.js creating: automx-master/src/html/js/vendor/ inflating: automx-master/src/html/js/vendor/custom.modernizr.js inflating: automx-master/src/html/js/vendor/jquery.js inflating: automx-master/src/html/js/vendor/zepto.js running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 copying src/automx_wsgi.py -> build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/automx copying src/automx/config.py -> build/lib.linux-x86_64-2.7/automx copying src/automx/init.py -> build/lib.linux-x86_64-2.7/automx copying src/automx/view.py -> build/lib.linux-x86_64-2.7/automx running build_scripts creating build/scripts-2.7 copying src/automx-test -> build/scripts-2.7 running install_lib running install_scripts changing mode of /srv/automx/env/bin/automx-test to 755 running install_data running install_egg_info Removing /srv/automx/env/lib/python2.7/site-packages/automx-1.1.1-py2.7.egg-info Writing /srv/automx/env/lib/python2.7/site-packages/automx-1.1.1-py2.7.egg-info Synchronizing state of memcached.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable memcached ● memcached.service - memcached daemon Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-10-22 05:44:55 UTC; 3min 21s ago Main PID: 16719 (memcached) CGroup: /system.slice/memcached.service └─16719 /usr/bin/memcached -m 64 -p 11211 -u memcache -l 127.0.0.1

Oct 22 05:44:55 DHPR001 systemd[1]: Started memcached daemon. Installing radicale Reading package lists... Building dependency tree... Reading state information... supervisor is already the newest version (3.2.0-2ubuntu0.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. User radicale already exists, skipping creation but please make sure the /srv/radicale directory exists. Requirement already satisfied: Radicale in ./env/lib/python3.5/site-packages (2.1.10) Requirement already satisfied: radicale-dovecot-auth in ./env/lib/python3.5/site-packages (0.2.1) Requirement already satisfied: pytz in ./env/lib/python3.5/site-packages (2018.5) Requirement already satisfied: vobject>=0.9.6 in ./env/lib/python3.5/site-packages (from Radicale) (0.9.6.1) Requirement already satisfied: python-dateutil>=2.7.3 in ./env/lib/python3.5/site-packages (from Radicale) (2.7.3) Requirement already satisfied: six>=1.5 in ./env/lib/python3.5/site-packages (from python-dateutil>=2.7.3->Radicale) (1.11.0) Reading package lists... Building dependency tree... Reading state information... git is already the newest version (1:2.7.4-0ubuntu1.5). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Obtaining radicale-storage-by-index from git+https://github.com/tonioo/RadicaleStorageByIndex#egg=radicale-storage-by-index Updating ./env/src/radicale-storage-by-index clone Requirement already satisfied: radicale in ./env/lib/python3.5/site-packages (from radicale-storage-by-index) (2.1.10) Requirement already satisfied: vobject>=0.9.6 in ./env/lib/python3.5/site-packages (from radicale->radicale-storage-by-index) (0.9.6.1) Requirement already satisfied: python-dateutil>=2.7.3 in ./env/lib/python3.5/site-packages (from radicale->radicale-storage-by-index) (2.7.3) Requirement already satisfied: six>=1.5 in ./env/lib/python3.5/site-packages (from python-dateutil>=2.7.3->radicale->radicale-storage-by-index) (1.11.0) Installing collected packages: radicale-storage-by-index Found existing installation: radicale-storage-by-index 1.0.1 Uninstalling radicale-storage-by-index-1.0.1: Successfully uninstalled radicale-storage-by-index-1.0.1 Running setup.py develop for radicale-storage-by-index Successfully installed radicale-storage-by-index Installing uwsgi Reading package lists... Building dependency tree... Reading state information... uwsgi is already the newest version (2.0.12-5ubuntu3.2). uwsgi-plugin-python is already the newest version (2.0.12-5ubuntu3.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ● uwsgi.service - LSB: Start/stop uWSGI server instance(s) Loaded: loaded (/etc/init.d/uwsgi; bad; vendor preset: enabled) Active: active (running) since Mon 2018-10-22 05:45:02 UTC; 3min 19s ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/uwsgi.service ├─17122 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/automx_instance.ini --daemonize /var/log/uwsgi/app/automx ├─17215 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/modoboa_instance.ini --daemonize /var/log/uwsgi/app/modob ├─17222 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/automx_instance.ini --daemonize /var/log/uwsgi/app/automx ├─17223 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/automx_instance.ini --daemonize /var/log/uwsgi/app/automx ├─17401 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/modoboa_instance.ini --daemonize /var/log/uwsgi/app/modob └─17402 /usr/bin/uwsgi --ini /usr/share/uwsgi/conf/default.ini --ini /etc/uwsgi/apps-enabled/modoboa_instance.ini --daemonize /var/log/uwsgi/app/modob

Oct 22 05:45:02 DHPR001 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)... Oct 22 05:45:02 DHPR001 uwsgi[16959]: * Starting app server(s) uwsgi Oct 22 05:45:02 DHPR001 uwsgi[16959]: ...done. Oct 22 05:45:02 DHPR001 systemd[1]: Started LSB: Start/stop uWSGI server instance(s).

uwsgi.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install enable uwsgi Installing nginx Reading package lists... Building dependency tree... Reading state information... ssl-cert is already the newest version (1.0.37). nginx is already the newest version (1.10.3-0ubuntu0.16.04.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Synchronizing state of nginx.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable nginx ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-10-22 05:45:03 UTC; 5min ago Main PID: 17388 (nginx) CGroup: /system.slice/nginx.service ├─17388 nginx: master process /usr/sbin/nginx -g daemon on; master_process on ├─17389 nginx: worker process ├─17390 nginx: worker process ├─17391 nginx: worker process ├─17392 nginx: worker process ├─17393 nginx: worker process ├─17394 nginx: worker process ├─17395 nginx: worker process └─17396 nginx: worker process

Oct 22 05:45:03 DHPR001 systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 22 05:45:03 DHPR001 systemd[1]: Started A high performance web server and a reverse proxy server. Installing opendkim Reading package lists... Building dependency tree... Reading state information... libopendbx1-pgsql is already the newest version (1.4.6-9build1). opendkim is already the newest version (2.10.3-3build1). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... postgresql is already the newest version (9.5+173ubuntu0.2). postgresql-server-dev-all is already the newest version (173ubuntu0.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Synchronizing state of postgresql.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable postgresql ● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: active (exited) since Mon 2018-10-22 05:48:01 UTC; 2min 31s ago Main PID: 28183 (code=exited, status=0/SUCCESS) CGroup: /system.slice/postgresql.service

Oct 22 05:48:01 DHPR001 systemd[1]: Starting PostgreSQL RDBMS... Oct 22 05:48:01 DHPR001 systemd[1]: Started PostgreSQL RDBMS. psql: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? ERROR: relation "dkim" does not exist Synchronizing state of opendkim.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable opendkim ● opendkim.service - DomainKeys Identified Mail (DKIM) Milter Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2018-10-22 05:45:09 UTC; 5min ago Docs: man:opendkim(8) man:opendkim.conf(5) man:opendkim-genkey(8) man:opendkim-genzone(8) man:opendkim-testadsp(8) man:opendkim-testkey http://www.opendkim.org/docs.html

Oct 22 05:45:09 DHPR001 systemd[1]: Starting DomainKeys Identified Mail (DKIM) Milter... Oct 22 05:45:09 DHPR001 systemd[1]: opendkim.service: Control process exited, code=exited status=78 Oct 22 05:45:09 DHPR001 systemd[1]: Failed to start DomainKeys Identified Mail (DKIM) Milter. Oct 22 05:45:09 DHPR001 systemd[1]: opendkim.service: Unit entered failed state. Oct 22 05:45:09 DHPR001 systemd[1]: opendkim.service: Failed with result 'exit-code'. Job for opendkim.service failed because the control process exited with error code. See "systemctl status opendkim.service" and "journalctl -xe" for details. Installing postfix Reading package lists... Building dependency tree... Reading state information... postfix is already the newest version (3.1.0-3ubuntu0.3). postfix-pgsql is already the newest version (3.1.0-3ubuntu0.3). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Installing postwhite --2018-10-22 05:50:39-- https://github.com/jsarenik/spf-tools/archive/master.zip Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/jsarenik/spf-tools/zip/master [following] --2018-10-22 05:50:39-- https://codeload.github.com/jsarenik/spf-tools/zip/master Resolving codeload.github.com (codeload.github.com)... 192.30.255.121, 192.30.255.120 Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/zip] Saving to: ‘master.zip’

master.zip [ <=> ] 50.50K --.-KB/s in 0.05s

2018-10-22 05:50:39 (1.05 MB/s) - ‘master.zip’ saved [51713]

Archive: master.zip 06dfb9cf5c9e2f739c4f24c10fffe9e2f0198490 creating: spf-tools-master/ creating: spf-tools-master/.circleci/ inflating: spf-tools-master/.circleci/config.yml extracting: spf-tools-master/.gitignore inflating: spf-tools-master/.simplecov inflating: spf-tools-master/.travis.yml inflating: spf-tools-master/AUTHORS inflating: spf-tools-master/LICENSE inflating: spf-tools-master/README.md inflating: spf-tools-master/cloudflare.sh inflating: spf-tools-master/compare.sh inflating: spf-tools-master/despf.sh inflating: spf-tools-master/genspfzone.sh creating: spf-tools-master/include/ inflating: spf-tools-master/include/despf.inc.sh inflating: spf-tools-master/include/global.inc.sh inflating: spf-tools-master/include/isincidrange.sh inflating: spf-tools-master/iprange.sh creating: spf-tools-master/misc/ inflating: spf-tools-master/misc/ci-runtest.sh inflating: spf-tools-master/misc/ci-setup.sh inflating: spf-tools-master/misc/tmpl inflating: spf-tools-master/mkblocks.sh inflating: spf-tools-master/mkzoneent.sh inflating: spf-tools-master/normalize.sh inflating: spf-tools-master/route53.sh inflating: spf-tools-master/runspftools.sh inflating: spf-tools-master/shippable.yml inflating: spf-tools-master/simplify.sh creating: spf-tools-master/tests/ creating: spf-tools-master/tests/a24/ extracting: spf-tools-master/tests/a24/cmd extracting: spf-tools-master/tests/a24/in inflating: spf-tools-master/tests/a24/out creating: spf-tools-master/tests/brokendns/ inflating: spf-tools-master/tests/brokendns/cmd extracting: spf-tools-master/tests/brokendns/in extracting: spf-tools-master/tests/brokendns/out creating: spf-tools-master/tests/cname/ inflating: spf-tools-master/tests/cname/cmd extracting: spf-tools-master/tests/cname/in extracting: spf-tools-master/tests/cname/out creating: spf-tools-master/tests/despf/ extracting: spf-tools-master/tests/despf/cmd extracting: spf-tools-master/tests/despf/in inflating: spf-tools-master/tests/despf/out creating: spf-tools-master/tests/despf_chain/ inflating: spf-tools-master/tests/despf_chain/cmd extracting: spf-tools-master/tests/despf_chain/in inflating: spf-tools-master/tests/despf_chain/out creating: spf-tools-master/tests/despf_help/ extracting: spf-tools-master/tests/despf_help/cmd extracting: spf-tools-master/tests/despf_help/in inflating: spf-tools-master/tests/despf_help/out creating: spf-tools-master/tests/despf_qualifier/ extracting: spf-tools-master/tests/despf_qualifier/cmd extracting: spf-tools-master/tests/despf_qualifier/in inflating: spf-tools-master/tests/despf_qualifier/out creating: spf-tools-master/tests/despf_qualifier2/ extracting: spf-tools-master/tests/despf_qualifier2/cmd extracting: spf-tools-master/tests/despf_qualifier2/in inflating: spf-tools-master/tests/despf_qualifier2/out creating: spf-tools-master/tests/despf_skip/ inflating: spf-tools-master/tests/despf_skip/cmd extracting: spf-tools-master/tests/despf_skip/in inflating: spf-tools-master/tests/despf_skip/out creating: spf-tools-master/tests/despf_skip_t/ inflating: spf-tools-master/tests/despf_skip_t/cmd extracting: spf-tools-master/tests/despf_skip_t/in inflating: spf-tools-master/tests/despf_skip_t/out creating: spf-tools-master/tests/despf_torn/ extracting: spf-tools-master/tests/despf_torn/cmd extracting: spf-tools-master/tests/despf_torn/in inflating: spf-tools-master/tests/despf_torn/out creating: spf-tools-master/tests/despf_upper_case/ extracting: spf-tools-master/tests/despf_upper_case/cmd extracting: spf-tools-master/tests/despf_upper_case/in inflating: spf-tools-master/tests/despf_upper_case/out creating: spf-tools-master/tests/fix_32/ inflating: spf-tools-master/tests/fix_32/cmd extracting: spf-tools-master/tests/fix_32/in extracting: spf-tools-master/tests/fix_32/out creating: spf-tools-master/tests/mkblocks-help/ extracting: spf-tools-master/tests/mkblocks-help/cmd extracting: spf-tools-master/tests/mkblocks-help/in inflating: spf-tools-master/tests/mkblocks-help/out creating: spf-tools-master/tests/mkblocks-start/ extracting: spf-tools-master/tests/mkblocks-start/cmd inflating: spf-tools-master/tests/mkblocks-start/in inflating: spf-tools-master/tests/mkblocks-start/out creating: spf-tools-master/tests/mkblocks/ extracting: spf-tools-master/tests/mkblocks/cmd inflating: spf-tools-master/tests/mkblocks/in inflating: spf-tools-master/tests/mkblocks/out creating: spf-tools-master/tests/mx20/ extracting: spf-tools-master/tests/mx20/cmd extracting: spf-tools-master/tests/mx20/in extracting: spf-tools-master/tests/mx20/out creating: spf-tools-master/tests/mx20_upper_case/ extracting: spf-tools-master/tests/mx20_upper_case/cmd extracting: spf-tools-master/tests/mx20_upper_case/in extracting: spf-tools-master/tests/mx20_upper_case/out creating: spf-tools-master/tests/norm_ignore/ extracting: spf-tools-master/tests/norm_ignore/cmd inflating: spf-tools-master/tests/norm_ignore/in extracting: spf-tools-master/tests/norm_ignore/out creating: spf-tools-master/tests/normalize/ extracting: spf-tools-master/tests/normalize/cmd inflating: spf-tools-master/tests/normalize/in inflating: spf-tools-master/tests/normalize/out creating: spf-tools-master/tests/normalize_empty/ extracting: spf-tools-master/tests/normalize_empty/cmd extracting: spf-tools-master/tests/normalize_empty/in extracting: spf-tools-master/tests/normalize_empty/out creating: spf-tools-master/tests/nospf/ inflating: spf-tools-master/tests/nospf/cmd extracting: spf-tools-master/tests/nospf/in extracting: spf-tools-master/tests/nospf/out creating: spf-tools-master/tests/redirect/ extracting: spf-tools-master/tests/redirect/cmd extracting: spf-tools-master/tests/redirect/in linking: spf-tools-master/tests/redirect/out -> ../despf/out creating: spf-tools-master/tests/simplify/ extracting: spf-tools-master/tests/simplify/cmd inflating: spf-tools-master/tests/simplify/in inflating: spf-tools-master/tests/simplify/out inflating: spf-tools-master/tests/test-shell.sh inflating: spf-tools-master/tests/test-subdirs.sh inflating: spf-tools-master/tests/test-unit.sh inflating: spf-tools-master/xsel.sh finishing deferred symbolic links: spf-tools-master/tests/redirect/out -> ../despf/out --2018-10-22 05:50:39-- https://github.com/stevejenkins/postwhite/archive/master.zip Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113 Connecting to github.com (github.com)|192.30.255.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/stevejenkins/postwhite/zip/master [following] --2018-10-22 05:50:39-- https://codeload.github.com/stevejenkins/postwhite/zip/master Resolving codeload.github.com (codeload.github.com)... 192.30.255.120, 192.30.255.121 Connecting to codeload.github.com (codeload.github.com)|192.30.255.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/zip] Saving to: ‘master.zip’

master.zip [ <=> ] 53.23K --.-KB/s in 0.05s

2018-10-22 05:50:39 (1.15 MB/s) - ‘master.zip’ saved [54510]

Archive: master.zip c880eb448959b831ea28c77a61c24c613b91db1d creating: postwhite-master/ inflating: postwhite-master/.travis.yml inflating: postwhite-master/LICENSE.md inflating: postwhite-master/README.md creating: postwhite-master/examples/ inflating: postwhite-master/examples/example_whitelist.cidr inflating: postwhite-master/examples/postscreen_ovh_whitelist.cidr inflating: postwhite-master/postwhite inflating: postwhite-master/postwhite.conf inflating: postwhite-master/query_mailer_ovh inflating: postwhite-master/scrape_yahoo creating: postwhite-master/testdata/ inflating: postwhite-master/testdata/README.md inflating: postwhite-master/testdata/sorted-V.txt inflating: postwhite-master/testdata/sorted-n.txt inflating: postwhite-master/testdata/sorted-tkn-uniq.txt inflating: postwhite-master/testdata/sorted-tkn.txt inflating: postwhite-master/testdata/sorted-u.txt inflating: postwhite-master/testdata/sorted-uV.txt inflating: postwhite-master/testdata/sorted-un.txt inflating: postwhite-master/testdata/sorted-untk.txt inflating: postwhite-master/testdata/unsorted.txt inflating: postwhite-master/yahoo_static_hosts.txt Starting Postwhite v3.4 (14 April 2018)

Reading options from /etc/postwhite.conf...

Creating temporary files...

Recursively querying SPF records of selected whitelist mailers...

Querying webmail hosts...

Querying social network hosts...

Querying ecommerce hosts...

Querying bulk mail hosts...

Querying miscellaneous hosts...

Querying custom hosts...

Including scraped Yahoo! outbound hosts...

Removing invalid IPv4 CIDRs from whitelist...............

Sorting whitelist rules...

Writing 1036 whitelist rules to /etc/postfix/postscreen_spf_whitelist.cidr...

Reloading Postfix configuration to refresh rules... postfix: Postfix is running with backwards-compatible default settings postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details postfix: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload" postfix/postfix-script: refreshing the Postfix mail system

Done! postfix.service is not a native service, redirecting to systemd-sysv-install Executing /lib/systemd/systemd-sysv-install enable postfix ● postfix.service - LSB: Postfix Mail Transport Agent Loaded: loaded (/etc/init.d/postfix; bad; vendor preset: enabled) Drop-In: /run/systemd/generator/postfix.service.d └─50-postfix-$mail-transport-agent.conf Active: active (running) since Mon 2018-10-22 05:45:35 UTC; 5min ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/postfix.service ├─ 5619 qmgr -l -t unix -u ├─ 5621 proxymap -t unix -u ├─26833 /usr/lib/postfix/sbin/master ├─26837 pickup -l -t unix -u -c └─29076 cleanup -z -t unix -u -c

Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 53: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 56: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 57: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 59: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 60: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 61: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 62: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 65: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 66: using backwards-compatible default setting chroot=y Oct 22 05:50:59 DHPR001 postfix/master[26833]: /etc/postfix/master.cf: line 67: using backwards-compatible default setting chroot=y Installing dovecot Reading package lists... Building dependency tree... Reading state information... dovecot-imapd is already the newest version (1:2.2.22-1ubuntu2.8). dovecot-managesieved is already the newest version (1:2.2.22-1ubuntu2.8). dovecot-sieve is already the newest version (1:2.2.22-1ubuntu2.8). dovecot-lmtpd is already the newest version (1:2.2.22-1ubuntu2.8). dovecot-pgsql is already the newest version (1:2.2.22-1ubuntu2.8). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. User vmail already exists, skipping creation but please make sure the /srv/vmail directory exists. Reading package lists... Building dependency tree... Reading state information... postgresql is already the newest version (9.5+173ubuntu0.2). postgresql-server-dev-all is already the newest version (173ubuntu0.2). The following packages were automatically installed and are no longer required: linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Synchronizing state of postgresql.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable postgresql ● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled) Active: active (exited) since Mon 2018-10-22 05:50:36 UTC; 26s ago Main PID: 29601 (code=exited, status=0/SUCCESS) CGroup: /system.slice/postgresql.service

Oct 22 05:50:36 DHPR001 systemd[1]: Starting PostgreSQL RDBMS... Oct 22 05:50:36 DHPR001 systemd[1]: Started PostgreSQL RDBMS. psql: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? psql: could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? ● dovecot.service - Dovecot IMAP/POP3 email server Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-10-22 05:45:40 UTC; 5min ago Docs: man:dovecot(1) http://wiki2.dovecot.org/ Main PID: 27004 (dovecot) CGroup: /system.slice/dovecot.service ├─27004 /usr/sbin/dovecot ├─27007 dovecot/anvil ├─27008 dovecot/log └─28266 dovecot/config

Oct 22 05:45:40 DHPR001 systemd[1]: Starting Dovecot IMAP/POP3 email server... Oct 22 05:45:40 DHPR001 systemd[1]: dovecot.service: PID file /var/run/dovecot/master.pid not readable (yet?) after start: No such file or directory Oct 22 05:45:40 DHPR001 dovecot[27004]: master: Dovecot v2.2.22 (fe789d2) starting up for imap, lmtp, sieve (core dumps disabled) Oct 22 05:45:40 DHPR001 systemd[1]: Started Dovecot IMAP/POP3 email server. Synchronizing state of dovecot.service with SysV init with /lib/systemd/systemd-sysv-install... Executing /lib/systemd/systemd-sysv-install enable dovecot Congratulations! You can enjoy Modoboa at https://XXXXXXXXX

Expected behavior

Sorry

An internal error occured.

Video/Screenshot link (optional)

tonioo commented 6 years ago

duplicate of #245