Hi all,
After doing a full custombuild update today (got a notification before that I hadn't done one for 32 days) all of my sites were down. Sites are up again now, but I'm not sure if I took the right steps and could also use some help with final clean-up.
Server is running CentOS and nginx_apache. Nginx was choking after the update, with the following log error:
[emerg] 9082#0: the "http2" parameter requires ngx_http_v2_module in /etc/nginx/nginx-vhosts.conf:41
After some research it appeared I needed to upgrade from openssl 1.0.1 to openssl 1.0.2, which I did by running the following commands:
cd /usr/src
wget http://www.openssl.org/source/openssl-1.0.2o.tar.gz
tar -xvzf openssl-1.0.2o.tar.gz
cd openssl-1.0.2o
./config --prefix=/usr no-threads shared
make
make test
make install
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build apache
./build php d
./build exim
./build dovecot
./build nginx
Sites still down, so I ran this as well:
cd /usr/local/directadmin/custombuild
./build update
./build update_da
./build set webserver nginx_apache
./build nginx_apache
./build rewrite_confs
cd /usr/local/directadmin/custombuild
mkdir -p custom/nginx_reverse
cp -p configure/nginx_reverse/configure.nginx custom/nginx_reverse/configure.nginx
perl -pi -e 's#"--group=nginx" \\#"--group=nginx" \\\n\t"--with-http_geoip_module" \\\n\t"--with-http_v2_module" \\#' custom/nginx_reverse/configure.nginx
./build nginx
(The geoip-module being part of my original configuration).
Now the sites are up and running again - but I'm a bit confused. Why would a simple Custombuild update break my server functionality - I always thought that's a relatively "safe" routine? Seems like nobody else had the issue - which usually points to an error on my end. Did I take the right steps to update openssl and get this fixed, or would there have been a better way?
Any input appreciated!
(PS: And a simple, slightly embarassing question: Apart from regular Custombuild updates, should I be running "yum update" once in a while?)
After doing a full custombuild update today (got a notification before that I hadn't done one for 32 days) all of my sites were down. Sites are up again now, but I'm not sure if I took the right steps and could also use some help with final clean-up.
Server is running CentOS and nginx_apache. Nginx was choking after the update, with the following log error:
[emerg] 9082#0: the "http2" parameter requires ngx_http_v2_module in /etc/nginx/nginx-vhosts.conf:41
After some research it appeared I needed to upgrade from openssl 1.0.1 to openssl 1.0.2, which I did by running the following commands:
cd /usr/src
wget http://www.openssl.org/source/openssl-1.0.2o.tar.gz
tar -xvzf openssl-1.0.2o.tar.gz
cd openssl-1.0.2o
./config --prefix=/usr no-threads shared
make
make test
make install
cd /usr/local/directadmin/custombuild
./build clean
./build update
./build apache
./build php d
./build exim
./build dovecot
./build nginx
Sites still down, so I ran this as well:
cd /usr/local/directadmin/custombuild
./build update
./build update_da
./build set webserver nginx_apache
./build nginx_apache
./build rewrite_confs
cd /usr/local/directadmin/custombuild
mkdir -p custom/nginx_reverse
cp -p configure/nginx_reverse/configure.nginx custom/nginx_reverse/configure.nginx
perl -pi -e 's#"--group=nginx" \\#"--group=nginx" \\\n\t"--with-http_geoip_module" \\\n\t"--with-http_v2_module" \\#' custom/nginx_reverse/configure.nginx
./build nginx
(The geoip-module being part of my original configuration).
Now the sites are up and running again - but I'm a bit confused. Why would a simple Custombuild update break my server functionality - I always thought that's a relatively "safe" routine? Seems like nobody else had the issue - which usually points to an error on my end. Did I take the right steps to update openssl and get this fixed, or would there have been a better way?
Any input appreciated!
(PS: And a simple, slightly embarassing question: Apart from regular Custombuild updates, should I be running "yum update" once in a while?)
Last edited: