Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to execute

/etc/init.d/xinetd start

I get the following error:

Starting xinetd: /bin/bash: /usr/sbin/xinetd: cannot execute binary file [FAILED]

Also, if I check the status of xinetd, I get the following output:

xinetd dead but subsys locked


Server details:

Linux 2.6.18-194.11.3.el5 #1 SMP Mon Aug 23 15:49:21 EDT 2010 i686 i686 i386 GNU/Linux



bash: /usr/sbin/xinetd: cannot execute binary file


stat /usr/sbin/xinetd


File: `/usr/sbin/xinetd' Size: 164144 Blocks: 336 IO Block: 4096 regular file Device: 802h/2050d Inode: 392043 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2011-04-08 09:27:58.000000000 -0400 Modify: 2011-04-06 17:04:35.000000000 -0400 Change: 2011-04-06 17:06:21.000000000 -0400

share|improve this question
Can we get teh output of file /usr/sbin/xinetd, stat /usr/sbin/xinetd, and uname -a ? – Cian Apr 8 '11 at 13:12
up vote 1 down vote accepted

The file may have been damaged or is for the wrong architecture; run file /usr/sbin/xinetd and rpm -V xinetd to verify, and then proceed to reinstall the package correctly.

share|improve this answer
Yeah, I just realized that the file had been copied from a 64-bit machine, so that was the problem. – Brian Apr 8 '11 at 13:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.