bug-bash
[Top][All Lists]
Advanced

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

PATH strange behaviour


From: Jérémy Hervé
Subject: PATH strange behaviour
Date: Fri, 3 Aug 2007 16:32:10 +0200

- version : 3.1.17(2)-release (i486-slackware-linux-gnu)
- description : Strange behaviour ; second time I have it. I removed
an old apache package (1.3, /usr/sbin/httpd) and make;make-installed a
new one (/usr/bin/httpd). Here is the transcript of what appened then.

root@crystal:/usr/bin# env | grep PATH
MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man:/usr/lib/java/man:/usr/share/texmf/man
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/share/texmf/bin
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/kde/lib/pkgconfig
root@crystal:/usr/bin# ls -l httpd
-rwxr-xr-x 1 root root 643348 2007-08-03 15:49 httpd*
root@crystal:/usr/bin# ls -l /usr/sbin/httpd
/bin/ls: /usr/sbin/httpd: No such file or directory
root@crystal:/usr/bin# whereis httpd
httpd: /usr/bin/httpd /usr/include/httpd.h /usr/man/man8/httpd.8
/usr/share/man/man8/httpd.8
root@crystal:/usr/bin# httpd -v
-bash: /usr/sbin/httpd: No such file or directory
root@crystal:/usr/bin# ./httpd -v
Server version: Apache/2.2.4 (Unix)
Server built:   Aug  3 2007 15:46:58
root@crystal:/usr/bin# sh
root@crystal:/usr/bin# httpd -v
Server version: Apache/2.2.4 (Unix)
Server built:   Aug  3 2007 15:46:58
root@crystal:/usr/bin# ls -l /usr/sbin/httpd
ls: /usr/sbin/httpd: No such file or directory
root@crystal:/usr/bin# env | grep SHELL
SHELL=/bin/bash
root@crystal:/usr/bin# /bin/bash --version
GNU bash, version 3.1.17(2)-release (i486-slackware-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
root@crystal:/usr/bin#




reply via email to

[Prev in Thread] Current Thread [Next in Thread]