LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-03-2008, 09:49 AM   #1
jancat
Member
 
Registered: Dec 2007
Posts: 36

Rep: Reputation: 15
rpm isnt working


[root@server ~]# rpm
-bash: /bin/rpm: cannot execute binary file
[root@server ~]#

how can I solve it ? Thank you for your help.
 
Old 07-03-2008, 09:54 AM   #2
jancat
Member
 
Registered: Dec 2007
Posts: 36

Original Poster
Rep: Reputation: 15
[root@server ~]# yum install rpm*
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for rpm-devel to pack into transaction set.
rpm-devel-4.3.3-23_nonptl 100% |=========================| 85 kB 00:00
---> Package rpm-devel.i386 0:4.3.3-23_nonptl set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
rpm-devel i386 4.3.3-23_nonptl base 3.2 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 3.2 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): rpm-devel-4.3.3-23 100% |=========================| 3.2 MB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: rpm-devel ######################### [1/1]

Installed: rpm-devel.i386 0:4.3.3-23_nonptl
Complete!
[root@server ~]# rpm
-bash: /bin/rpm: cannot execute binary file
[root@server ~]#
 
Old 07-03-2008, 09:56 AM   #3
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Some thing has broken on your system what is the output of

Code:
ldd /bin/rpm
 
Old 07-03-2008, 10:48 AM   #4
jancat
Member
 
Registered: Dec 2007
Posts: 36

Original Poster
Rep: Reputation: 15
[root@server ~]# ldd /bin/rpm
not a dynamic executable
[root@server ~]#
 
Old 07-03-2008, 11:00 AM   #5
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Then your rpm file has been replace by something else check using
Code:
file /bin/rpm
If this machine is on the internet then you could have been hacked and your files modified.
 
Old 07-03-2008, 12:09 PM   #6
jancat
Member
 
Registered: Dec 2007
Posts: 36

Original Poster
Rep: Reputation: 15
[root@server ~]# file /bin/rpm
/bin/rpm: RPM v3 bin i386 floodkoruma-2.0-1
[root@server ~]#

server has internet connection
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sar isnt working rsmccain SUSE / openSUSE 1 10-07-2006 03:48 AM
YaST isnt working DickH SUSE / openSUSE 19 06-12-2006 12:22 AM
Multi-OS is that why it isnt working??? CiscoNinja Linux - Newbie 8 10-01-2005 07:05 PM
Sound Isnt Working LinuxNoob1234 Linux - Newbie 8 05-07-2005 12:51 AM
help,windows isnt working Geefthegreat Linux - Newbie 2 04-06-2004 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration