Re: APT-GET Permission non-accor dée (alors que je suis root)

2009-02-09 Par sujet steve
 Bonjour à nouveau,

Salut,
 
 Voici aprés redémarrage ce que me renvoie dmesg :
 
 Y voyez vous quelquechose.

on va voir plus bas.

 En dernier recours, il ne me reste plus qu'a ré-installer toute la machine.

Ce serait dommage, mais si ça fait gagner du temps, pourquoi pas ...

 
 ACPI: PCI Root Bridge [PCI0] (:00)
 PCI: Probing PCI hardware (bus 00)
 ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
 PCI quirk: region 0900-097f claimed by ICH4 ACPI/GPIO/TCO
 PCI quirk: region 0800-083f claimed by ICH4 GPIO
 PCI: Ignoring BAR0-3 of IDE controller :00:1f.1
 PCI: PXH quirk detected, disabling MSI for SHPC device
 PCI: PXH quirk detected, disabling MSI for SHPC device
 PCI: Transparent bridge - :00:1e.0
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.IP2P._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.ICHR._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PTB0._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PTB0.PCXA._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PTB0.PCXB._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PTA0._PRT]
 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PTC0._PRT]
 ACPI: PCI Interrupt Link [LNKA] (IRQs *5 7 10 11)
 ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7 10 11) *0, disabled.
 ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *7 10 11)
 ACPI: PCI Interrupt Link [LNKD] (IRQs *5 7 10 11)
 ACPI: PCI Interrupt Link [LNKE] (IRQs 5 7 10 11) *0, disabled.
 ACPI: PCI Interrupt Link [LNKF] (IRQs *5 7 10 11)
 ACPI: PCI Interrupt Link [LNKG] (IRQs *5 7 10 11)
 ACPI: PCI Interrupt Link [LNKH] (IRQs *5 7 10 11)
 Linux Plug and Play Support v0.97 (c) Adam Belay
 pnp: PnP ACPI init
 pnp: PnP ACPI: found 9 devices
 PnPBIOS: Disabled by ACPI PNP
 PCI: Using ACPI for IRQ routing
 PCI: If a device doesn't work, try pci=routeirq.  If it helps, post a
 report
 PCI: Cannot allocate resource region 4 of device :00:1d.0
 PCI: Cannot allocate resource region 4 of device :00:1d.1
 PCI: Cannot allocate resource region 0 of device :00:1f.2
 PCI: Cannot allocate resource region 1 of device :00:1f.2
 PCI: Cannot allocate resource region 2 of device :00:1f.2
 PCI: Cannot allocate resource region 3 of device :00:1f.2
 PCI: Cannot allocate resource region 4 of device :00:1f.2
 PCI: Device :00:00.0 not found by BIOS
 pnp: 00:01: ioport range 0x408-0x40f has been reserved
 pnp: 00:01: ioport range 0x4d0-0x4d1 has been reserved
 pnp: 00:01: ioport range 0x700-0x71f has been reserved
 PCI: Bridge: :00:02.0
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
 PCI: Bridge: :06:00.0
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
 PCI: Bridge: :06:00.2
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
 PCI: Bridge: :00:04.0
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
 PCI: Bridge: :00:06.0
   IO window: disabled.
   MEM window: disabled.
   PREFETCH window: disabled.
 PCI: Bridge: :00:1c.0
   IO window: disabled.
   MEM window: fdf0-fdff
   PREFETCH window: disabled.
 PCI: Bridge: :00:1e.0
   IO window: 1000-3fff
   MEM window: fbf0-fcff
   PREFETCH window: 5000-500f
 ACPI: PCI Interrupt :00:02.0[A] - GSI 16 (level, low) - IRQ 169
 PCI: Setting latency timer of device :00:02.0 to 64
 ACPI: PCI Interrupt :00:04.0[A] - GSI 16 (level, low) - IRQ 169
 PCI: Setting latency timer of device :00:04.0 to 64
 PCI: Setting latency timer of device :06:00.0 to 64
 PCI: Setting latency timer of device :06:00.2 to 64
 ACPI: PCI Interrupt :00:06.0[A] - GSI 16 (level, low) - IRQ 169
 PCI: Setting latency timer of device :00:06.0 to 64
 PCI: Setting latency timer of device :00:1e.0 to 64
 NET: Registered protocol family 2
 IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
 TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
 TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
 TCP: Hash tables configured (established 131072 bind 65536)
 TCP reno registered
 audit: initializing netlink socket (disabled)
 audit(1234246311.284:1): initialized
 highmem bounce pool size: 64 pages
 VFS: Disk quotas dquot_6.5.1
 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 Initializing Cryptographic API
 io scheduler noop registered
 io scheduler anticipatory registered
 io scheduler deadline registered
 io scheduler cfq registered (default)
 PCI: Setting latency timer of device :00:02.0 to 64
 Allocate Port Service[:00:02.0:pcie00]
 PCI: Setting latency timer of device :00:04.0 to 64
 Allocate Port Service[:00:04.0:pcie00]
 PCI: Setting latency timer of device :00:06.0 to 64
 Allocate Port Service[:00:06.0:pcie00]
 isapnp: Scanning for PnP cards...
 isapnp: No Plug  Play device found
 Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
 serial8250: 

Re: APT-GET Permission non-accor dée (alors que je suis root)

2009-01-30 Par sujet steve
 
 Je n'ai rien d'autre quand je fait dmsg | tail...

ok. Est-ce que 

BOOTLOGD_ENABLED=yes

dans

/etc/default/bootlogd
 

Sinon, mets-le à yes et redémarre le système. Ensuite regarde ce qu'il y
a dans /var/log/boot

 
  Déjà, on voit que tu es en etch. Ensuite, on voit plein de RDONLY, il y
  a bien un problème d'écriture quelque part.
 
 
 
  Oui, on finit toujours par y arriver.
 
 
 Merci de m'encourager.

Nous sommes là pour ça, et en plus le problème est intéressant.

 
  Peux-tu nous mettre la sortie de
 
  cat /etc/fstab
 
  et
 
  cat /etc/apt/sources.list
 
 
 Alors voici en un post toutes les commandes demandées :
 
 
 HPU1HD08:/var/log# ls -l /usr/
 total 120
 drwxr-xr-x  12 root root   4096 2009-01-30 09:24 .
 drwxr-xr-x  23 root root   4096 2008-04-29 22:37 ..
 drwxr-xr-x   2 root root  36864 2009-01-02 09:26 bin
 drwxr-xr-x   2 root root   4096 2008-04-29 18:28 games
 drwxr-xr-x  38 root root   4096 2009-01-02 09:26 include
 drwxr-xr-x  58 root root  36864 2009-01-22 15:08 lib
 drwxr-xr-x   3 root root   4096 2008-05-03 14:31 lib64
 drwxrwsr-x  11 root staff  4096 2008-05-05 15:12 local
 drwxr-xr-x   2 root root  12288 2008-06-10 16:09 sbin
 drwxr-xr-x 123 root root   4096 2008-12-17 10:55 share
 drwxrwsr-x   3 root src4096 2008-05-03 14:34 src
 drwxr-xr-x   3 root root   4096 2008-04-29 20:38 X11R6

Rien d'anormal ici

 
 HPU1HD08:/var/log# cat /etc/debian_version
 4.0

Etch donc. Une fois le problème réglé ce serait peut-être une bonne idée
de passer à lenny, mais ce sera pour plus tard.

 
 HPU1HD08:/var/log# cat /etc/fstab
 # /etc/fstab: static file system information.
 #
 # file system mount point   type  options   dump  pass
 proc/proc   procdefaults0   0
 /dev/sda1   /   ext3defaults,errors=remount-ro 0   1

J'enlèverai 'errors=remount-ro' sur cette ligne et redémarrerai le
système. Tu pourra toujours le remettre plus tard.


 /dev/sda5   noneswapsw  0   0
 /dev/hda/media/cdrom0   udf,iso9660 user,noauto 0   0
 /dev/fd0/media/floppy0  autorw,user,noauto  0   0
 
 
 HPU1HD08:/var/log# cat /etc/apt/sources.list
 #
 # deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 DVD Binary-1
 20080102-13:19]/ etch contrib main
 
 deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 DVD Binary-1
 20080102-13:19]/ etch contrib main

les deux lignes pour le cdrom sont inutiles, tu peux les commenter
(mettre une # en début de ligne).

Ensuite,

aptitude update
aptitude upgrade


 deb http://ftp.fr.debian.org/debian/ etch main
 deb-src http://ftp.fr.debian.org/debian/ etch main
 
 deb http://security.debian.org/ etch/updates main contrib
 deb-src http://security.debian.org/ etch/updates main contrib
 
 #deb http://download.webmin.com/download/repository sarge contrib
 
 deb http://volatile.debian.org/debian-volatile etch/volatile main contrib
 non-free
 
 #deb http://volatile.debian.net/debian-volatile etch/volatile main


Courage !

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to debian-user-french-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: APT-GET Permission non-accor dée (alors que je suis root)

2009-01-29 Par sujet steve
Le 29-01-2009, à 12:03:25 +0400, Patrice YEE CHONG TCHI KAN 
(patr...@network.re) a écrit :

 Désolé le tableau est en HTML.
 
 J'ai aussi un accés SSH, j'ai tapé mount :
 
 HPU1HD08:/var/www/www.kabardock.fr# mount
 /dev/sda1 on / type ext3 (rw,errors=remount-ro)
 tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
 proc on /proc type proc (rw,noexec,nosuid,nodev)
 sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
 procbususb on /proc/bus/usb type usbfs (rw)
 udev on /dev type tmpfs (rw,mode=0755)
 tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
 devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)

Il n'y a qu'une partition / ? Pas de partition spéciale pour /usr et
/home par exemple ?

Que donne

df -h

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to debian-user-french-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: APT-GET Permission non-accor dée (alors que je suis root)

2009-01-29 Par sujet steve
Le 29-01-2009, à 15:21:26 +0400, Patrice YEE CHONG TCHI KAN 
(patr...@network.re) a écrit :

 HPU1HD08:/var/www/www.kabardock.fr# df -h
 Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur
 /dev/sda1  71G   16G   52G  24% /

donc elle n'est pas pleine. C'est déjà ça.

Remarque : pas besoin d'être en root pour ce genre de commandes (df,
mount, etc..).

 tmpfs 507M 0  507M   0% /lib/init/rw
 udev   10M   52K   10M   1% /dev
 tmpfs 507M 0  507M   0% /dev/shm
 
 Qu'est que ça veut dire remount-ro dans /dev/sda1 on / type ext3
 (rw,errors=remount-ro) ?

Cela veut dire que s'il y a un problème avec le FS, le système va
le remonter en mode ro, c'est à dire read only (lecture seule).
Peut-être est-ce arrivé chez toi. Tu devrais peut-être redémarré le
système et ensuite aller voir dans /var/log les fichiers modifiés au
démarrage (syslog, dmesg, etc...) (fais un ls -lrt dedans, les dernières
lignes sont les fichiers modifiés en derniers).

Peux-tu installer d'autres programmes avec aptitude ou c'est seulement
[me rappelle plus du nom] qui foire ?

As-tu fait un 

aptitude update
aptitude safe-upgrade

avant ? Si oui pas de message d'erreur ?

Je ne sais pas trop où regarder pour ton problème, désolé.

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to debian-user-french-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: APT-GET Permission non-accor dée (alors que je suis root)

2009-01-29 Par sujet steve

 Bonjour Guy, Romaric et steeve, et les autres

Salut,
 
 Désolé Guy, tu as certainement reçu ce message deux fois.
 
 
 Tu devrais peut-être redémarré le
  système et ensuite aller voir dans /var/log les fichiers modifiés au
  démarrage (syslog, dmesg, etc...) (fais un ls -lrt dedans, les dernières
  lignes sont les fichiers modifiés en derniers).
 
 
  Peux-tu installer d'autres programmes avec aptitude ou c'est seulement
  [me rappelle plus du nom] qui foire ?
 
 
 En fait c'est uniquement le répertoire /usr/bin/ n'est pas inscriptible.
 Donc toutes les installation apt-get qui ont besoin d'écrire dans ce
 répertoire sont bloquées.

Que donne 'ls -l /usr/' ? Chez moi :

rwxr-xr-x   2 root root   98304 jan 29 08:23 bin
drwxr-xr-x   2 root root4096 déc 23 11:33 games
drwxr-xr-x  70 root root   12288 jan 18 16:46 include
drwxr-xr-x 215 root root  135168 jan 27 08:40 lib
lrwxrwxrwx   1 root root  24 avr  8  2008 lib32 -
/emul/ia32-linux/usr/lib
lrwxrwxrwx   1 root root   3 avr  8  2008 lib64 - lib
drwxrwsr-x  11 root staff   4096 déc  9 15:09 local
drwx--   2 root root   16384 sep 28  2007 lost+found
drwxr-xr-x   2 root root   20480 jan 28 13:56 sbin
drwxr-xr-x 387 root root   12288 jan 28 13:56 share
drwxrwsr-x  10 root src 4096 jan 23 09:27 src
drwxr-xr-x   2 root root4096 sep 11 11:35 X11R6

 
 
  As-tu fait un
 
  aptitude update
 
 
 OK
 
 
  aptitude safe-upgrade
 
 
 La commande n'existe pas.

C'est bizarre. T'es (encore) sous etch ? Que donne

cat /etc/debian_version



 Il y a bien aptitude upgrade mais il me propose
 l'upgrade de tous ce qui a une mise-à-jour mais je sait que ça va poser
 problème avec le /usr/bin/ non-inscriptible.

Clairement, mais il faut quand même penser à faire des mises à jour de
temps en temps :-)
 
 
 Quelles sont les dernières lignes de la commande dmesg ?
  $ dmesg | tail
  Histoire de voir que le système de fichier ou le DD ne sont pas HS
 
 
 HPU1HD08:~# dmesg | tail
 PM: Writing back config space on device :02:02.0 at offset 1 (was
 2b0, writing 2b00146)
 NET: Registered protocol family 10
 lo: Disabled Privacy Extensions
 ADDRCONF(NETDEV_UP): eth0: link is not ready
 IPv6 over IPv4 tunneling driver
 ACPI: Power Button (FF) [PWRF]
 tg3: eth0: Link is up at 1000 Mbps, full duplex.
 tg3: eth0: Flow control is off for TX and off for RX.
 ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 eth0: no IPv6 routers present

rien d'intéressant là. Regarde s'il n'y a pas quelque chose qui concerne
ton disque et tes (ta) partitions

 
 Si tu fait un strace sur ton apt-get, tu devrais pouvoir voir où ça coince
  (problème de FS ou autre).
  De mémoire, la commande s'écrit ainsi :
  strace -o sortie.log apt-get install ton_paquet
  (mais fait quand même un pti man strace)
 
 
 J'ai mis le fichier ici : http://www.network.re/debian-french-doc/sortie.log
 Et effectivement, je n'y comprends pas énormément de choses.

Déjà, on voit que tu es en etch. Ensuite, on voit plein de RDONLY, il y
a bien un problème d'écriture quelque part.

 
 Par contre ce qui est certain, c'est que mon système de fichier n'est pas en
 écriture seule SAUF pour /usr/bin/ :
 
 HPU1HD08:~# mkdir /usr/bin/blablah/
 mkdir: ne peut créer le répertoire `/usr/bin/blablah/': Permission non
 accordée

Très bizarre.

 Alors que HPU1HD08:~# mkdir /usr/blablah/ passe sans problème.

Bon.

 Merci encore,
 J'ai confiance qu'on arrivera à trouver la solution de ce problème. :)


Oui, on finit toujours par y arriver.

Peux-tu nous mettre la sortie de 

cat /etc/fstab

et 

cat /etc/apt/sources.list



-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et
Reply-To:

To UNSUBSCRIBE, email to debian-user-french-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org