Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 xxx.xxx.xxx.edu 2.6.18-194.11.3.el5 #1 SMP Mon Aug 23 15:49:21 EDT 2010 i686 i686 i386 GNU/Linux


/usr/sbin/xinetd

produced:

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

--

stat /usr/sbin/xinetd

produced:

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

1 Answer 1

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

 
discard

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.