[Lugge] Re: problema rete (?)

  • From: Alessandro V <speleoalex@xxxxxxxxxxxxx>
  • To: lugge@xxxxxxxxxxxxx
  • Date: Mon, 3 Nov 2003 14:31:37 +0100

>  vai nello script /etc/init.d/network e analizza quello per capire qual'e`
> il comando che ritorna errore. 
è stata la prima cosa che ho fatto e il comando che torna errore è questo

IFPLUGD_ARGS="${IFPLUGD_ARGS=-w -b}"
                    action "Bringing up interface %s: " $i /sbin/ifplugd 
$IFPLUGD_ARGS -i $DEVICE


l'unica cosa che mi viene in mente è che quando ifplugd parte e controlla se 
esiste /var/run/ifplugd.eth0.pid
se il file non esiste allora avvia la rete 
a questo punto dovrebbe crearsi il file
e ifplug verifica che esista
siccome la creazione del file per un qualche motivo ritarda ritorna errore ma 
quando faccio lo status della rete il file esiste e non torna nessun errore.

Sto delirando ho puo' avere un senso?




-----------
[root@ntb-alex alessandro]# strace ifplugd -i eth0
execve("/sbin/ifplugd", ["ifplugd", "-i", "eth0"], [/* 55 vars */]) = 0
uname({sys="Linux", node="ntb-alex", ...}) = 0
brk(0)                                  = 0x80507e4
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40014000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62749, ...}) = 0
old_mmap(NULL, 62749, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20]\1\000"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1237568, ...}) = 0
old_mmap(NULL, 1242756, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40025000
old_mmap(0x4014f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x12a000) = 0x4014f000
old_mmap(0x40152000, 9860, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000
close(3)                                = 0
munmap(0x40015000, 62749)               = 0
brk(0)                                  = 0x80507e4
brk(0x80717e4)                          = 0x80717e4
brk(0)                                  = 0x80717e4
brk(0x8072000)                          = 0x8072000
geteuid32()                             = 0
open("/var/run/ifplugd.eth0.pid", O_RDONLY) = -1 ENOENT (No such file or 
directory)
brk(0)                                  = 0x8072000
brk(0)                                  = 0x8072000
brk(0x8071000)                          = 0x8071000
brk(0)                                  = 0x8071000
pipe([3, 4])                            = 0
fcntl64(3, F_GETFL)                     = 0 (flags O_RDONLY)
fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40015000
_llseek(3, 0, 0xbffff508, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
fstat64(4, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40016000
_llseek(4, 0, 0xbffff508, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
fcntl64(4, F_GETFL)                     = 0x1 (flags O_WRONLY)
fcntl64(4, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fork()                                  = 23419
--- SIGCHLD (Child exited) @ 0 (0) ---
read(3, "|[\0\0", 4096)                 = 4
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
exit_group(-1)                          = ?

------------------------------------------------




> Controlla anche il contenuto di 
> /etc/modules.conf

questo è a posto ...
alias eth0 sis900


Alessandro


-- 
-----------------------------------------
speleoalex@xxxxxxxxxxxxx
http://speleoalex.altervista.org
 

========----------

 Prima di scrivere in m-list per favore leggi il regolamento
 http://www.lugge.net/soci/index.php?link=manifesto

 Archivio delle e-mail postate in lista
 //www.freelists.org/archives/lugge/

 Modifica dell'account sulla lista LUGGe
 http://www.lugge.net/soci/index.php?link=manifesto.htm#list


Other related posts: