Sites can no longer SFTP into their domains after a clean install

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.

5 Comments »

5 Responses to “Sites can no longer SFTP into their domains after a clean install”

  1. Catalyst on 29 Feb 2008 at 9:07 am #

    /etc/virtualhosting/siteinfo.custom.sh takes care of that:

    #!/bin/bash
    read
    while [ $? == 0 ]; do
    echo $REPLY
    read
    done
    echo “S,rpm:bind-libs”
    echo “S,rpm:audit-libs”
    echo “S,rpm:libidn”
    echo “S,rpm:libtool”
    echo “S,rpm:keyutils-libs”
    echo “S,rpm:nss”
    echo “S,rpm:nspr”

  2. 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.

  3. tungsten2k on 19 May 2008 at 8:33 pm #

    fyi, FTP over explicit TLS/SSL seems to be unaffected however

    -=dave

  4. 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?

  5. 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.

Trackback URI | Comments RSS

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word