Sites can no longer SFTP into their domains after a clean install
crankycronos posted this on Feb 21st 2008 at 8:33 am under 10.x
New install, CentOS5.0 (or RHEL5.0) and Ensim X 10.3
It will ask for the password and even go through the motions of allowing site users the ability to connect but then it just closes the connection with no explanations or error.
Here are the procedures for running the script:
pico -w fix_sftp chmod +x fix_sftp ./fix_sftp
Here is the actual code for the script it self:
#!/bin/bash
file[1]="/usr/lib/libnss3.so"
file[2]="/usr/lib/libplc4.so"
file[3]="/usr/lib/libplds4.so"
file[4]="/usr/lib/libnspr4.so"
sitelist=`sitelookup -a domain`
for i in $sitelist; do
cp ${file[*]} /home/virtual/$i/usr/lib
cp ${file[*]} /home/virtual/FILESYSTEMTEMPLATE/siteinfo/usr/lib
done
Enjoy.

Catalyst on 29 Feb 2008 at 9:07 am #
/etc/virtualhosting/siteinfo.custom.sh takes care of that:
crankycronos on 29 Feb 2008 at 9:19 am #
The only issue I have with adding rpms that way is –
What happens if Ensim decides to “break” those dependancies in the future? Now you have these extra rpms at the site that might actually be doing you more mischief than helping instead of just making sure the required files are present.
In all fairness, 10.3 was not certified for CentOS5.1/RHEL5.1 so I can’t really blame them. I can blame them for not having an update ready at this point though.
Thanks for commenting. Alternatives are good.
tungsten2k on 19 May 2008 at 8:33 pm #
fyi, FTP over explicit TLS/SSL seems to be unaffected however
-=dave
Alden on 01 Feb 2009 at 1:40 pm #
I found that I still couldn’t FSTP, until I also moved libnssutil3.so into
the virtual site’s lib directory.
Has anyone else seen this?
crankycronos on 01 Feb 2009 at 8:00 pm #
Yes, that is a know issue. You have to do both. Quite the pain. I have it listed in my bug report at Parallels Forum.