Netgate Store

Author Topic: Install OoklaServer Host - ELF interpreter error  (Read 207 times)

0 Members and 1 Guest are viewing this topic.

Offline wiremax01

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Install OoklaServer Host - ELF interpreter error
« on: January 18, 2018, 10:34:25 am »
This is the error reported by ooklaserver.sh when executed

----------------------
Extracting Server Files
x OoklaServer
x OoklaServer.properties.default
Starting OoklaServerELF interpreter /libexec/ld-elf.so.1 not found, error 8
Abort trap
 . . . . . . . . . .
Failed to Start Daemon
---------------------------------------

The problem seems to be ld-elf.so.1... why?

Online KOM

  • Hero Member
  • *****
  • Posts: 5939
  • Karma: +724/-24
    • View Profile
Re: Install OoklaServer Host - ELF interpreter error
« Reply #1 on: January 18, 2018, 10:44:30 am »
You can't be bothered to share any information about your configuration but you expect us to debug some 3rd-party application and why it doesn't run?

Offline wiremax01

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Install OoklaServer Host - ELF interpreter error
« Reply #2 on: January 18, 2018, 10:55:31 am »
Hi,...
Sorry for mistake... I've latest pfsense stable 2.4.2 amd64




Offline NogBadTheBad

  • Hero Member
  • *****
  • Posts: 641
  • Karma: +51/-0
    • View Profile
Re: Install OoklaServer Host - ELF interpreter error
« Reply #3 on: January 18, 2018, 11:23:52 am »
This is the error reported by ooklaserver.sh when executed

----------------------
Extracting Server Files
x OoklaServer
x OoklaServer.properties.default
Starting OoklaServerELF interpreter /libexec/ld-elf.so.1 not found, error 8
Abort trap
 . . . . . . . . . .
Failed to Start Daemon
---------------------------------------

The problem seems to be ld-elf.so.1... why?

Does it exist on your router ?

[2.4.2-RELEASE][admin@pfsense]/root: find / -name ld-elf.so.1 -print
/libexec/ld-elf.so.1
/usr/libexec/ld-elf.so.1
[2.4.2-RELEASE][admin@pfsense]/root:

Is the file your trying to run 64bit ?

Typing in file filename should tell you.
« Last Edit: January 18, 2018, 11:28:44 am by NogBadTheBad »

Offline wiremax01

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Install OoklaServer Host - ELF interpreter error
« Reply #4 on: January 18, 2018, 11:36:08 am »
Yes... there is
/libexec/ld-elf.so.1
/usr/libexec/ld-elf.so.1

Output of command file is:

[2.4.2-RELEASE] /root: file ooklaserver.sh
ooklaserver.sh: POSIX shell script, ASCII text executable

ooklaserver.sh call Ooklaserver executable that is file OoklaServer
OoklaServer: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 8.3, stripped

It seems the problem is ELF 32-bit LSB executable... but the platform is 64bit... there is a solution to run 32 bit executable?
« Last Edit: January 18, 2018, 11:39:44 am by wiremax01 »

Offline NogBadTheBad

  • Hero Member
  • *****
  • Posts: 641
  • Karma: +51/-0
    • View Profile
Re: Install OoklaServer Host - ELF interpreter error
« Reply #5 on: January 18, 2018, 11:56:06 am »
Think you need to talk with Ookla

Offline kpa

  • Hero Member
  • *****
  • Posts: 1294
  • Karma: +148/-6
    • View Profile
Re: Install OoklaServer Host - ELF interpreter error
« Reply #6 on: January 18, 2018, 12:36:01 pm »
It's very likely that pfSense disables the 32-bit emulation layer and runs only native 64-bit binaries from version 2.4 onwards.

The 32-bit emulation layer is a kernel option that needs to be on at compilation time, there is no workaround if the kernel option is not turned on.
« Last Edit: January 18, 2018, 07:28:42 pm by kpa »