Created
March 17, 2018 17:22
-
-
Save BigIron5/b54b63f328c7b1df546def8c7f2019d6 to your computer and use it in GitHub Desktop.
myphpadmin error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[17:16][root@domain.com addons]# bash -x phpmyadmin.sh install | |
+ STATICIP=n | |
+ VER=0.1.2 | |
++ date +%d%m%y-%H%M%S | |
+ DT=170318-171657 | |
+ UPDATEDIR=/root/tools | |
+ BASEDIR=/usr/local/nginx/html | |
++ echo <removed> | |
+ DIRNAME=<removed> | |
++ openssl rand 8 -base64 | |
+ SALT=<removed>= | |
+ USERPREFIX=<removed> | |
++ sed -e 's|\/||g' -e 's|\+||g' | |
++ echo <removed>= | |
+ USER=<removed>= | |
++ openssl rand 20 -base64 | |
+ PASS=<removed>= | |
++ sed -e 's|\/||g' -e 's|\+||g' | |
++ echo <removed>= | |
+ PASS=<removed>= | |
++ openssl rand 30 -base64 | |
+ BLOWFISH=<removed> | |
++ awk '{print $1}' | |
++ echo <removed> | |
+ CURRENTIP=<removed> | |
+ USERNAME=phpmyadmin | |
++ uname -n | |
+ SSLHNAME=domain.com | |
+ VERSIONMINOR=04 | |
+ VERSIONALLOW=1.2.3-eva2000.04 | |
+ export LC_ALL=en_US.UTF-8 | |
+ LC_ALL=en_US.UTF-8 | |
+ export LANG=en_US.UTF-8 | |
+ LANG=en_US.UTF-8 | |
+ export LANGUAGE=en_US.UTF-8 | |
+ LANGUAGE=en_US.UTF-8 | |
+ export LC_CTYPE=en_US.UTF-8 | |
+ LC_CTYPE=en_US.UTF-8 | |
+ shopt -s expand_aliases | |
+ for g in '""' e f | |
+ alias 'grep=LC_ALL=C grep' | |
+ for g in '""' e f | |
+ alias 'egrep=LC_ALL=C egrep' | |
+ for g in '""' e f | |
+ alias 'fgrep=LC_ALL=C fgrep' | |
++ cat /proc/meminfo | |
++ awk '{print $2}' | |
++ LC_ALL=C | |
++ grep MemTotal | |
+ TOTALMEM=4033832 | |
++ echo 'scale=0;4033832/1024' | |
++ bc | |
+ TOTALMEMMB=3939 | |
++ LC_ALL=C | |
++ grep MemFree | |
++ cat /proc/meminfo | |
+ CHECKFREEMEM='MemFree: 373368 kB' | |
+ [[ -n MemFree: 373368 kB ]] | |
++ LC_ALL=C | |
++ grep MemFree | |
++ awk '{print $2}' | |
++ cat /proc/meminfo | |
+ FREEMEM=373104 | |
++ bc | |
++ echo 'scale=0;373104/1024' | |
+ FREEMEMMB=364 | |
++ LC_ALL=C | |
++ grep Buffers | |
++ cat /proc/meminfo | |
+ CHECKBUFFER='Buffers: 386188 kB' | |
+ [[ -n Buffers: 386188 kB ]] | |
++ LC_ALL=C | |
++ grep Buffers | |
++ awk '{print $2}' | |
++ cat /proc/meminfo | |
+ BUFFERSMEM=386188 | |
++ bc | |
++ echo 'scale=0;386188/1024' | |
+ BUFFERSMB=377 | |
++ LC_ALL=C | |
++ grep '^Cached' | |
++ cat /proc/meminfo | |
+ CHECKCACHED='Cached: 1407964 kB' | |
+ [[ -n Cached: 1407964 kB ]] | |
++ LC_ALL=C | |
++ grep '^Cached' | |
++ awk '{print $2}' | |
++ cat /proc/meminfo | |
+ CACHEDMEM=1407964 | |
++ bc | |
++ echo 'scale=0;1407964/1024' | |
+ CACHEDMB=1374 | |
++ bc | |
++ echo 364+377+1374 | |
+ REALFREEMB=2115 | |
++ bc | |
++ echo 3939-2115 | |
+ REALUSEDMEM=1824 | |
++ bc | |
++ echo 2115 / 2.25 | |
+ MEMLIMIT=940 | |
+ CENTMINLOGDIR=/root/centminlogs | |
+ FPMPOOLDIR=/usr/local/nginx/conf/phpfpmd | |
++ LC_ALL=C | |
++ grep -Eo with-http_v2_module | |
++ nginx -V | |
+ [[ with-http_v2_module = \w\i\t\h\-\h\t\t\p\_\v\2\_\m\o\d\u\l\e ]] | |
+ HTTPTWO=y | |
+ LISTENOPT='ssl http2' | |
+ COMP_HEADER='#spdy_headers_comp 5' | |
+ '[' '!' -d /root/centminlogs ']' | |
+ '[' '!' -d /usr/local/nginx/conf/phpfpmd ']' | |
+ '[' '!' -f /usr/bin/pwgen ']' | |
+ black='\E[30;40m' | |
+ red='\E[31;40m' | |
+ green='\E[32;40m' | |
+ yellow='\E[33;40m' | |
+ blue='\E[34;40m' | |
+ magenta='\E[35;40m' | |
+ cyan='\E[36;40m' | |
+ white='\E[37;40m' | |
+ boldblack='\E[1;30;40m' | |
+ boldred='\E[1;31;40m' | |
+ boldgreen='\E[1;32;40m' | |
+ boldyellow='\E[1;33;40m' | |
+ boldblue='\E[1;34;40m' | |
+ boldmagenta='\E[1;35;40m' | |
+ boldcyan='\E[1;36;40m' | |
+ boldwhite='\E[1;37;40m' | |
+ Reset='tput sgr0' | |
++ cat /etc/centminmod-release | |
+ VERCHECK=123.09beta01.b016 | |
++ awk -F . '{print $4}' | |
++ cat /etc/centminmod-release | |
+ MINORVER= | |
++ expr '<' 04 | |
expr: syntax error | |
+ COMPARE= | |
+ [[ 123.09beta01.b016 != \1\.\2\.\3\-\e\v\a\2\0\0\0\.\0\4 ]] | |
+ [[ '' = \1 ]] | |
+ case "$1" in | |
+ checkphpmyadmin | |
++ LC_ALL=C | |
++ grep -w domain.com | |
++ wc -l | |
++ LC_ALL=C | |
++ grep -rw server_name /usr/local/nginx/conf/conf.d/ | |
+ [[ 9 -gt 1 ]] | |
+ cecho --------------------------------------------------------------- '\E[1;33;40m' | |
+ message=--------------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m---------------------------------------------------------------' | |
--------------------------------------------------------------- | |
+ tput sgr0 | |
+ return | |
+ cecho 'Warning: detected possible duplicate server_name entry' '\E[1;32;40m' | |
+ message='Warning: detected possible duplicate server_name entry' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40mWarning: detected possible duplicate server_name entry' | |
Warning: detected possible duplicate server_name entry | |
+ tput sgr0 | |
+ return | |
+ cecho 'main hostname vhost server_name value has to be unique' '\E[1;32;40m' | |
+ message='main hostname vhost server_name value has to be unique' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40mmain hostname vhost server_name value has to be unique' | |
main hostname vhost server_name value has to be unique | |
+ tput sgr0 | |
+ return | |
+ cecho 'and separate from any other nginx vhost site you addded' '\E[1;32;40m' | |
+ message='and separate from any other nginx vhost site you addded' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40mand separate from any other nginx vhost site you addded' | |
and separate from any other nginx vhost site you addded | |
+ tput sgr0 | |
+ return | |
+ cecho 'Check your server_name in /usr/local/nginx/conf/conf.d/virtual.conf' '\E[1;32;40m' | |
+ message='Check your server_name in /usr/local/nginx/conf/conf.d/virtual.conf' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40mCheck your server_name in /usr/local/nginx/conf/conf.d/virtual.conf' | |
Check your server_name in /usr/local/nginx/conf/conf.d/virtual.conf | |
+ tput sgr0 | |
+ return | |
+ cecho 'read Step 1 of Getting Started Guide for main hostname' '\E[1;32;40m' | |
+ message='read Step 1 of Getting Started Guide for main hostname' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40mread Step 1 of Getting Started Guide for main hostname' | |
read Step 1 of Getting Started Guide for main hostname | |
+ tput sgr0 | |
+ return | |
+ cecho 'proper setup https://centminmod.com/getstarted.html' '\E[1;32;40m' | |
+ message='proper setup https://centminmod.com/getstarted.html' | |
+ color='\E[1;32;40m' | |
+ echo -e '\E[1;32;40mproper setup https://centminmod.com/getstarted.html' | |
proper setup https://centminmod.com/getstarted.html | |
+ tput sgr0 | |
+ return | |
+ cecho --------------------------------------------------------------- '\E[1;33;40m' | |
+ message=--------------------------------------------------------------- | |
+ color='\E[1;33;40m' | |
+ echo -e '\E[1;33;40m---------------------------------------------------------------' | |
--------------------------------------------------------------- | |
+ tput sgr0 | |
+ return | |
+ exit | |
[17:16][root@domain.com addons]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment