O
O
oni__ino2016-11-15 14:51:19
linux
oni__ino, 2016-11-15 14:51:19

Find command not working in CentOS based distribution, strange bug or?

The find command does not work in XenServer (as we know it is a CentOS 5-based distribution), a strange bug or something else?
The server has not been updated, and third-party utilities except (mc, vim, nmap) because the base repository is disabled by default. And dear Tobias, the citrix forum does not recommend this:

"Thrid party applications are not supported on XenServer. Doing so could void any support."

Everything worked, now it doesn't work.
Directly specifying the path also displays an error that the file or directory does not exist.
find >?cannot accept parameters?:
# find .
.
find: .: No such file or directory
# ls .
2016-10-16  2016-10-19

Other information:
#cat /etc/redhat-release 
XenServer release 6.5.0-90233c (xenenterprise)

#ls -la /usr/bin/find
-rwxr-xr-x 1 root root 155256 Врс  3  2009 /usr/bin/find

#yum list installed | grep find
findutils.x86_64                      1:4.2.27-6.el5                   installed

#yum reinstall findutils --enablerepo=base
Переустанавливает с репозитория но проблему не решает.

#ps aux | grep find
Зависших процессов нет

#find --version
GNU find version 4.2.27
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION SELINUX

What to do then?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
romy4, 2016-11-15
@romy4

what does pwd say?
and find ./ ?
and find / ?

A
Argenon, 2016-11-15
@Argenon

[[email protected] /]# cat /etc/redhat-release
XenServer release 6.5.0-90233c (xenenterprise)
[[email protected] /]# find /etc/yum
/etc/yum
/etc/yum/pluginconf.d
/etc /yum/pluginconf.d/fastestmirror.conf

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question