Results 1 to 6 of 6

Thread: lbd (load balancing detector) error while checking dns load balancing

  1. #1
    Join Date
    2013-Jul
    Posts
    25

    Question lbd (load balancing detector) error while checking dns load balancing

    While running lbd on some domains i am getting error "checking for DNS-loadbalancing:/usr/bin/host: line 1: $'\177ELF\001\001\001': Command not found" Http loadbalancing is working fine. what is wrong with DNS ? i am running lbd by this syntax - lbd tragetdomain 1.JPG

  2. #2
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by Mrquiety View Post
    While running lbd on some domains i am getting error "checking for DNS-loadbalancing:/usr/bin/host: line 1: $'\177ELF\001\001\001': Command not found" Http loadbalancing is working fine. what is wrong with DNS ? i am running lbd by this syntax - lbd tragetdomain 1.JPG
    hi
    i'm not expert ,if this can help :
    the error seems related to ELF (Executable and Linkable Format)

    try to give a look at your /usr/bin/host file..this is into my kali:

    root@kali:~# file /usr/bin/host
    /usr/bin/host: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x19358e5f266d7205d33b3b807f36a69f77247f8d, stripped

    root@kali:~# od -c /usr/bin/host |head
    0000000 177 E L F 001 001 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
    0000020 003 \0 003 \0 001 \0 \0 \0 244 X \0 \0 4 \0 \0 \0
    0000040 344 241 001 \0 \0 \0 \0 \0 4 \0 \0 \t \0 ( \0
    0000060 034 \0 033 \0 006 \0 \0 \0 4 \0 \0 \0 4 \0 \0 \0
    0000100 4 \0 \0 \0 001 \0 \0 001 \0 \0 005 \0 \0 \0
    0000120 004 \0 \0 \0 003 \0 \0 \0 T 001 \0 \0 T 001 \0 \0
    0000140 T 001 \0 \0 023 \0 \0 \0 023 \0 \0 \0 004 \0 \0 \0
    0000160 001 \0 \0 \0 001 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
    0000200 \0 \0 \0 \0 330 227 001 \0 330 227 001 \0 005 \0 \0 \0
    0000220 \0 020 \0 \0 001 \0 \0 \0 314 230 001 \0 314 250 001 \0
    root@kali:~#

  3. #3
    Join Date
    2013-Jul
    Posts
    25
    Thanks for reply mine is looks like this:
    root@kali:~# file /usr/bin/host
    /usr/bin/host: ELF 32-bit LSB

    root@kali:~# od -c /usr/bin/host |head
    0000000 177 E L F 001 001 001 \n
    0000010
    2.JPG

    Should I edit it ? if yes kindly tell me how can i edit host file. i have opened it on different editor ( vim, notepad, Leafpad etc) these text editor showing nothing.

  4. #4
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by Mrquiety View Post
    Thanks for reply mine is looks like this:
    root@kali:~# file /usr/bin/host
    /usr/bin/host: ELF 32-bit LSB

    root@kali:~# od -c /usr/bin/host |head
    0000000 177 E L F 001 001 001 \n
    0000010
    2.JPG

    Should I edit it ? if yes kindly tell me how can i edit host file. i have opened it on different editor ( vim, notepad, Leafpad etc) these text editor showing nothing.
    Repeat i ' m not expert ...if you want to edit it:
    Use hexedit......apt-get install hexedit

  5. #5
    Join Date
    2013-Jul
    Posts
    25
    Problem is still alive......

  6. #6
    Join Date
    2013-Mar
    Location
    milano
    Posts
    301
    Quote Originally Posted by Mrquiety View Post
    Problem is still alive......
    .i'm NOT sure...try if you want to reinstall a "tool"host[usr/bin/host] (if is different of mine in your kali-version) && apt-get install --reinstall bind9-host dnsutils &&...try to launch lbd www.......
    bye
    Last edited by zimmaro; 2013-10-09 at 19:31.

Similar Threads

  1. Replies: 3
    Last Post: 2018-03-22, 20:24
  2. Replies: 1
    Last Post: 2017-03-03, 14:06
  3. Failed to load module error.
    By silentmist in forum General Archive
    Replies: 0
    Last Post: 2016-08-05, 08:25
  4. Live bootable USB error 'failed to load dlinux.c32'
    By sk3ptical in forum Installing Archive
    Replies: 0
    Last Post: 2015-09-07, 11:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •