/etc/host linux trouble

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cash69
    So Fucking Banned
    • Oct 2002
    • 1052

    #1

    /etc/host linux trouble

    i was fucking around on 1 of my unix box's.. and i erased /etc/host and /etc/host.conf and /etc/hosts

    i duno which one is the real one becuase i fucked them all up.. anybody can help me fix this i will pay you.. when i ping localhost i get..

    [root@BIZ-RH72-PSA etc]# ping localhost
    /etc/host.conf: line 1: bad command `127.0.0.1 localhost.localdomain BIZ-RH72-PSA.YOUR-DOMAIN-HERE.COM'
    PING localhost (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=64 time=37 usec
    64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=36 usec

    [21]+ Stopped ping localhost


    anybody can help me i will pay you.. icq me plz 116337464
  • Dreamman010
    Confirmed User
    • Jan 2002
    • 1081

    #2
    Help's on the way -> ICQ
    Last edited by Dreamman010; 08-24-2003, 05:01 AM.
    <a href="http://www2.famoushost.com/home.php" target="_blank"><b><FONT COLOR="FFFF00">www.FamousHost.com</font></b></a><br>Free Hosting With No Headers, Real FTP, <u>Get listed on the biggest TGP's with us!</u>

    Comment

    • cash69
      So Fucking Banned
      • Oct 2002
      • 1052

      #3
      gofuckyourself is magical.. i tried for like 2 hours to fix this and then i posted here and it started working.. i think there is still alot of fuck ups tho

      Comment

      • avion
        Confirmed User
        • Jan 2003
        • 1403

        #4
        you could try:

        127.0.0.1 BIZ-RH72-PSA.YOUR-DOMAIN-HERE.COM BIZ-RH72-PSA localhost.localdomain

        and dont put more than 1 tab between the items...

        it should work

        Avion

        Comment

        Working...