Eric on 4 Aug 2009 08:14:00 -0700 |
sean finney wrote: > On Mon, Aug 03, 2009 at 10:30:08PM -0400, Eric wrote: > >> Aug 4 02:06:02 master1 sshd[3590]: error: subsystem: cannot stat >> '/usr/lib/openssh/sftp-server: No such file or directory >> > > i think the fix has to do with the above quote (get it? nyuk nyuk). > > sean Hey Sean, sorry to have given you bad info here... I was trying to put debug statements in the sshd_conf file (DOH!) which is why that quote was there. This is the current line from /etc/ssh/sshd_conf Subsystem sftp /usr/lib/openssh/sftp-server I've cranked up the logging to debug3 and restarted the sshd. Here: http://www.lucii.com/auth.log-piece.txt is what the log looks like. (each line starts with: Aug 4 /time/ master1 sshd[3200]: ) When I run sftp-server from the command line (as root) it just sits there. If I run strace /usr/lib/openssh/sftp-server I get a big pile of messages - most of which are meaningless to me. Nothing jumps out and says: HEY! HERE I AM - I'M THE ERROR YOU'RE LOOKING FOR! This is the last 20 or so lines of the strace output: ======================================= fstat64(3, {st_mode=S_IFREG|0644, st_size=30436, ...}) = 0 mmap2(NULL, 33352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7b04000 mmap2(0xb7b0b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7b0b000 close(3) = 0 munmap(0xb7f03000, 11298) = 0 open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=11298, ...}) = 0 mmap2(NULL, 11298, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f03000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libnss_nis.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\31\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=34352, ...}) = 0 mmap2(NULL, 37436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7afa000 mmap2(0xb7b02000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7b02000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/tls/i686/cmov/libnss_files.so.2", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\30"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0644, st_size=38412, ...}) = 0 mmap2(NULL, 41624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7aef000 mmap2(0xb7af8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0xb7af8000 close(3) = 0 munmap(0xb7f03000, 11298) = 0 open("/etc/passwd", O_RDONLY|0x80000 /* O_??? */) = 3 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) _llseek(3, 0, [0], SEEK_CUR) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=1121, ...}) = 0 mmap2(NULL, 1121, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f05000 _llseek(3, 1121, [1121], SEEK_SET) = 0 munmap(0xb7f05000, 1121) = 0 close(3) = 0 dup(0) = 3 dup(1) = 4 select(5, [3], [], NULL, NULL ================================== At this point it's just sitting and waiting. I terminate with ^C Does this make any sense to anyone or am I looking in the wrong place :-) Thanks, Eric -- # Eric Lucas # # "Oh, I have slipped the surly bond of earth # And danced the skies on laughter-silvered wings... # -- John Gillespie Magee Jr ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|