openbridge / wordpress

Docker based Wordpress deployment using a collection of optimized containers w/ Nginx, PHP-FPM, MariaDB and Redis.
MIT License
73 stars 16 forks source link

NGINX Docker Keeps Restarting #9

Closed yigitkonur closed 4 years ago

yigitkonur commented 4 years ago

I've installed by the one-liner but here is the issue:

root@ubuntu:~# docker ps
CONTAINER ID        IMAGE                   COMMAND                  CREATED              STATUS                           PORTS                    NAMES
4b54111f86c0        openbridge/nginx        "/docker-entrypoint.…"   About a minute ago   Restarting (127) 2 seconds ago                            nginx
2dc6e325b0e3        openbridge/ob_php-fpm   "/docker-entrypoint.…"   About a minute ago   Up 59 seconds                    0.0.0.0:9000->9000/tcp   php-fpm
73f14f7a0e65        mariadb:latest          "docker-entrypoint.s…"   About a minute ago   Up About a minute                3306/tcp                 mariadb
7086ef5881b6        redis:alpine            "docker-entrypoint.s…"   About a minute ago   Up About a minute                6379/tcp                 redis

Here is the logs of the issue:

2020-06-14 09:37:53 (69.0 MB/s) - written to stdout [1675/1675]

--2020-06-14 09:37:53--  https://letsencrypt.org/certs/letsencryptauthorityx1.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1986 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.94K  --.-KB/s    in 0s      

2020-06-14 09:37:53 (57.6 MB/s) - written to stdout [1986/1986]

--2020-06-14 09:37:53--  https://www.identrust.com/certificates/trustid/root-download-x3.html
Resolving www.identrust.com (www.identrust.com)... 192.35.177.67
Connecting to www.identrust.com (www.identrust.com)|192.35.177.67|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.identrust.com/support/downloads [following]
--2020-06-14 09:37:54--  https://www.identrust.com/support/downloads
Reusing existing connection to www.identrust.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

-                       [ <=>                ]  45.21K   241KB/s    in 0.2s    

2020-06-14 09:37:55 (241 KB/s) - written to stdout [46297]

FINISHED --2020-06-14 09:37:55--
Total wall clock time: 1.9s
Downloaded: 4 files, 51K in 0.2s (270 KB/s)
CDN was not set
sending incremental file list
mime.type
nginx.conf
bots.d/
bots.d/blockbots.conf
bots.d/ddos.conf
bots.d/whitelist-domains.conf
bots.d/whitelist-ips.conf
conf.d/
conf.d/.DS_Store
conf.d/botblocker-nginx-settings.conf
conf.d/brotli.conf
conf.d/cdn.conf
conf.d/error.conf
conf.d/failed.conf
conf.d/globalblacklist.conf
conf.d/gzip.conf
conf.d/health.conf
conf.d/location.conf
conf.d/monit.conf
conf.d/pagespeed-server.conf
conf.d/pagespeed.conf
conf.d/proxy.conf
conf.d/purge.conf
conf.d/secure.conf
conf.d/seo.conf
conf.d/ssl.conf
fastcgi.d/
fastcgi.d/fastcgi.conf
geo.d/
geo.d/purge.conf
geo.d/ratelimit.conf
geo.d/whitelist.conf
header.d/
header.d/fastcgi.conf
header.d/httpd.conf
header.d/proxy.conf
map.d/access/
map.d/access/access.map
map.d/cache/
map.d/cache/expires.map
map.d/cache/phpsession.map
map.d/header/
map.d/header/canonical.map
map.d/header/port.map
map.d/header/proto.map
map.d/header/robot.map
map.d/header/scheme.map
map.d/header/upgrade.map
map.d/logs/
map.d/logs/ip.map
map.d/logs/ua.map
map.d/nocache/
map.d/nocache/cookie.map
map.d/nocache/nocache.map
map.d/purge/
map.d/purge/purge.map
map.d/redirects/
map.d/redirects/example.map
map.d/referrer/
map.d/referrer/bot.map
map.d/referrer/crawler.map
map.d/srcache/
map.d/srcache/srcache.map
redis.d/
redis.d/cache.conf
redis.d/location.conf
sites-available/
sites-available/default.vhost
status.d/
status.d/status.conf
upstream.d/
upstream.d/php-fpm.conf
upstream.d/proxy.conf
upstream.d/redis.conf

sent 50,499 bytes  received 1,165 bytes  103,328.00 bytes/sec
total size is 46,450  speedup is 0.90
sending incremental file list
check_nginx

sent 2,204 bytes  received 35 bytes  4,478.00 bytes/sec
total size is 2,113  speedup is 0.94
BOTS was not set
set daemon 10
    with START DELAY 15
set pidfile /run/monit.pid
set statefile /run/monit.state
set httpd port 2849 and
    use address localhost
    allow localhost
set logfile syslog
set eventqueue
    basedir /var/run
    slots 100
include /etc/monit.d/*
Starting Monit 5.26.0 daemon with http interface at [localhost]:2849
Error loading shared library libpcre.so.1: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: pcre_exec: symbol not found
Error relocating /usr/sbin/nginx: pcre_config: symbol not found
Error relocating /usr/sbin/nginx: pcre_fullinfo: symbol not found
Error relocating /usr/sbin/nginx: pcre_compile: symbol not found
Error relocating /usr/sbin/nginx: pcre_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free: symbol not found
Error relocating /usr/sbin/nginx: pcre_malloc: symbol not found
--2020-06-14 09:38:03--  https://letsencrypt.org/certs/isrgrootx1.pem
Resolving letsencrypt.org (letsencrypt.org)... 68.183.215.91, 2a03:b0c0:3:d0::d19:7001
Connecting to letsencrypt.org (letsencrypt.org)|68.183.215.91|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1939 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.89K  --.-KB/s    in 0s      

2020-06-14 09:38:03 (81.4 MB/s) - written to stdout [1939/1939]

--2020-06-14 09:38:03--  https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1675 (1.6K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.64K  --.-KB/s    in 0s      

2020-06-14 09:38:03 (29.4 MB/s) - written to stdout [1675/1675]

--2020-06-14 09:38:03--  https://letsencrypt.org/certs/letsencryptauthorityx1.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1986 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.94K  --.-KB/s    in 0s      

2020-06-14 09:38:03 (31.9 MB/s) - written to stdout [1986/1986]

--2020-06-14 09:38:03--  https://www.identrust.com/certificates/trustid/root-download-x3.html
Resolving www.identrust.com (www.identrust.com)... 192.35.177.67
Connecting to www.identrust.com (www.identrust.com)|192.35.177.67|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.identrust.com/support/downloads [following]
--2020-06-14 09:38:04--  https://www.identrust.com/support/downloads
Reusing existing connection to www.identrust.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

-                       [ <=>                ]  45.21K   248KB/s    in 0.2s    

2020-06-14 09:38:04 (248 KB/s) - written to stdout [46297]

FINISHED --2020-06-14 09:38:04--
Total wall clock time: 1.9s
Downloaded: 4 files, 51K in 0.2s (278 KB/s)
CDN was not set
sending incremental file list
mime.type
nginx.conf
bots.d/
bots.d/blockbots.conf
bots.d/ddos.conf
bots.d/whitelist-domains.conf
bots.d/whitelist-ips.conf
conf.d/
conf.d/.DS_Store
conf.d/botblocker-nginx-settings.conf
conf.d/brotli.conf
conf.d/cdn.conf
conf.d/error.conf
conf.d/failed.conf
conf.d/globalblacklist.conf
conf.d/gzip.conf
conf.d/health.conf
conf.d/location.conf
conf.d/monit.conf
conf.d/pagespeed-server.conf
conf.d/pagespeed.conf
conf.d/proxy.conf
conf.d/purge.conf
conf.d/secure.conf
conf.d/seo.conf
conf.d/ssl.conf
fastcgi.d/
fastcgi.d/fastcgi.conf
geo.d/
geo.d/purge.conf
geo.d/ratelimit.conf
geo.d/whitelist.conf
header.d/
header.d/fastcgi.conf
header.d/httpd.conf
header.d/proxy.conf
map.d/access/
map.d/access/access.map
map.d/cache/
map.d/cache/expires.map
map.d/cache/phpsession.map
map.d/header/
map.d/header/canonical.map
map.d/header/port.map
map.d/header/proto.map
map.d/header/robot.map
map.d/header/scheme.map
map.d/header/upgrade.map
map.d/logs/
map.d/logs/ip.map
map.d/logs/ua.map
map.d/nocache/
map.d/nocache/cookie.map
map.d/nocache/nocache.map
map.d/purge/
map.d/purge/purge.map
map.d/redirects/
map.d/redirects/example.map
map.d/referrer/
map.d/referrer/bot.map
map.d/referrer/crawler.map
map.d/srcache/
map.d/srcache/srcache.map
redis.d/
redis.d/cache.conf
redis.d/location.conf
sites-available/
sites-available/default.vhost
status.d/
status.d/status.conf
upstream.d/
upstream.d/php-fpm.conf
upstream.d/proxy.conf
upstream.d/redis.conf

sent 50,495 bytes  received 1,161 bytes  103,312.00 bytes/sec
total size is 46,450  speedup is 0.90
sending incremental file list
check_nginx

sent 2,204 bytes  received 35 bytes  4,478.00 bytes/sec
total size is 2,113  speedup is 0.94
BOTS was not set
set daemon 10
    with START DELAY 15
set pidfile /run/monit.pid
set statefile /run/monit.state
set httpd port 2849 and
    use address localhost
    allow localhost
set logfile syslog
set eventqueue
    basedir /var/run
    slots 100
include /etc/monit.d/*
Starting Monit 5.26.0 daemon with http interface at [localhost]:2849
Error loading shared library libpcre.so.1: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: pcre_exec: symbol not found
Error relocating /usr/sbin/nginx: pcre_config: symbol not found
Error relocating /usr/sbin/nginx: pcre_fullinfo: symbol not found
Error relocating /usr/sbin/nginx: pcre_compile: symbol not found
Error relocating /usr/sbin/nginx: pcre_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free: symbol not found
Error relocating /usr/sbin/nginx: pcre_malloc: symbol not found
--2020-06-14 09:38:18--  https://letsencrypt.org/certs/isrgrootx1.pem
Resolving letsencrypt.org (letsencrypt.org)... 167.99.137.12, 2a03:b0c0:3:d0::d19:7001
Connecting to letsencrypt.org (letsencrypt.org)|167.99.137.12|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1939 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.89K  --.-KB/s    in 0s      

2020-06-14 09:38:19 (34.2 MB/s) - written to stdout [1939/1939]

--2020-06-14 09:38:19--  https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1675 (1.6K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.64K  --.-KB/s    in 0s      

2020-06-14 09:38:19 (15.2 MB/s) - written to stdout [1675/1675]

--2020-06-14 09:38:19--  https://letsencrypt.org/certs/letsencryptauthorityx1.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1986 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.94K  --.-KB/s    in 0s      

2020-06-14 09:38:19 (81.3 MB/s) - written to stdout [1986/1986]

--2020-06-14 09:38:19--  https://www.identrust.com/certificates/trustid/root-download-x3.html
Resolving www.identrust.com (www.identrust.com)... 192.35.177.67
Connecting to www.identrust.com (www.identrust.com)|192.35.177.67|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.identrust.com/support/downloads [following]
--2020-06-14 09:38:20--  https://www.identrust.com/support/downloads
Reusing existing connection to www.identrust.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

-                       [ <=>                ]  45.21K   240KB/s    in 0.2s    

2020-06-14 09:38:20 (240 KB/s) - written to stdout [46297]

FINISHED --2020-06-14 09:38:20--
Total wall clock time: 2.0s
Downloaded: 4 files, 51K in 0.2s (269 KB/s)
CDN was not set
sending incremental file list
mime.type
nginx.conf
bots.d/
bots.d/blockbots.conf
bots.d/ddos.conf
bots.d/whitelist-domains.conf
bots.d/whitelist-ips.conf
conf.d/
conf.d/.DS_Store
conf.d/botblocker-nginx-settings.conf
conf.d/brotli.conf
conf.d/cdn.conf
conf.d/error.conf
conf.d/failed.conf
conf.d/globalblacklist.conf
conf.d/gzip.conf
conf.d/health.conf
conf.d/location.conf
conf.d/monit.conf
conf.d/pagespeed-server.conf
conf.d/pagespeed.conf
conf.d/proxy.conf
conf.d/purge.conf
conf.d/secure.conf
conf.d/seo.conf
conf.d/ssl.conf
fastcgi.d/
fastcgi.d/fastcgi.conf
geo.d/
geo.d/purge.conf
geo.d/ratelimit.conf
geo.d/whitelist.conf
header.d/
header.d/fastcgi.conf
header.d/httpd.conf
header.d/proxy.conf
map.d/access/
map.d/access/access.map
map.d/cache/
map.d/cache/expires.map
map.d/cache/phpsession.map
map.d/header/
map.d/header/canonical.map
map.d/header/port.map
map.d/header/proto.map
map.d/header/robot.map
map.d/header/scheme.map
map.d/header/upgrade.map
map.d/logs/
map.d/logs/ip.map
map.d/logs/ua.map
map.d/nocache/
map.d/nocache/cookie.map
map.d/nocache/nocache.map
map.d/purge/
map.d/purge/purge.map
map.d/redirects/
map.d/redirects/example.map
map.d/referrer/
map.d/referrer/bot.map
map.d/referrer/crawler.map
map.d/srcache/
map.d/srcache/srcache.map
redis.d/
redis.d/cache.conf
redis.d/location.conf
sites-available/
sites-available/default.vhost
status.d/
status.d/status.conf
upstream.d/
upstream.d/php-fpm.conf
upstream.d/proxy.conf
upstream.d/redis.conf

sent 50,499 bytes  received 1,165 bytes  103,328.00 bytes/sec
total size is 46,450  speedup is 0.90
sending incremental file list
check_nginx

sent 2,204 bytes  received 35 bytes  4,478.00 bytes/sec
total size is 2,113  speedup is 0.94
BOTS was not set
set daemon 10
    with START DELAY 15
set pidfile /run/monit.pid
set statefile /run/monit.state
set httpd port 2849 and
    use address localhost
    allow localhost
set logfile syslog
set eventqueue
    basedir /var/run
    slots 100
include /etc/monit.d/*
Starting Monit 5.26.0 daemon with http interface at [localhost]:2849
Error loading shared library libpcre.so.1: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: pcre_exec: symbol not found
Error relocating /usr/sbin/nginx: pcre_config: symbol not found
Error relocating /usr/sbin/nginx: pcre_fullinfo: symbol not found
Error relocating /usr/sbin/nginx: pcre_compile: symbol not found
Error relocating /usr/sbin/nginx: pcre_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free: symbol not found
Error relocating /usr/sbin/nginx: pcre_malloc: symbol not found
--2020-06-14 09:38:47--  https://letsencrypt.org/certs/isrgrootx1.pem
Resolving letsencrypt.org (letsencrypt.org)... 167.99.129.42, 2a03:b0c0:3:d0::d19:7001
Connecting to letsencrypt.org (letsencrypt.org)|167.99.129.42|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1939 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.89K  --.-KB/s    in 0s      

2020-06-14 09:38:48 (83.1 MB/s) - written to stdout [1939/1939]

--2020-06-14 09:38:48--  https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1675 (1.6K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.64K  --.-KB/s    in 0s      

2020-06-14 09:38:48 (77.0 MB/s) - written to stdout [1675/1675]

--2020-06-14 09:38:48--  https://letsencrypt.org/certs/letsencryptauthorityx1.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1986 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.94K  --.-KB/s    in 0s      

2020-06-14 09:38:48 (96.0 MB/s) - written to stdout [1986/1986]

--2020-06-14 09:38:48--  https://www.identrust.com/certificates/trustid/root-download-x3.html
Resolving www.identrust.com (www.identrust.com)... 192.35.177.67
Connecting to www.identrust.com (www.identrust.com)|192.35.177.67|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.identrust.com/support/downloads [following]
--2020-06-14 09:38:49--  https://www.identrust.com/support/downloads
Reusing existing connection to www.identrust.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

-                       [ <=>                ]  45.21K   244KB/s    in 0.2s    

2020-06-14 09:38:49 (244 KB/s) - written to stdout [46297]

FINISHED --2020-06-14 09:38:49--
Total wall clock time: 1.9s
Downloaded: 4 files, 51K in 0.2s (273 KB/s)
CDN was not set
sending incremental file list
mime.type
nginx.conf
bots.d/
bots.d/blockbots.conf
bots.d/ddos.conf
bots.d/whitelist-domains.conf
bots.d/whitelist-ips.conf
conf.d/
conf.d/.DS_Store
conf.d/botblocker-nginx-settings.conf
conf.d/brotli.conf
conf.d/cdn.conf
conf.d/error.conf
conf.d/failed.conf
conf.d/globalblacklist.conf
conf.d/gzip.conf
conf.d/health.conf
conf.d/location.conf
conf.d/monit.conf
conf.d/pagespeed-server.conf
conf.d/pagespeed.conf
conf.d/proxy.conf
conf.d/purge.conf
conf.d/secure.conf
conf.d/seo.conf
conf.d/ssl.conf
fastcgi.d/
fastcgi.d/fastcgi.conf
geo.d/
geo.d/purge.conf
geo.d/ratelimit.conf
geo.d/whitelist.conf
header.d/
header.d/fastcgi.conf
header.d/httpd.conf
header.d/proxy.conf
map.d/access/
map.d/access/access.map
map.d/cache/
map.d/cache/expires.map
map.d/cache/phpsession.map
map.d/header/
map.d/header/canonical.map
map.d/header/port.map
map.d/header/proto.map
map.d/header/robot.map
map.d/header/scheme.map
map.d/header/upgrade.map
map.d/logs/
map.d/logs/ip.map
map.d/logs/ua.map
map.d/nocache/
map.d/nocache/cookie.map
map.d/nocache/nocache.map
map.d/purge/
map.d/purge/purge.map
map.d/redirects/
map.d/redirects/example.map
map.d/referrer/
map.d/referrer/bot.map
map.d/referrer/crawler.map
map.d/srcache/
map.d/srcache/srcache.map
redis.d/
redis.d/cache.conf
redis.d/location.conf
sites-available/
sites-available/default.vhost
status.d/
status.d/status.conf
upstream.d/
upstream.d/php-fpm.conf
upstream.d/proxy.conf
upstream.d/redis.conf

sent 50,499 bytes  received 1,165 bytes  103,328.00 bytes/sec
total size is 46,450  speedup is 0.90
sending incremental file list
check_nginx

sent 2,204 bytes  received 35 bytes  4,478.00 bytes/sec
total size is 2,113  speedup is 0.94
BOTS was not set
set daemon 10
    with START DELAY 15
set pidfile /run/monit.pid
set statefile /run/monit.state
set httpd port 2849 and
    use address localhost
    allow localhost
set logfile syslog
set eventqueue
    basedir /var/run
    slots 100
include /etc/monit.d/*
Starting Monit 5.26.0 daemon with http interface at [localhost]:2849
Error loading shared library libpcre.so.1: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: pcre_exec: symbol not found
Error relocating /usr/sbin/nginx: pcre_config: symbol not found
Error relocating /usr/sbin/nginx: pcre_fullinfo: symbol not found
Error relocating /usr/sbin/nginx: pcre_compile: symbol not found
Error relocating /usr/sbin/nginx: pcre_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free: symbol not found
Error relocating /usr/sbin/nginx: pcre_malloc: symbol not found
--2020-06-14 09:39:42--  https://letsencrypt.org/certs/isrgrootx1.pem
Resolving letsencrypt.org (letsencrypt.org)... 134.209.226.211, 2a03:b0c0:3:e0::26f:c001
Connecting to letsencrypt.org (letsencrypt.org)|134.209.226.211|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1939 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.89K  --.-KB/s    in 0s      

2020-06-14 09:39:42 (14.3 MB/s) - written to stdout [1939/1939]

--2020-06-14 09:39:42--  https://letsencrypt.org/certs/lets-encrypt-x1-cross-signed.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1675 (1.6K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.64K  --.-KB/s    in 0s      

2020-06-14 09:39:42 (43.8 MB/s) - written to stdout [1675/1675]

--2020-06-14 09:39:42--  https://letsencrypt.org/certs/letsencryptauthorityx1.pem
Reusing existing connection to letsencrypt.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 1986 (1.9K) [application/x-x509-ca-cert]
Saving to: 'STDOUT'

-                   100%[===================>]   1.94K  --.-KB/s    in 0s      

2020-06-14 09:39:42 (78.8 MB/s) - written to stdout [1986/1986]

--2020-06-14 09:39:42--  https://www.identrust.com/certificates/trustid/root-download-x3.html
Resolving www.identrust.com (www.identrust.com)... 192.35.177.67
Connecting to www.identrust.com (www.identrust.com)|192.35.177.67|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.identrust.com/support/downloads [following]
--2020-06-14 09:39:43--  https://www.identrust.com/support/downloads
Reusing existing connection to www.identrust.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'STDOUT'

-                       [ <=>                ]  45.21K   257KB/s    in 0.2s    

2020-06-14 09:39:44 (257 KB/s) - written to stdout [46297]

FINISHED --2020-06-14 09:39:44--
Total wall clock time: 1.9s
Downloaded: 4 files, 51K in 0.2s (288 KB/s)
CDN was not set
sending incremental file list
mime.type
nginx.conf
bots.d/
bots.d/blockbots.conf
bots.d/ddos.conf
bots.d/whitelist-domains.conf
bots.d/whitelist-ips.conf
conf.d/
conf.d/.DS_Store
conf.d/botblocker-nginx-settings.conf
conf.d/brotli.conf
conf.d/cdn.conf
conf.d/error.conf
conf.d/failed.conf
conf.d/globalblacklist.conf
conf.d/gzip.conf
conf.d/health.conf
conf.d/location.conf
conf.d/monit.conf
conf.d/pagespeed-server.conf
conf.d/pagespeed.conf
conf.d/proxy.conf
conf.d/purge.conf
conf.d/secure.conf
conf.d/seo.conf
conf.d/ssl.conf
fastcgi.d/
fastcgi.d/fastcgi.conf
geo.d/
geo.d/purge.conf
geo.d/ratelimit.conf
geo.d/whitelist.conf
header.d/
header.d/fastcgi.conf
header.d/httpd.conf
header.d/proxy.conf
map.d/access/
map.d/access/access.map
map.d/cache/
map.d/cache/expires.map
map.d/cache/phpsession.map
map.d/header/
map.d/header/canonical.map
map.d/header/port.map
map.d/header/proto.map
map.d/header/robot.map
map.d/header/scheme.map
map.d/header/upgrade.map
map.d/logs/
map.d/logs/ip.map
map.d/logs/ua.map
map.d/nocache/
map.d/nocache/cookie.map
map.d/nocache/nocache.map
map.d/purge/
map.d/purge/purge.map
map.d/redirects/
map.d/redirects/example.map
map.d/referrer/
map.d/referrer/bot.map
map.d/referrer/crawler.map
map.d/srcache/
map.d/srcache/srcache.map
redis.d/
redis.d/cache.conf
redis.d/location.conf
sites-available/
sites-available/default.vhost
status.d/
status.d/status.conf
upstream.d/
upstream.d/php-fpm.conf
upstream.d/proxy.conf
upstream.d/redis.conf

sent 50,499 bytes  received 1,165 bytes  103,328.00 bytes/sec
total size is 46,450  speedup is 0.90
sending incremental file list
check_nginx

sent 2,204 bytes  received 35 bytes  4,478.00 bytes/sec
total size is 2,113  speedup is 0.94
BOTS was not set
set daemon 10
    with START DELAY 15
set pidfile /run/monit.pid
set statefile /run/monit.state
set httpd port 2849 and
    use address localhost
    allow localhost
set logfile syslog
set eventqueue
    basedir /var/run
    slots 100
include /etc/monit.d/*
Starting Monit 5.26.0 daemon with http interface at [localhost]:2849
Error loading shared library libpcre.so.1: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: pcre_exec: symbol not found
Error relocating /usr/sbin/nginx: pcre_config: symbol not found
Error relocating /usr/sbin/nginx: pcre_fullinfo: symbol not found
Error relocating /usr/sbin/nginx: pcre_compile: symbol not found
Error relocating /usr/sbin/nginx: pcre_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free: symbol not found
Error relocating /usr/sbin/nginx: pcre_malloc: symbol not found

OS: Ubuntu 18.04

tspicer commented 4 years ago

@yigitkonur, can you try pulling the openbridge/nginx image and running again?

yigitkonur commented 4 years ago

It is running without any issue when I install openbridge NGINX first, but you may want to take a look into default oneliner installation as the issue still continues.

tspicer commented 4 years ago

@yigitkonur , to be clear, you are still seeing the PCRE error after pulling the latest NGINX image via docker pull?

Error loading shared library libpcre.so.1: No such file or directory (needed by /usr/sbin/nginx)
Error relocating /usr/sbin/nginx: pcre_exec: symbol not found
Error relocating /usr/sbin/nginx: pcre_config: symbol not found
Error relocating /usr/sbin/nginx: pcre_fullinfo: symbol not found
Error relocating /usr/sbin/nginx: pcre_compile: symbol not found
Error relocating /usr/sbin/nginx: pcre_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free_study: symbol not found
Error relocating /usr/sbin/nginx: pcre_free: symbol not found
Error relocating /usr/sbin/nginx: pcre_malloc: symbol not found

I'm not sure how running the container first solves this issue unless the issue you experienced is not related to the error you reported. The order of the containers would not solve the PCRE issue. The PCRE issue was due to an upstream issue in the NGINX image which was patched.