# Bug OP-4481 - Cannot execute binary file:Exec format error

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-4481

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2018-02-08 –  |
| Priority | High |
| Module |  |
| Target versions | 7.4.2 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Community Contributors |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

The initial installation of OpenProject following those stated in the ‘Install OpenProject’ for my relevant OS produce no errors. After setting the correct variables for the mysql database we wish to implement, which again returns no errors and is stored within /etc/openproject/conf.d/other as stored below:

export DATABASE\_URL=“mysql://babnet:g8\_9-gju4^590f@localhost/babnet”  
/etc/openproject/conf.d/other (END)

The following error is listed:

/usr/share/openproject/installer/wizard: line 135: /usr/bin/dialog: cannot execute binary file: Exec format error  
MySQL configuration canceled.

After spending a lengthy time in trying to overcome this I have run out of options due to the lack of documentation and forum links, so was wondering if you had any ideas?

The entirety of the code used is listed below, thanks in advance:

wget <s>qO</s> https://dl.packager.io/srv/opf/openproject-ce/key | sudo apt-key add -  
OK  
root@amberdev:~\# apt-get install apt-transport-https  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
apt-transport-https is already the newest version (1.4.8).  
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.  
root@amberdev:~\# wget -O /etc/apt/sources.list.d/openproject-ce.list \\


> https://dl.packager.io/srv/opf/openproject-ce/stable/7/installer/debian/9.repo

—2018-02-08 09:11:19— https://dl.packager.io/srv/opf/openproject-ce/stable/7/installer/debian/9.repo  
Resolving dl.packager.io (dl.packager.io)… 54.85.101.162, 34.197.156.242  
Connecting to dl.packager.io (dl.packager.io)|54.85.101.162|:443… connected.  
HTTP request sent, awaiting response… 200 OK  
Length: unspecified \[text/plain\]  
Saving to: ‘/etc/apt/sources.list.d/openproject-ce.list’

/etc/apt/sources.list.d/openproject-ce.list \[ \<=\> \] 122 —.-KB/s in 0s

2018-02-08 09:11:19 (1.85 MB/s) - ‘/etc/apt/sources.list.d/openproject-ce.list’ saved \[122\]

root@amberdev:~\# apt-get update  
Ign:1 http://ftp.uk.debian.org/debian stretch InRelease  
Hit:2 http://ftp.uk.debian.org/debian stretch-updates InRelease  
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease  
Hit:4 http://ftp.uk.debian.org/debian stretch Release  
Hit:5 https://deb.nodesource.com/node\_7.x stretch InRelease  
Ign:6 http://dl.google.com/linux/chrome/deb stable InRelease  
Hit:8 https://download.sublimetext.com apt/stable/ InRelease  
Ign:9 https://dl.packager.io/srv/deb/opf/openproject-ce/stable/7/debian 9 InRelease  
Hit:11 http://dl.google.com/linux/chrome/deb stable Release  
Fetched 1,217 B in 0s (1,527 B/s)  
Reading package lists… Done  
root@amberdev:~\# apt-get install openproject  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
The following additional packages will be installed:  
dialog:amd64 libdb5.3:amd64 libevent-2.0-5:amd64 libevent-core-2.0-5:amd64 libevent-extra-2.0-5:amd64 libffi6:amd64 libgcrypt20:amd64 libgmp10:amd64 libgnutls30:amd64 libgpg-error0:amd64 libgpm2:amd64  
libgssapi-krb5-2:amd64 libhogweed4:amd64 libicu57:amd64 libidn11:amd64 libk5crypto3:amd64 libkeyutils1:amd64 libkrb5-3:amd64 libkrb5support0:amd64 libldap-2.4-2:amd64 libmariadbclient18:amd64  
libncursesw5:amd64 libnettle6:amd64 libp11-kit0:amd64 libpq5:amd64 libreadline7:amd64 libsasl2-2:amd64 libsasl2-modules:amd64 libsasl2-modules-db:amd64 libsqlite3-0:amd64 libssl1.0.2:amd64 libssl1.1:amd64  
libstdc++6:amd64 libtasn1-6:amd64 libxml2:amd64 libxslt1.1:amd64  
Suggested packages:  
rng-tools:amd64 gpm:amd64 krb5-doc:amd64 krb5-user:amd64 libsasl2-modules-gssapi-mit:amd64 | libsasl2-modules-gssapi-heimdal:amd64 libsasl2-modules-ldap:amd64 libsasl2-modules-otp:amd64  
libsasl2-modules-sql:amd64  
The following NEW packages will be installed:  
dialog:amd64 libdb5.3:amd64 libevent-2.0-5:amd64 libevent-core-2.0-5:amd64 libevent-extra-2.0-5:amd64 libffi6:amd64 libgcrypt20:amd64 libgmp10:amd64 libgnutls30:amd64 libgpg-error0:amd64 libgpm2:amd64  
libgssapi-krb5-2:amd64 libhogweed4:amd64 libicu57:amd64 libidn11:amd64 libk5crypto3:amd64 libkeyutils1:amd64 libkrb5-3:amd64 libkrb5support0:amd64 libldap-2.4-2:amd64 libmariadbclient18:amd64  
libncursesw5:amd64 libnettle6:amd64 libp11-kit0:amd64 libpq5:amd64 libreadline7:amd64 libsasl2-2:amd64 libsasl2-modules:amd64 libsasl2-modules-db:amd64 libsqlite3-0:amd64 libssl1.0.2:amd64 libssl1.1:amd64  
libstdc++6:amd64 libtasn1-6:amd64 libxml2:amd64 libxslt1.1:amd64 openproject:amd64  
0 upgraded, 37 newly installed, 0 to remove and 18 not upgraded.  
Need to get 50.6 kB/135 MB of archives.  
After this operation, 461 MB of additional disk space will be used.  
Do you want to continue? \[Y/n\] y  
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libtasn1-6 amd64 4.10-1.1+deb9u1 \[50.6 kB\]  
Fetched 50.6 kB in 0s (380 kB/s)  
Extracting templates from packages: 100%  
Preconfiguring packages …  
Selecting previously unselected package libncursesw5:amd64.  
(Reading database … 186448 files and directories currently installed.)  
Preparing to unpack …/00-libncursesw5\_6.0+20161126-1+deb9u1\_amd64.deb …  
Unpacking libncursesw5:amd64 (6.0+20161126-1+deb9u1) …  
Selecting previously unselected package libreadline7:amd64.  
Preparing to unpack …/01-libreadline7\_7.0-3\_amd64.deb …  
Unpacking libreadline7:amd64 (7.0-3) …  
Selecting previously unselected package libssl1.0.2:amd64.  
Preparing to unpack …/02-libssl1.0.2\_1.0.2l-2+deb9u2\_amd64.deb …  
Unpacking libssl1.0.2:amd64 (1.0.2l-2+deb9u2) …  
Selecting previously unselected package libssl1.1:amd64.  
Preparing to unpack …/03-libssl1.1\_1.1.0f-3+deb9u1\_amd64.deb …  
Unpacking libssl1.1:amd64 (1.1.0f-3+deb9u1) …  
Selecting previously unselected package libstdc++6:amd64.  
Preparing to unpack …/04-libstdc++6\_6.3.0-18\_amd64.deb …  
Unpacking libstdc++6:amd64 (6.3.0-18) …  
Selecting previously unselected package libdb5.3:amd64.  
Preparing to unpack …/05-libdb5.3\_5.3.28-12+deb9u1\_amd64.deb …  
Unpacking libdb5.3:amd64 (5.3.28-12+deb9u1) …  
Selecting previously unselected package libevent-2.0-5:amd64.  
Preparing to unpack …/06-libevent-2.0-5\_2.0.21-stable-3\_amd64.deb …  
Unpacking libevent-2.0-5:amd64 (2.0.21-stable-3) …  
Selecting previously unselected package libgpg-error0:amd64.  
Preparing to unpack …/07-libgpg-error0\_1.26-2\_amd64.deb …  
Unpacking libgpg-error0:amd64 (1.26-2) …  
Selecting previously unselected package libgcrypt20:amd64.  
Preparing to unpack …/08-libgcrypt20\_1.7.6-2+deb9u2\_amd64.deb …  
Unpacking libgcrypt20:amd64 (1.7.6-2+deb9u2) …  
Selecting previously unselected package libgmp10:amd64.  
Preparing to unpack …/09-libgmp10\_2%3a6.1.2+dfsg-1\_amd64.deb …  
Unpacking libgmp10:amd64 (2:6.1.2+dfsg-1) …  
Selecting previously unselected package libnettle6:amd64.  
Preparing to unpack …/10-libnettle6\_3.3-1+b2\_amd64.deb …  
Unpacking libnettle6:amd64 (3.3-1+b2) …  
Selecting previously unselected package libhogweed4:amd64.  
Preparing to unpack …/11-libhogweed4\_3.3-1+b2\_amd64.deb …  
Unpacking libhogweed4:amd64 (3.3-1+b2) …  
Selecting previously unselected package libidn11:amd64.  
Preparing to unpack …/12-libidn11\_1.33-1\_amd64.deb …  
Unpacking libidn11:amd64 (1.33-1) …  
Selecting previously unselected package libffi6:amd64.  
Preparing to unpack …/13-libffi6\_3.2.1-6\_amd64.deb …  
Unpacking libffi6:amd64 (3.2.1-6) …  
Selecting previously unselected package libp11-kit0:amd64.  
Preparing to unpack …/14-libp11-kit0\_0.23.3-2\_amd64.deb …  
Unpacking libp11-kit0:amd64 (0.23.3-2) …  
Selecting previously unselected package libtasn1-6:amd64.  
Preparing to unpack …/15-libtasn1-6\_4.10-1.1+deb9u1\_amd64.deb …  
Unpacking libtasn1-6:amd64 (4.10-1.1+deb9u1) …  
Selecting previously unselected package libgnutls30:amd64.  
Preparing to unpack …/16-libgnutls30\_3.5.8-5+deb9u3\_amd64.deb …  
Unpacking libgnutls30:amd64 (3.5.8-5+deb9u3) …  
Selecting previously unselected package libgpm2:amd64.  
Preparing to unpack …/17-libgpm2\_1.20.4-6.2+b1\_amd64.deb …  
Unpacking libgpm2:amd64 (1.20.4-6.2+b1) …  
Selecting previously unselected package libkeyutils1:amd64.  
Preparing to unpack …/18-libkeyutils1\_1.5.9-9\_amd64.deb …  
Unpacking libkeyutils1:amd64 (1.5.9-9) …  
Selecting previously unselected package libkrb5support0:amd64.  
Preparing to unpack …/19-libkrb5support0\_1.15-1+deb9u1\_amd64.deb …  
Unpacking libkrb5support0:amd64 (1.15-1+deb9u1) …  
Selecting previously unselected package libk5crypto3:amd64.  
Preparing to unpack …/20-libk5crypto3\_1.15-1+deb9u1\_amd64.deb …  
Unpacking libk5crypto3:amd64 (1.15-1+deb9u1) …  
Selecting previously unselected package libkrb5-3:amd64.  
Preparing to unpack …/21-libkrb5-3\_1.15-1+deb9u1\_amd64.deb …  
Unpacking libkrb5-3:amd64 (1.15-1+deb9u1) …  
Selecting previously unselected package libgssapi-krb5-2:amd64.  
Preparing to unpack …/22-libgssapi-krb5-2\_1.15-1+deb9u1\_amd64.deb …  
Unpacking libgssapi-krb5-2:amd64 (1.15-1+deb9u1) …  
Selecting previously unselected package libsasl2-modules-db:amd64.  
Preparing to unpack …/23-libsasl2-modules-db\_2.1.27~101-g0780600+dfsg-3\_amd64.deb …  
Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3) …  
Selecting previously unselected package libsasl2-2:amd64.  
Preparing to unpack …/24-libsasl2-2\_2.1.27~101-g0780600+dfsg-3\_amd64.deb …  
Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3) …  
Selecting previously unselected package libldap-2.4-2:amd64.  
Preparing to unpack …/25-libldap-2.4-2\_2.4.44+dfsg-5+deb9u1\_amd64.deb …  
Unpacking libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u1) …  
Selecting previously unselected package libsqlite3-0:amd64.  
Preparing to unpack …/26-libsqlite3-0\_3.16.2-5+deb9u1\_amd64.deb …  
Unpacking libsqlite3-0:amd64 (3.16.2-5+deb9u1) …  
Selecting previously unselected package libicu57:amd64.  
Preparing to unpack …/27-libicu57\_57.1-6+deb9u1\_amd64.deb …  
Unpacking libicu57:amd64 (57.1-6+deb9u1) …  
Selecting previously unselected package libxml2:amd64.  
Preparing to unpack …/28-libxml2\_2.9.4+dfsg1-2.2+deb9u2\_amd64.deb …  
Unpacking libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) …  
Selecting previously unselected package dialog:amd64.  
Preparing to unpack …/29-dialog\_1.3-20160828-2\_amd64.deb …  
Unpacking dialog:amd64 (1.3-20160828-2) …  
Selecting previously unselected package libevent-core-2.0-5:amd64.  
Preparing to unpack …/30-libevent-core-2.0-5\_2.0.21-stable-3\_amd64.deb …  
Unpacking libevent-core-2.0-5:amd64 (2.0.21-stable-3) …  
Selecting previously unselected package libevent-extra-2.0-5:amd64.  
Preparing to unpack …/31-libevent-extra-2.0-5\_2.0.21-stable-3\_amd64.deb …  
Unpacking libevent-extra-2.0-5:amd64 (2.0.21-stable-3) …  
Selecting previously unselected package libmariadbclient18:amd64.  
Preparing to unpack …/32-libmariadbclient18\_10.1.26-0+deb9u1\_amd64.deb …  
Unpacking libmariadbclient18:amd64 (10.1.26-0+deb9u1) …  
Selecting previously unselected package libpq5:amd64.  
Preparing to unpack …/33-libpq5\_9.6.6-0+deb9u1\_amd64.deb …  
Unpacking libpq5:amd64 (9.6.6-0+deb9u1) …  
Selecting previously unselected package libsasl2-modules:amd64.  
Preparing to unpack …/34-libsasl2-modules\_2.1.27~101-g0780600+dfsg-3\_amd64.deb …  
Unpacking libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3) …  
Selecting previously unselected package libxslt1.1:amd64.  
Preparing to unpack …/35-libxslt1.1\_1.1.29-2.1\_amd64.deb …  
Unpacking libxslt1.1:amd64 (1.1.29-2.1) …  
Selecting previously unselected package openproject:amd64.  
Preparing to unpack …/36-openproject\_7.4.0-1517669388.b866a6df.stretch\_amd64.deb …  
Unpacking openproject:amd64 (7.4.0-1517669388.b866a6df.stretch) …  
Setting up libnettle6:amd64 (3.3-1+b2) …  
Setting up libncursesw5:amd64 (6.0+20161126-1+deb9u1) …  
Setting up libgpm2:amd64 (1.20.4-6.2+b1) …  
Setting up libdb5.3:amd64 (5.3.28-12+deb9u1) …  
Setting up libreadline7:amd64 (7.0-3) …  
Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3) …  
Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3) …  
Setting up libtasn1-6:amd64 (4.10-1.1+deb9u1) …  
Setting up libgpg-error0:amd64 (1.26-2) …  
Setting up libssl1.0.2:amd64 (1.0.2l-2+deb9u2) …  
Setting up libgmp10:amd64 (2:6.1.2+dfsg-1) …  
Processing triggers for libc-bin (2.24-11+deb9u1) …  
Setting up libssl1.1:amd64 (1.1.0f-3+deb9u1) …  
Setting up libevent-core-2.0-5:amd64 (2.0.21-stable-3) …  
Setting up libsqlite3-0:amd64 (3.16.2-5+deb9u1) …  
Processing triggers for man-db (2.7.6.1-2) …  
Setting up libstdc++6:amd64 (6.3.0-18) …  
Setting up libffi6:amd64 (3.2.1-6) …  
Setting up libkeyutils1:amd64 (1.5.9-9) …  
Setting up libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3) …  
Setting up libevent-2.0-5:amd64 (2.0.21-stable-3) …  
Setting up libidn11:amd64 (1.33-1) …  
Setting up dialog:amd64 (1.3-20160828-2) …  
Setting up libgcrypt20:amd64 (1.7.6-2+deb9u2) …  
Setting up libevent-extra-2.0-5:amd64 (2.0.21-stable-3) …  
Setting up libmariadbclient18:amd64 (10.1.26-0+deb9u1) …  
Setting up libicu57:amd64 (57.1-6+deb9u1) …  
Setting up libkrb5support0:amd64 (1.15-1+deb9u1) …  
Setting up libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u2) …  
Setting up libhogweed4:amd64 (3.3-1+b2) …  
Setting up libxslt1.1:amd64 (1.1.29-2.1) …  
Setting up libp11-kit0:amd64 (0.23.3-2) …  
Setting up libk5crypto3:amd64 (1.15-1+deb9u1) …  
Setting up libgnutls30:amd64 (3.5.8-5+deb9u3) …  
Setting up libldap-2.4-2:amd64 (2.4.44+dfsg-5+deb9u1) …  
Setting up libkrb5-3:amd64 (1.15-1+deb9u1) …  
Setting up libgssapi-krb5-2:amd64 (1.15-1+deb9u1) …  
Setting up libpq5:amd64 (9.6.6-0+deb9u1) …  
Setting up openproject:amd64 (7.4.0-1517669388.b866a6df.stretch) …  

The openproject package provides an installer. Please run the following command to finish the installation:
sudo openproject configure
  
Processing triggers for libc-bin (2.24-11+deb9u1) …  
root@amberdev:~\# openproject configure  
Launching installer for openproject…  
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject  
\[legacy-installer\] ./bin/configure  
\[mysql\] ./bin/configure  
/usr/share/openproject/installer/wizard: line 135: /usr/bin/dialog: cannot execute binary file: Exec format error  
MySQL configuration canceled.  
root@amberdev:~\# openproject config:set DATABASE\_URL=“mysql://babnet:g8\_9-gju4^590f@localhost/babnet”  
root@amberdev:~\# openproject configure  
Launching installer for openproject…  
Selected addons: legacy-installer mysql apache2 repositories smtp memcached openproject  
\[legacy-installer\] ./bin/configure  
\[mysql\] ./bin/configure  
/usr/share/openproject/installer/wizard: line 135: /usr/bin/dialog: cannot execute binary file: Exec format error  
MySQL configuration canceled.
