Results 1 to 3 of 3

Thread: unable to lookup mybox via gethostbyname()

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Mar 2005
    Posts
    103

    unable to lookup mybox via gethostbyname()

    I have remastered Knoppix 3.8. It works great from CD with all the customizations that I made. However, when I installed it on HD, KDE won't allow me in. It accepts my password but don't allow me in. It keeps showing me kdm logon screen. I selected the command line option and started X with no problems. I got this mail message:

    ************************************************** ***************************************
    To: root@Knoppix
    From: root@Knoppix
    Subject: *** SECURITY information for mybox ***

    mybox : Apr 8 02:34:13 : root : unable to lookup mybox via gethostbyname()
    ************************************************** ****************************************
    Does any body know what does this mean? And how to solve it?

  2. #2
    Member registered user
    Join Date
    Mar 2005
    Location
    Brasilia/Brazil
    Posts
    31
    Hi knopx4me,
    I donīt know if it helps, but during the development of the script for remastering the knoppix HD install I have faced this trouble and I discovered, for the 3.7 version at least, that the problem is due to the hostname. In your case Iīve seen you call it mybox and the internal routine 45xsession expects it to be named knoppix. I solved this problem, in my script, changing the following, which you could try on your chrooted environment (problably /knxsource/KNOPPPIX/KNOPPIX):
    1 - On the /home/yourname directory I deleted the hidden files >DCOPserver.... If your home is, for instance, /home/knopx4me, do this (on a terminal, logged as su): rm -f /home/knopx4me/.DCOP*
    2 - Edit /etc/hostname and change whatever name is inside /etc/hostname (problably mybox is there) to knoppix.
    3 - Also edit /etc/hosts and change its first line for this: 127.0.0.1 knoppix localhost.

    Thatīs it! Now produce the compressed file KNOPPIX and the iso image and burn it.
    Cheers!

  3. #3
    Senior Member registered user
    Join Date
    Mar 2005
    Posts
    103
    nelsongs

    Thanks very much for help. I got it working now by going back to the last working copy. I always keep a copy of the last working iso to revert to it when I stuck with such a problem.

Similar Threads

  1. XMMS and freedb cd lookup
    By Joe Soap in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 04-23-2005, 09:04 PM
  2. wireless mac address lookup
    By hnugz in forum Hardware & Booting
    Replies: 2
    Last Post: 01-10-2004, 12:43 PM
  3. host neme lookup failure problem
    By r3c3 in forum Networking
    Replies: 1
    Last Post: 09-10-2003, 03:41 PM
  4. Boot init2, login as user:go passwd:go and telnet to Mybox
    By Phredd in forum Customising & Remastering
    Replies: 4
    Last Post: 03-07-2003, 07:48 PM
  5. Lookup problem
    By xdamnx in forum General Support
    Replies: 0
    Last Post: 02-25-2003, 09:19 PM

Posting Permissions

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


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Lot of 5 Cisco 10G SFP+ 850nm 300m Transceiver Module P/N: SFP-10G-SR-10-2415-03 picture

Lot of 5 Cisco 10G SFP+ 850nm 300m Transceiver Module P/N: SFP-10G-SR-10-2415-03

$15.00



Cisco QSFP-40G-SR-BD  Module  10-2945-02  NEW CLAMSHELL picture

Cisco QSFP-40G-SR-BD Module 10-2945-02 NEW CLAMSHELL

$45.50



Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED picture

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED

$24.99