boa icon indicating copy to clipboard operation
boa copied to clipboard

repeated ssh forced disconnects on fresh head install on buster - after initial restart before barracuda up-head system

Open EdNett opened this issue 2 years ago • 1 comments

There are repeated ssh forced disconnects on fresh head install on buster - after initial restart before barracuda up-head system

When I try to run barracuda up-head system, nothing is printed to the terminal screen and after a few minutes, there is an auto disconnect from ssh. When I re-ligin, I see various processes (using the ps -a command) like cc, cc1, make, sed, barracuda, etc. but if I wait for them to go away, system D is still installed and not removed. At this point in time after having tried to run the barracuda up-head system 3 times in a screen session (when reconnecting there is never a screen to restore - even though the command screen -r reports one or two screen sessions) and 3 times without a screen session.

The only other error encountered on the initial in-head were (not making issues out of these unless you want me to, they may not be serious):

  1. this php warning: BOA [08:44:39] ==> INIT B: Enhancing Aegir UI, please wait... PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /opt/php74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so (/opt/php74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so: cannot open shared object file: No such file or directory), /opt/php74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so (/opt/php74/lib/php/extensions/no-debug-non-zts-20190902/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 BOA [08:45:29] ==> INIT A: Aegir Satellite Instance installed

  2. this command not found - which appears significant to me: BOA [08:45:48] ==> INIT A: Cleaning up various dot files, please wait... BOA [08:45:48] ==> INIT A: Adding ftps/lshell user /opt/tmp/boa/lib/functions/satellite.sh.inc: line 2974: mkpasswd: command not found BOA [08:45:48] ==> INIT A: Adding symlink to the sites backups

I believe this is solved in https://github.com/omega8cc/boa/issues/1673

and

  1. the fact that to install php7.3 took at least twice as long - over an hour - than to install php7.4, and

  2. this openssl command:

openssl dhparams -out /etc/ssl/private/4096/4096.dhp 4096 -

caused load of 6 on a 2-cpu system - took over 20 min to do, showed a load of 99% (of 1 cpu I imagine) on top / htop.

Perhaps this server on which nothing was happening didn't have enough entropy at that point ?

If you want me to make a new issue for the mkpasswd command not found error, let me know and I will.

Boa info more: https://gist.github.com/EdNett/cc50ed88b6b4a5e9f0b6d55ab1b92627 (still unchanged)

Best,

Ed

EdNett avatar Aug 06 '22 10:08 EdNett

I tried a few times to run up-head system and there were serious errors like

  1. undefined function cache_get error and redis connect error seen here: https://gist.github.com/EdNett/7bdaf2a8cade92c81dc327113ae622fc

note the amount of time that passes trying to install Redis update !!! 👍 BOA [19:27:55] ==> INFO: Installed Redis version 6.2.7, upgrade required BOA [19:27:55] ==> INFO: Installing Redis update for Debian/buster... BOA [20:35:59] ==> INFO: Generating random password for local Redis server BOA [20:36:04] ==> PROC: check_update_php_config BOA [20:36:04] ==> PROC: update_php_conf

BOA [20:36:06] ==> INFO: Running Aegir Master Instance upgrade

  1. unable to connect to redis during the bootstrap causing bootstrap to fail (a mkpasswd missing problem?) seen here: https://gist.github.com/EdNett/94e7ba4cdd2cfc0040be453eb6fcb948

and

  1. RedisException: Connection refused in /data/conf/global.inc:732 [31;40m[1m[error] seen here: https://gist.github.com/EdNett/30fda5666fa4780e757d23a07d7d096d

and

  1. ruby installation failed: BOA [20:52:51] ==> WARN: Ruby 3.0.2 install failed! https://gist.github.com/EdNett/6ba37a5b05951def642d24bc256e1ed8

and

  1. BOA [20:53:27] ==> INFO: Percona Uptime: 2 hours 14 min 4 sec BOA [20:53:28] ==> INFO: New entry added to /var/log/barracuda_log.txt BOA [20:53:37] ==> INFO: Installed Composer version 2.0.14, no action needed chown: cannot access '/usr/bin/redis-server': No such file or directory chmod: cannot access '/usr/bin/redis-server': No such file or directory BOA [20:53:54] ==> CARD: Now charging your credit card for this magic show... BOA [20:53:57] ==> CARD: It will take a moment to process your payment... BOA [20:54:03] ==> JOKE: Just kidding !!! Enjoy your Aegir Hosting System :)

I also noticed that csf wasn't running - it wasn't enabled after the initial install and a printout on the screen told me to ru csf -e to enable it! Which I did.

Hope this helps.

Ed

EdNett avatar Aug 07 '22 04:08 EdNett

closing because outdated

EdNett avatar Apr 24 '23 05:04 EdNett