Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[résolu][console] probléme de lancement d'application
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
lcrprod
n00b
n00b


Joined: 07 Sep 2004
Posts: 30

PostPosted: Sun Nov 09, 2008 8:48 pm    Post subject: [résolu][console] probléme de lancement d'application Reply with quote

Bonsoir,


j'ai un problème lors du lancement d'application sur une console ou konsole (kde)

j'obtient invariablement le message suivant:
Quote:

bash: ./netbeans: /bin/sh: bad interpreter: Permission denied



j'ai détruit mon ancien .bashrc. j'ai rebooter mon poste mais rien ne change.

Précision: je vient du monde KUbuntu.

J'ai même éclaté mon profils kde mais rien ne change.

J'ai recréer le groupe auquel j'appartenais sous ubuntu avec le même ID = 1000.

Avez vous une idée.

Cordialement.

Christophe


Last edited by lcrprod on Mon Nov 10, 2008 12:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Mon Nov 10, 2008 12:18 am    Post subject: Reply with quote

Heuuu

ls -artl /bin/sh

donne quoi ?
Back to top
View user's profile Send private message
lcrprod
n00b
n00b


Joined: 07 Sep 2004
Posts: 30

PostPosted: Mon Nov 10, 2008 8:45 am    Post subject: Reply with quote

bonjour,


la commande donne bien le lien vers bash

Quote:

christophe@josiane4 ~ $ ls -artl /bin/sh
lrwxrwxrwx 1 root root 4 Nov 6 16:59 /bin/sh -> bash


et la je ne comprend plus...
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Mon Nov 10, 2008 10:34 am    Post subject: Reply with quote

essayes en root de lancer /bin/sh manuellement pour voir ce qu'il en est.
Back to top
View user's profile Send private message
lcrprod
n00b
n00b


Joined: 07 Sep 2004
Posts: 30

PostPosted: Mon Nov 10, 2008 10:56 am    Post subject: Reply with quote

sous root comme l'utilisateur lambda j'obtient bien le shell..

Quote:

christophe@josiane4 ~ $ /bin/sh
sh-3.2$



Quote:

josiane4 christophe # /bin/sh
sh-3.2# exit
exit
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1677
Location: 127.0.0.1

PostPosted: Mon Nov 10, 2008 11:21 am    Post subject: Reply with quote

Tu as probablement un système de fichier monté en noexec.
Que donne :
Code:

# emerge --info
# mount
# cat /etc/fstab
Back to top
View user's profile Send private message
lcrprod
n00b
n00b


Joined: 07 Sep 2004
Posts: 30

PostPosted: Mon Nov 10, 2008 12:41 pm    Post subject: Reply with quote

Ok trouver aprés avoir lancer la commande mount:

Quote:


/dev/hda7 on / type ext3 (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,gid=5,mode=620)
/dev/hda5 on /home type ext3 (rw,noexec,nosuid,nodev)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
securityfs on /sys/kernel/security type securityfs (rw,noexec,nosuid,nodev)


voici mon fstab avant modif:

Quote:

/dev/hda7 / ext3 nouser,relatime,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
/dev/hda6 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/hda5 /home ext3 nouser,relatime,atime,auto,rw,dev,exec,suid 0 2
#/dev/fd0 /mnt/floppy auto noauto 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0


et maintenant

Quote:

/dev/hda7 / ext3 nouser,relatime,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
/dev/hda6 none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/hda5 /home ext3 nouser,relatime,atime,auto,rw,dev,exec,suid 0 2
#/dev/fd0 /mnt/floppy auto noauto 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0


je vais rebooter mon poste et je vous tient informé.
Back to top
View user's profile Send private message
lcrprod
n00b
n00b


Joined: 07 Sep 2004
Posts: 30

PostPosted: Mon Nov 10, 2008 12:47 pm    Post subject: Reply with quote

Ok le probléme est résolue aprés avoir démonter et remonter mon home.

Merci pour le coup de main.

Christophe

P.S.: j'ai été idiot de ne pas avoir pensé au montage de ma partition home.....
Back to top
View user's profile Send private message
_Seth_
Guru
Guru


Joined: 15 Sep 2004
Posts: 539
Location: encore paumé dans un labo ;)

PostPosted: Mon Nov 10, 2008 8:06 pm    Post subject: Reply with quote

lcrprod wrote:
P.S.: j'ai été idiot de ne pas avoir pensé au montage de ma partition home.....

mais non, il n'y d'idiots que ceux qui ne posent pas de questions ;)
_________________
no tears to cry, no feelings left
the species has amused itself to death
amused itself to death
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum