defected07 Posted May 1, 2011 Share Posted May 1, 2011 I have OpenSSH set to auto_install, but every time I boot my server (since upgrading to 5.0b6a), it does not start up. I checked the System Log through WebGUI, and do not see anything related to SSH. Anywhere else to check, or any suggestions? Thanks Quote Link to comment
defected07 Posted May 1, 2011 Author Share Posted May 1, 2011 Seems when I explicitly put 'sh /boot/packages/openssh....auto_install' in my go script, it starts up. I wonder why the 'auto_install' find and execute command isn't picking it up? Strange.. Quote Link to comment
defected07 Posted May 1, 2011 Author Share Posted May 1, 2011 It appears when running the "auto_install" command in the go script, it sorts the libraries, and installs in that order. OpenSSH depends on OpenSSL to be installed, but the OpenSSH library proceeds OpenSSL alphabetically. I modified the first if condition to be: if [ ! -f /usr/lib/libssl.so.0 ] then #install openssl dependency installpkg openssl-solibs-0.9.8i-i486-1.tgz #exit fi Must comment out/remove 'exit', or else it'll exit the script before installing OpenSSH! Quote Link to comment
smoldersonline Posted May 15, 2011 Share Posted May 15, 2011 Thanks for sharing this. I'm having the same issue. Not sure whether I understand your guidance on fixing this. I have included the following in my go script, but still no luck. # Start openssh if [ ! -f /usr/lib/libssl.so.0 ] then # Install openssl dependency installpkg openssl-solibs-0.9.8i-i486-1.tgz fi sh /boot/packages/openssh-5.1p1-i486-1.tgz.auto_install I'm probably missing something obvious here, all pointers on how to get openssh working on a reboot are greatly appreciated! Quote Link to comment
defected07 Posted May 15, 2011 Author Share Posted May 15, 2011 Hmm, that looks ok. I modified the openssh auto_install script, but I don't think it should matter. Is that before or after the 'go' script runs the "auto_install" line? Try modifying your openssh auto_install script like I did, and just let the go script run that one line installing all 'auto_install' packages. Quote Link to comment
smoldersonline Posted May 15, 2011 Share Posted May 15, 2011 Thank you, thank you! Changing the auto_install script did the trick. Quote Link to comment
anindianforor Posted June 22, 2014 Share Posted June 22, 2014 I had this exact same issue and got lucky to find this thread which helped solve my problem! Thanks you guys! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.