<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I was wondering if the host command is functional? I have had no success in getting it to run on Windows 10 under Mobaxterm 11.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
It just returns with no output.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
/etc/resolv.conf is valid and has correct info.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks for any input!</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jeff</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
this is from strace:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><snip><br>
</span>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 132541 [main] toybox 12836 fcntl64: 0 = fcntl(3, 2, 0x1)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 67 132608 [main] toybox 12836 fhandler_socket::bind: 0 = setsockopt(SO_EXCLUSIVEADDRUSE), Win32 error 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 143 132751 [main] toybox 12836 cygwin_bind: 0 = bind(3, 0x64BF4C, 16)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 52 132803 [main] toybox 12836 getpid: 12836 = getpid()</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 72 132875 [main] toybox 12836 __set_errno: void __set_winsock_errno(const char*, int):224 setting errno 11</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 51 132926 [main] toybox 12836 __set_winsock_errno: recv_internal:1613 - winsock error 10035 -> errno 11</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 52 132978 [main] toybox 12836 cygwin_recvfrom: -1 = recvfrom(3, 0x64C6C0, 512, 0x0, 0x0, 0x0), errno 11</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 294 133272 [main] toybox 12836 cygwin_sendto: 27 = sendto(3, 0x64C5A8, 27, 0x0, 0x612A4F00, 16)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 55 133327 [main] toybox 12836 pselect: pselect (4, 0x64BF3C, 0x0, 0x0, 0x64BED8, 0x0)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 51 133378 [main] toybox 12836 pselect: to->tv_sec 5, to->tv_nsec 0, us 5000000</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 92 133470 [main] toybox 12836 dtable::select_read: fd 3</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 45 133515 [main] toybox 12836 select: sel.always_ready 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 172 133687 [main] toybox 12836 start_thread_socket: stuff_start 0x64BCC4</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- Process 12836 thread 9800 created</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- Process 12836, exception 406d1388 at 76A34172</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 2102 135789 [socksel] toybox 12836 cygthread::stub: thread 'socksel', id 0x2648, stack_ptr 0x4FFCD60</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 56 135845 [socksel] toybox 12836 thread_socket: stuff_start 0x64BCC4, timeout 4294967295</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 56 135901 [main] toybox 12836 select_stuff::wait: m 4, us 5000000, wmfo_timeout -1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 93 135994 [socksel] toybox 12836 peek_socket: read_ready: 1, write_ready: 0, except_ready: 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 51 136045 [socksel] toybox 12836 thread_socket: leaving thread_socket</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 99 136144 [main] toybox 12836 select_stuff::wait: wait_ret 2, m = 4. verifying</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 52 136196 [main] toybox 12836 select_stuff::wait: res after verify 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 89 136285 [main] toybox 12836 select_stuff::wait: returning 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 45 136330 [main] toybox 12836 select: sel.wait returns 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 54 136384 [main] toybox 12836 peek_socket: read_ready: 1, write_ready: 0, except_ready: 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 53 136437 [main] toybox 12836 set_bits: me 0x20061AE0, testing fd 3 ()</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 52 136489 [main] toybox 12836 set_bits: ready 1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 88 136577 [main] toybox 12836 select_stuff::cleanup: calling cleanup routines</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 44 136621 [main] toybox 12836 socket_cleanup: si 0x20061B10 si->thread 0x611CE950</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 181 136802 [main] toybox 12836 socket_cleanup: returning</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 48 136850 [main] toybox 12836 select_stuff::destroy: deleting select records</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 90 136940 [main] toybox 12836 select_stuff::cleanup: calling cleanup routines</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 46 136986 [main] toybox 12836 select_stuff::destroy: deleting select records</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 47 137033 [main] toybox 12836 pselect: 1 = select (4, 0x64BF3C, 0x0, 0x0, 0x64BED8)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 111 137144 [main] toybox 12836 cygwin_recvfrom: 27 = recvfrom(3, 0x64C6C0, 512, 0x0, 0x64BF5C, 0x64BF38)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 401 137545 [main] toybox 12836 fhandler_pty_slave::write: pty0, write(0x432E3C, 4)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 137594 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x1CC): waiting -1 ms</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 51 137645 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 53 137698 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x1CC) released</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">host 55 137753 [main] toybox 12836 write: 4 = write(2, 0x432E3C, 4)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 111 137864 [main] toybox 12836 fhandler_pty_slave::write: pty0, write(0x43260F, 2)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 74 137938 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x1CC): waiting -1 ms</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 46 137984 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 69 138053 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x1CC) released</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">: 49 138102 [main] toybox 12836 write: 2 = write(2, 0x43260F, 2)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 218 138320 [main] toybox 12836 fhandler_pty_slave::write: pty0, write(0x4342DE, 15)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 42 138362 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x1CC): waiting -1 ms</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 138411 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 52 138463 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x1CC) released</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">Host not found. 45 138508 [main] toybox 12836 write: 15 = write(2, 0x4342DE, 15)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 307 138815 [main] toybox 12836 fhandler_pty_slave::write: pty0, write(0x611CBDF7, 1)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 45 138860 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex (0x1CC): waiting -1 ms</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 48 138908 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1902): pty output_mutex: acquired</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 54 138962 [main] toybox 12836 fhandler_pty_common::process_opost_output: (1941): pty output_mutex(0x1CC) released</span><br>
</div>
<div><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 47 139009 [main] toybox 12836 write: 1 = write(2, 0x611CBDF7, 1)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 1041 140050 [main] toybox 12836 do_exit: do_exit (256), exit_state 1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 46 140096 [main] toybox 12836 void: 0x0 = signal (20, 0x1)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 51 140147 [main] toybox 12836 void: 0x0 = signal (1, 0x1)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 47 140194 [main] toybox 12836 void: 0x0 = signal (2, 0x1)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 46 140240 [main] toybox 12836 void: 0x0 = signal (3, 0x1)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 140289 [main] toybox 12836 fhandler_base::close_with_arch: line 1129: /dev/pty0<0x612F59C0> usecount + -1 = 3</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 44 140333 [main] toybox 12836 fhandler_base::close_with_arch: not closing archetype</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 46 140379 [main] toybox 12836 fhandler_base::close_with_arch: line 1129: /dev/pty0<0x612F59C0> usecount + -1 = 2</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 140428 [main] toybox 12836 fhandler_base::close_with_arch: not closing archetype</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 55 140483 [main] toybox 12836 fhandler_base::close_with_arch: line 1129: /dev/pty0<0x612F59C0> usecount + -1 = 1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 48 140531 [main] toybox 12836 fhandler_base::close_with_arch: not closing archetype</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 115 140646 [main] toybox 12836 fhandler_socket::close: 0 = fhandler_socket::close()</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 140695 [main] toybox 12836 init_cygheap::close_ctty: closing cygheap->ctty 0x612F59C0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 47 140742 [main] toybox 12836 fhandler_base::close_with_arch: closing passed in archetype 0x0, usecount 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 140791 [main] toybox 12836 fhandler_pty_slave::cleanup: /dev/pty0 closed, usecount 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 47 140838 [main] toybox 12836 fhandler_pty_slave::close: closing last open /dev/pty0 handle</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 77 140915 [main] toybox 12836 fhandler_console::free_console: freed console, res 1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 52 140967 [main] toybox 12836 fhandler_pty_common::close: pty0 <0x224,0x22C> closing</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 54 141021 [main] toybox 12836 dtable::delete_archetype: deleting element 0 for /dev/pty0(136/0)</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 54 141075 [main] toybox 12836 getpid: 12836 = getpid()</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 46 141121 [main] toybox 12836 proc_terminate: nprocs 0</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 49 141170 [main] toybox 12836 proc_terminate: leaving</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;"> 66 141236 [main] toybox 12836 pinfo::exit: Calling ExitProcess n 0x100, exitcode 0x1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- Process 12836 thread 9800 exited with status 0x1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- Process 12836 thread 9992 exited with status 0x1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- Process 12836 thread 9420 exited with status 0x1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- Process 12836 thread 13504 exited with status 0x1</span><br>
</div>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">--- Process 12836 exited with status 0x1</span><br>
</div>
<span></span><br>
</div>
</body>
</html>