Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal format on executable under wsl fine in ubuntu (ejabberd) #2736

Closed
fenchu opened this issue Dec 8, 2017 · 6 comments
Closed

Illegal format on executable under wsl fine in ubuntu (ejabberd) #2736

fenchu opened this issue Dec 8, 2017 · 6 comments

Comments

@fenchu
Copy link

fenchu commented Dec 8, 2017

What operating system (version) are you using?

OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.15063 N/A Build 15063
Linux MB-PC 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

Locale settings under WSL:

sudo apt install language-pack-nb language-pack-nb-base manpages
sudo update-locale LANG=nb_NO.UTF-8

Works fine on a regular ubuntu 16.04LTS with same settings:
(Why so old kernel, both are upgraded to latest sudo apt update?)

Linux mortenb-vm 4.10.0-42-generic #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"

How did you install ejabberd (source, package, distribution)?

wget "https://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/17.11/ejabberd_17.11-0_amd64.deb" -O ejabberd_17.11-0_amd64.deb
sudo dpkg -i ejabberd_17.11-0_amd64.deb
Velger den tidligere bortvalgte pakka «ejabberd».
(Leser database ... 43697 filer og kataloger er for øyeblikket installerte.)
Preparing to unpack ejabberd_17.11-0_amd64.deb ...
Unpacking ejabberd (17.11-0) ...
Setter opp ejabberd (17.11-0) ...
/opt/bitrock/ejabberd-17.11-0/helperBinary: 2: /opt/bitrock/ejabberd-17.11-0/helperBinary: Syntax error: Unterminated quoted string
ls -l /opt/bitrock/ejabberd-17.11-0/helperBinary
-rwxr-xr-x 1 1003 1003 5417575 jan.  20  2017 /opt/bitrock/ejabberd-17.11-0/helperBinary
/opt/bitrock/ejabberd-17.11-0/helperBinary
-su: /opt/bitrock/ejabberd-17.11-0/helperBinary: klarte ikke å kjøre binærfil: Ugyldig format på eksekverbar fil (Translated illegal format on executable)

On an ubuntu with same language settings:

$ sudo file /opt/bitrock/ejabberd-17.11-0/helperBinary
[sudo] passord for mortenb:
/opt/bitrock/ejabberd-17.11-0/helperBinary: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, stripped
(default) mortenb@mortenb-vm:~$ sudo /opt/bitrock/ejabberd-17.11-0/helperBinary
Language Selection

Please select the installation language
[1] Dutch - Nederlands
[2] English - English
[3] French - Français
[4] German - Deutsch
[5] Russian - Русский
[6] Simplified Chinese - 简简体体中中文文
[7] Spanish - Español
Please choose an option [2] : exit
Invalid Option.
Press [Enter] to continue:
@therealkenc
Copy link
Collaborator

Might be #330. If you are able, you might try Insiders 17017 or better to eliminate that possibility.

@benhillis
Copy link
Member

This is the same issue as #1884 for which I have a fix, marking as a duplicate.

@Teknogrebo
Copy link

I have just encountered this issue at work. In what manner will the fix be distributed, and when can we expect it? Thanks.

@benhillis
Copy link
Member

Should be available in an Insider build soon and will be in the next cumulative Windows version due this spring.

@benhillis
Copy link
Member

Fixed in 17093.

@Teknogrebo
Copy link

Teknogrebo commented Feb 9, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants