SSHD (execvp) fails to start due to unable to read file -- /etc/rc.d/init.dfunctions

From: Ben (dangerous50@yahoo.com)
Date: 05/08/02


From: dangerous50@yahoo.com (Ben)
Date: 8 May 2002 09:14:40 -0700

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



Relevant Pages

  • Tommy can seriously plan their balloon
    ... Rifaat undermines the youth contrary to hers and now complains. ... recovering now, Vincent and Ron concentrated the poor riots beside ... careful and strange. ...
    (sci.crypt)
  • Re: kernel killing processes when out of swap
    ... Thanks for the feedback seems very strange that sshd was the first thing the ... where some small perl monitoring scripts we run only after that did it kill ... When you're out of swap, ...
    (freebsd-hackers)
  • Re: kaffine
    ... > Strange, ... Did you download with a Windows program? ... > I never had a 'My Documents' in my home directory. ...
    (alt.os.linux.suse)
  • Re: kernel killing processes when out of swap
    ... "Steven Hartland" writes: ... > Thanks for the feedback seems very strange that sshd was the first thing the ... > as sshd is usually 6M. ...
    (freebsd-hackers)
  • Re: How to remove folders from desktop in FC8?
    ... wob wrote: ... my home directory on the desktop. ... then I believe the fallback is to use $HOME. ... ~/Desktop doesn't exist (or has strange permissions)? ...
    (Fedora)