Results 1 to 9 of 9
  1. #1

    -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or director

    Yum not work in my os ( Centos 5 )
    Please help me

    # yum
    -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directorydirectory

  2. #2
    Join Date
    Dec 2005
    Posts
    3,110
    What do you get if you do:

    rpm -q python*

  3. #3
    Quote Originally Posted by PCS-Chris View Post
    What do you get if you do:

    rpm -q python*
    Dear Friend,

    # rpm -q python*
    package python* is not installed

  4. #4
    Join Date
    Jan 2007
    Location
    /dev/null
    Posts
    3,700
    Does
    Code:
    tail /var/log/yum.log
    throw up anything?

    Oh and you might as well do:
    Code:
     rpm -qil libxml2-python
    while at it.

  5. #5
    Quote Originally Posted by Robert vd Boorn View Post
    Does
    Code:
    tail /var/log/yum.log
    throw up anything?

    Oh and you might as well do:
    Code:
     rpm -qil libxml2-python
    while at it.

    PHP Code:
    # tail /var/log/yum.log
    Mar 09 00:35:13 Installed1:openoffice.org-core-3.1.1-19.5.el5_5.6.i386
    Mar 09 00
    :35:15 Installed1:openoffice.org-writer-3.1.1-19.5.el5_5.6.i386
    Mar 09 00
    :35:15 Installedxml-commons-resolver-1.1-1jpp.12.i386
    Mar 09 00
    :37:26 Installed1:openoffice.org-calc-3.1.1-19.5.el5_5.6.i386
    Mar 09 00
    :37:43 Installed1:openoffice.org-draw-3.1.1-19.5.el5_5.6.i386
    Mar 09 00
    :37:44 Installed1:openoffice.org-impress-3.1.1-19.5.el5_5.6.i386
    Mar 09 00
    :39:27 Installedtcl-8.4.13-4.el5.i386
    Mar 09 00
    :39:28 Installedtk-8.4.13-5.el5_1.1.i386
    Mar 09 00
    :39:29 Installed1:tix-8.4.0-11.fc6.i386
    Mar 09 00
    :39:29 Installedtkinter-2.4.3-46.el5.i386 

    PHP Code:
    #  rpm -qil libxml2-python
    Name        libxml2-python               Relocations: /usr
    Version     
    2.6.26                            VendorCentOS
    Release     
    2.1.15.el5_8.2                Build DateFri 24 Feb 2012 04:51:49 AM MSK
    Install Date
    Thu 08 Mar 2012 11:15:08 PM MSK      Build Hostbuilder10.centos.org
    Group       
    Development/Libraries         Source RPMlibxml2-2.6.26-2.1.15.el5_8.2.src.rpm
    Size        
    2378298                          LicenseMIT
    Signature   
    DSA/SHA1Fri 24 Feb 2012 05:36:59 AM MSKKey ID a8a447dce8562897
    URL         
    http://xmlsoft.org/
    Summary     Python bindings for the libxml2 library
    Description 
    :
    The libxml2-python package contains a module that permits applications
    written in the Python programming language to 
    use the interface
    supplied by the libxml2 library to manipulate XML files.

    This library allows to manipulate XML filesIt includes support
    to read
    modify and write XML and HTML filesThere is DTDs support
    this includes parsing 
    and validation even with complex DTDseither
    at parse time 
    or later once the document has been modified.
    /
    usr/lib/python2.4/site-packages/drv_libxml2.py
    /usr/lib/python2.4/site-packages/drv_libxml2.pyc
    /usr/lib/python2.4/site-packages/drv_libxml2.pyo
    /usr/lib/python2.4/site-packages/libxml2.py
    /usr/lib/python2.4/site-packages/libxml2.pyc
    /usr/lib/python2.4/site-packages/libxml2.pyo
    /usr/lib/python2.4/site-packages/libxml2mod.a
    /usr/lib/python2.4/site-packages/libxml2mod.la
    /usr/lib/python2.4/site-packages/libxml2mod.so
    /usr/share/doc/libxml2-python-2.6.26
    /usr/share/doc/libxml2-python-2.6.26/AUTHORS
    /usr/share/doc/libxml2-python-2.6.26/ChangeLog.gz
    /usr/share/doc/libxml2-python-2.6.26/Copyright
    /usr/share/doc/libxml2-python-2.6.26/NEWS
    /usr/share/doc/libxml2-python-2.6.26/README
    /usr/share/doc/libxml2-python-2.6.26/TODO
    /usr/share/doc/libxml2-python-2.6.26/apibuild.py
    /usr/share/doc/libxml2-python-2.6.26/attribs.py
    /usr/share/doc/libxml2-python-2.6.26/build.py
    /usr/share/doc/libxml2-python-2.6.26/ctxterror.py
    /usr/share/doc/libxml2-python-2.6.26/cutnpaste.py
    /usr/share/doc/libxml2-python-2.6.26/dtdvalid.py
    /usr/share/doc/libxml2-python-2.6.26/error.py
    /usr/share/doc/libxml2-python-2.6.26/inbuf.py
    /usr/share/doc/libxml2-python-2.6.26/index.py
    /usr/share/doc/libxml2-python-2.6.26/indexes.py
    /usr/share/doc/libxml2-python-2.6.26/libxml2class.txt
    /usr/share/doc/libxml2-python-2.6.26/nsdel.py
    /usr/share/doc/libxml2-python-2.6.26/outbuf.py
    /usr/share/doc/libxml2-python-2.6.26/push.py
    /usr/share/doc/libxml2-python-2.6.26/pushSAX.py
    /usr/share/doc/libxml2-python-2.6.26/pushSAXhtml.py
    /usr/share/doc/libxml2-python-2.6.26/python.html
    /usr/share/doc/libxml2-python-2.6.26/reader.py
    /usr/share/doc/libxml2-python-2.6.26/reader2.py
    /usr/share/doc/libxml2-python-2.6.26/reader3.py
    /usr/share/doc/libxml2-python-2.6.26/reader4.py
    /usr/share/doc/libxml2-python-2.6.26/reader5.py
    /usr/share/doc/libxml2-python-2.6.26/reader6.py
    /usr/share/doc/libxml2-python-2.6.26/reader7.py
    /usr/share/doc/libxml2-python-2.6.26/reader8.py
    /usr/share/doc/libxml2-python-2.6.26/readererr.py
    /usr/share/doc/libxml2-python-2.6.26/readernext.py
    /usr/share/doc/libxml2-python-2.6.26/regexp.py
    /usr/share/doc/libxml2-python-2.6.26/relaxng.py
    /usr/share/doc/libxml2-python-2.6.26/resolver.py
    /usr/share/doc/libxml2-python-2.6.26/schema.py
    /usr/share/doc/libxml2-python-2.6.26/serialize.py
    /usr/share/doc/libxml2-python-2.6.26/sync.py
    /usr/share/doc/libxml2-python-2.6.26/thread2.py
    /usr/share/doc/libxml2-python-2.6.26/tst.py
    /usr/share/doc/libxml2-python-2.6.26/tstLastError.py
    /usr/share/doc/libxml2-python-2.6.26/tstURI.py
    /usr/share/doc/libxml2-python-2.6.26/tstmem.py
    /usr/share/doc/libxml2-python-2.6.26/tstxpath.py
    /usr/share/doc/libxml2-python-2.6.26/validDTD.py
    /usr/share/doc/libxml2-python-2.6.26/validRNG.py
    /usr/share/doc/libxml2-python-2.6.26/validSchemas.py
    /usr/share/doc/libxml2-python-2.6.26/validate.py
    /usr/share/doc/libxml2-python-2.6.26/walker.py
    /usr/share/doc/libxml2-python-2.6.26/xpath.py
    /usr/share/doc/libxml2-python-2.6.26/xpathext.py
    /usr/share/doc/libxml2-python-2.6.26/xpathret.py 

  6. #6
    Join Date
    May 2003
    Location
    San Diego, CA
    Posts
    351
    Why do you have openoffice installed on a dedicated server?

  7. #7
    Quote Originally Posted by dthigpen View Post
    Why do you have openoffice installed on a dedicated server?
    Dear,

    No,

  8. #8
    can any body help me?

  9. #9
    Join Date
    Dec 2007
    Location
    Indiana, USA
    Posts
    19,178
    Quote Originally Posted by hostgj View Post
    can any body help me?
    It's hard to help you over a forum - it looks to me like you need to hire a systems administrator (even temporarily).
    Michael Denney - MDDHosting.com - Proudly hosting more than 37,800 websites since 2007.
    Ultra-Fast Cloud Shared and Pay-By-Use Reseller Hosting Powered by LiteSpeed!
    cPanel • Free SSL • 100% Uptime SLA • 24/7 Support
    Class-leading support that responds in minutes, not days.

Similar Threads

  1. [problem] /usr/local/php/bin/which: No such file or directory
    By iscientist in forum Hosting Security and Technology
    Replies: 1
    Last Post: 12-15-2011, 11:02 AM
  2. /usr/bin/find
    By Dawizz in forum Hosting Security and Technology
    Replies: 1
    Last Post: 01-20-2008, 08:09 AM
  3. proc list only shows "/usr/bin/php" - no more file names???
    By papi in forum Hosting Security and Technology
    Replies: 3
    Last Post: 01-09-2008, 12:09 AM
  4. /bin/sh: bad interpreter
    By X-TechMedia in forum Hosting Security and Technology
    Replies: 2
    Last Post: 03-20-2003, 09:38 AM
  5. /usr/bin/laden/D/E/A/D
    By Samuel in forum Web Hosting Lounge
    Replies: 15
    Last Post: 10-26-2002, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •