[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: ERROR EXTRANIO: "gethostbyname".



************ ERROR gethostbyname  ********

On Tue, 7 May 2002, Ariel Pereira wrote:
> Hola,
> Lo unico que se me ocurre es que revises si en tu /etc/hosts tienes asignado
> una IP el nombre de tu PC,
> Si tu PC se llama pepe, podrias tener en /etc/hosts una linea asi:
> 
> 127.0.0.1    localhost pepe

   Efectivamente, haciendo un cat resulta:

        root@pepe:/# cat /etc/hosts
        127.0.0.1   pepe

   Pero no veo que figure la palabra "localhost" antes
del propio nombre del host ("pepe", en mi caso).
Pero ésto debe ser un detalle, ¿no?.

*************************************************

Por otro lado,
Santiago Vila me preguntaba por los enlaces suaves:

   /usr/bin/cc -> /etc/alternatives/cc
   /etc/alternatives/cc -> /usr/bin/gcc

Bueno, tengo ambos, y apuntando como él señala
(antes le contesté que tenía sólo uno de ambos links,
pero debe haber sido que no vi el otro enlace
por la ginebra que tomé para olvidar penas...).

*************************************************

   Gunnar Wolf me sugiere usar el paquete
debsums. Cuando hago "man debsums"
me dice que no encuentra referencias.
Entonces pongo el 1er. cd de Debian Potato y ahago

    # apt-get install debsums debsums-dev

y lee el CD, pero me dice:

     Reading ...
     Building dependencies ...
     Couldn´t find package debsums-dev

es decir que parece que no existiera el paquete,
o estoy dando mal la orden de apt-get...

*************************************************

     Muchas Gracias:
             Santiago Vila, Ariel Pereira,
             Gunnar Wolf, Pedro Marínez Juliá,
             y el resto de la lista.

     Y si alguien puede aportar más ideas...

                       Eduardo.


> Saludos!
> Atte. Ariel Pereira
> www.esdebian.org
>
> > ----- Original Message -----
> > From: Eduardo Daniel Ibarra <ibarrae@cab.cnea.gov.ar>
> > To: Lista-02 <debian-user-spanish@lists.debian.org>
> > Sent: Monday, May 06, 2002 3:36 PM
> > Subject: ERROR EXTRANIO: "gethostbyname".
> 
> 
> >
> >    Hola listeros:
> >    ~~~~~~~~~~~~~
> >
> >    Quería consultarles sobre un problema extraño
> > (por lo menos pa´ mí) que me acaba de suceder...
> >
> >    Tengo Debian Potato Kernel 2.2.17.
> >
> >    Estaba tratando de compilar un fuente C, con el:
> > cc, gcc, g++ (o cualquier compilador parecido),
> > y al tipear en consola:
> >
> >         # cc Programa.c -o Programa
> >
> > obtengo la respuesta:
> >
> >         cc: invalid option --o
> >         Usage: cc [-u login-name] [-t days]
> >
> >    Entonces pruebo:
> >
> >         # man cc
> >
> > y el SO me dice algo como:
> >
> >         gethostbyname: Host name lookup failure
> >         man: command exited with status 256: /bin/gzip -dc
> >         ´/var/cache/man/cat1/ls.1.gz´ | {export MAN_PN LESS;
> >         MAN_PN = ´ls(1)´; LESS = $LESS\$-Pm\:\$ix8mPm Manual page ...}
> >
> > Pruebo hacer sólo:
> >
> >        # cc
> >
> > y me sale una lista (¿?):
> >
> >        Username    Port    From     Latest
> >        root        tty2             Mon May 6 15:10:18 -3000 2002
> >        daemon
> >        bin
> >        sys
> >        games
> >        man
> >        ...
> >        Pepe        tty4             Mon May 6 15:10:18 -3000 2002
> >
> > lista que, está claro, nadie pidió.
> >
> > ********************************************************
> >
> >    Todo ésto ocurrió luego de estar tratando de comunicarme
> > por puerto paralelo con la PC, a través de un programa en C
> > (el que estaba compilando). Tengo un dispositivo experimental
> > que envía voltajes de entre 0 y 5 volts a los pines machos
> > de una ficha DB-25 (25 pines), y la idea es que el SO tome estas
> > señales como datos de entrada, y lo haga a través de los buses
> > de Datos/Estado/Control de este puerto.
> > El puerto es un añadido (/dev/lp1 con dirección BASE: 0x278),
> > es decir, una plaquetita "Paralelo Simple" ISA 8-B
> > colocada en los slots ISA de la máquina.
> > La máquina NO está conectada a red.
> >
> > *********************************************************
> >
> > El "dmesg" (que por suerte fumciona) dice:
> >
> > Linux version 2.2.17 (herbert@arnor) (gcc version 2.95.2 20000313 (Debian
> > GNU/Linux)) #1 Sun Jun 25 09:24:41 EST 2000
> > Detected 132636 kHz processor.
> > Console: colour VGA+ 80x25
> > Calibrating delay loop... 264.60 BogoMIPS
> > Memory: 29708k/32768k available (1732k kernel code, 420k reserved, 768k
> > data, 140k init)
> > Dentry hash table entries: 4096 (order 3, 32k)
> > Buffer cache hash table entries: 32768 (order 5, 128k)
> > Page cache hash table entries: 8192 (order 3, 32k)
> > VFS: Diskquotas version dquot_6.4.0 initialized
> > CPU: Intel Pentium 75 - 200 stepping 0c
> > Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
> > Checking 'hlt' instruction... OK.
> > Checking for popad bug... OK.
> > Intel Pentium with F0 0F bug - workaround enabled.
> > POSIX conformance testing by UNIFIX
> > PCI: PCI BIOS revision 2.10 entry at 0xfb0f0
> > PCI: Using configuration type 1
> > PCI: Probing PCI hardware
> > Linux NET4.0 for Linux 2.2
> > Based upon Swansea University Computer Society NET3.039
> > NET4: Linux TCP/IP 1.0 for NET4.0
> > IP Protocols: ICMP, UDP, TCP, IGMP
> > TCP: Hash tables configured (ehash 32768 bhash 32768)
> > Starting kswapd v 1.5
> > pty: 256 Unix98 ptys configured
> > apm: BIOS version 1.1 Flags 0x07 (Driver version 1.13)
> > apm: disabled on user request.
> > Real Time Clock Driver v1.09
> > RAM disk driver initialized:  16 RAM disks of 4096K size
> > loop: registered device at major 7
> > OPTI621: IDE controller on PCI bus 00 dev a0
> > OPTI621: not 100% native mode: will probe irqs later
> >     ide0: BM-DMA at 0x3000-0x3007, BIOS settings: hda:pio, hdb:pio
> >     ide1: BM-DMA at 0x3008-0x300f, BIOS settings: hdc:pio, hdd:pio
> > hda: QUANTUM FIREBALLlct20 30, ATA DISK drive
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > hda: QUANTUM FIREBALLlct20 30, 28629MB w/418kB Cache, CHS=3649/255/63
> > Floppy drive(s): fd0 is 1.44M
> > FDC 0 is an 8272A
> > md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
> > scsi: <fdomain> Detection failed (no card)
> > NCR53c406a: no available ports found
> > sym53c416.c: Version 1.0.0
> > Failed initialization of WD-7000 SCSI card!
> > IBM MCA SCSI: No Microchannel-bus support present -> Aborting.
> > megaraid: v107 (December 22, 1999)
> > aec671x_detect:
> > 3w-xxxx: tw_findcards(): No cards found.
> > scsi : 0 hosts.
> > scsi : detected total.
> > Partition check:
> >  hda: [EZD] [remap 0->1] [3649/255/63] hda1 hda2 < hda5 hda6 hda7 > hda3
> > VFS: Mounted root (ext2 filesystem) readonly.
> > Freeing unused kernel memory: 140k freed
> > NET4: Unix domain sockets 1.0 for Linux NET4.0.
> > Adding Swap: 240932k swap-space (priority -1)
> > Serial driver version 4.27 with no serial options enabled
> > ttyS00 at 0x03f8 (irq = 4) is a 16550A
> > ttyS01 at 0x02f8 (irq = 3) is a 16550A
> > ttyS02 at 0x03e8 (irq = 4) is a 16450
> > ttyS03 at 0x02e8 (irq = 3) is a 16450
> >
> > *********************************************************
> >
> >     Bueno, desde ya, gracias por su ayuda.
> >
> >                            Eduardo.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: