Hi people,
Something strange happened. My RedHat 7.2 worked fine a day ago.
Now, my SSHD suddenly fails. I didn't modify the files (sshd and nfs)
under /etc/rc.d/init.d/ however, now whenever I try to start ssh
either thru start-up script or manually, it complains the following
Starting sshd: execvp: No such file or directory [FAILED]
The reason seems to be execvp cannot read the
/etc/rc.d/init.d/functions file.
The file is in the directory but it is not shown. In other words,
when I do a "ls", the file doesn't appear(even I have a 755 permission
on it). However, if I vi the file, the file loads into vi properly.
Because of this strange behavior, I try to create a new file called
functions in my home directory. The file is created and can be more
or vi but when I do a 'ls', it is not there. It seems like the kernel
won't display any files that is named "functions".
Well, I am not a strong linux guy, so any idea why this is so strange:
file is there but cannot be read by other scripts or listed.
Any help would be greatly appreciated..
Thank you
P.S. Just some more info if it helps, my NFSD failed too but it
doesn't complains about the functions file problem. It complains
something about connection refused.
Ben