Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + basedir=
- + datadir=
- + service_startup_timeout=900
- + lockdir=/var/lock/subsys
- + lock_file_path=/var/lock/subsys/mysql
- + mysqld_pid_file_path=
- + test -z ''
- + basedir=/opt/mysql/server-5.6
- + bindir=/opt/mysql/server-5.6/bin
- + test -z ''
- + datadir=/opt/mysql/server-5.6/data
- + sbindir=/opt/mysql/server-5.6/bin
- + libexecdir=/opt/mysql/server-5.6/bin
- + datadir_set=
- + lsb_functions=/lib/lsb/init-functions
- + test -f /lib/lsb/init-functions
- + . /lib/lsb/init-functions
- +++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
- ++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
- ++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
- ++ . /lib/lsb/init-functions.d/20-left-info-blocks
- ++ FANCYTTY=
- ++ '[' -e /etc/lsb-base-logging.sh ']'
- ++ true
- + PATH=/sbin:/usr/sbin:/bin:/usr/bin:/opt/mysql/server-5.6/bin
- + export PATH
- + mode=start
- + '[' 1 -ge 1 ']'
- + shift
- + other_args=
- + case `echo "testing\c"`,`echo -n testing` in
- ++ echo 'testing\c'
- ++ echo -n testing
- + echo_n=-n
- + echo_c=
- + test -x ./bin/my_print_defaults
- + test -x /opt/mysql/server-5.6/bin/my_print_defaults
- + print_defaults=/opt/mysql/server-5.6/bin/my_print_defaults
- + extra_args=
- + test -r /opt/mysql/server-5.6/my.cnf
- + extra_args='-e /opt/mysql/server-5.6/my.cnf'
- ++ /opt/mysql/server-5.6/bin/my_print_defaults -e /opt/mysql/server-5.6/my.cnf mysqld server mysql_server mysql.server
- + parse_server_arguments --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306 --basedir=/opt/mysql/server-5.6 --datadir=/var/lib/mysql --tmpdir=/tmp --lc-messages-dir=/opt/mysql/server-5.6/share --skip-external-locking --log_error=/var/log/mysql/mysql_error.log --key_buffer=16M --max_allowed_packet=16M --thread_stack=192K --thread_cache_size=8 --myisam-recover=BACKUP --query_cache_limit=1M --query_cache_size=16M --expire_logs_days=10 --max_binlog_size=100M --sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- ++ echo --pid-file=/var/run/mysqld/mysqld.pid
- ++ sed -e 's/^[^=]*=//'
- + mysqld_pid_file_path=/var/run/mysqld/mysqld.pid
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- ++ echo --basedir=/opt/mysql/server-5.6
- ++ sed -e 's/^[^=]*=//'
- + basedir=/opt/mysql/server-5.6
- + bindir=/opt/mysql/server-5.6/bin
- + test -z ''
- + datadir=/opt/mysql/server-5.6/data
- + sbindir=/opt/mysql/server-5.6/sbin
- + libexecdir=/opt/mysql/server-5.6/libexec
- + for arg in '"$@"'
- + case "$arg" in
- ++ echo --datadir=/var/lib/mysql
- ++ sed -e 's/^[^=]*=//'
- + datadir=/var/lib/mysql
- + datadir_set=1
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + for arg in '"$@"'
- + case "$arg" in
- + test -z /var/run/mysqld/mysqld.pid
- + case "$mysqld_pid_file_path" in
- + case "$mode" in
- + cd /opt/mysql/server-5.6
- + echo -n 'Starting MySQL'
- Starting MySQL+ test -x /opt/mysql/server-5.6/bin/mysqld_safe
- + wait_for_pid created 5328 /var/run/mysqld/mysqld.pid
- + verb=created
- + pid=5328
- + pid_file_path=/var/run/mysqld/mysqld.pid
- + i=0
- + avoid_race_condition='by checking again'
- + /opt/mysql/server-5.6/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid
- + test 0 -ne 900
- + case "$verb" in
- + test -s /var/run/mysqld/mysqld.pid
- + test -n 5328
- + kill -0 5328
- + :
- + echo -n .
- .++ expr 0 + 1
- + i=1
- + sleep 1
- + test 1 -ne 900
- + case "$verb" in
- + test -s /var/run/mysqld/mysqld.pid
- + test -n 5328
- + kill -0 5328
- + test -n 'by checking again'
- + avoid_race_condition=
- + continue
- + test 1 -ne 900
- + case "$verb" in
- + test -s /var/run/mysqld/mysqld.pid
- + test -n 5328
- + kill -0 5328
- + test -n ''
- + log_failure_msg 'The server quit without updating PID file (/var/run/mysqld/mysqld.pid).'
- + '[' -n 'The server quit without updating PID file (/var/run/mysqld/mysqld.pid).' ']'
- + log_begin_msg The server quit without updating PID file '(/var/run/mysqld/mysqld.pid).' ...
- + log_begin_msg_pre The server quit without updating PID file '(/var/run/mysqld/mysqld.pid).' ...
- + log_daemon_msg_pre The server quit without updating PID file '(/var/run/mysqld/mysqld.pid).' ...
- + log_use_fancy_output
- + TPUT=/usr/bin/tput
- + EXPR=/usr/bin/expr
- + '[' -t 1 ']'
- + '[' xxterm '!=' x ']'
- + '[' xxterm '!=' xdumb ']'
- + '[' -x /usr/bin/tput ']'
- + '[' -x /usr/bin/expr ']'
- + /usr/bin/tput hpa 60
- + /usr/bin/tput setaf 1
- + '[' -z ']'
- + FANCYTTY=1
- + case "$FANCYTTY" in
- + true
- + /bin/echo -n '[....] '
- [....] + '[' -z The ']'
- + /bin/echo -n The server quit without updating PID file '(/var/run/mysqld/mysqld.pid).' ...
- The server quit without updating PID file (/var/run/mysqld/mysqld.pid). ...+ log_begin_msg_post The server quit without updating PID file '(/var/run/mysqld/mysqld.pid).' ...
- + :
- + log_end_msg 1
- + '[' -z 1 ']'
- + local retval
- + retval=1
- + log_end_msg_pre 1
- + log_use_fancy_output
- + TPUT=/usr/bin/tput
- + EXPR=/usr/bin/expr
- + '[' -t 1 ']'
- + '[' xxterm '!=' x ']'
- + '[' xxterm '!=' xdumb ']'
- + '[' -x /usr/bin/tput ']'
- + '[' -x /usr/bin/expr ']'
- + /usr/bin/tput hpa 60
- + /usr/bin/tput setaf 1
- + '[' -z 1 ']'
- + true
- + case "$FANCYTTY" in
- + true
- ++ /usr/bin/tput setaf 1
- + RED=''
- ++ /usr/bin/tput setaf 2
- + GREEN=''
- ++ /usr/bin/tput setaf 3
- + YELLOW=''
- ++ /usr/bin/tput op
- + NORMAL=''
- + /usr/bin/tput civis
- + /usr/bin/tput sc
- + /usr/bin/tput hpa 0
- + '[' 1 -eq 0 ']'
- + '[' 1 -eq 255 ']'
- + /bin/echo -ne '[FAIL'
- [FAIL+ /usr/bin/tput rc
- + /usr/bin/tput cnorm
- + log_use_fancy_output
- + TPUT=/usr/bin/tput
- + EXPR=/usr/bin/expr
- + '[' -t 1 ']'
- + '[' xxterm '!=' x ']'
- + '[' xxterm '!=' xdumb ']'
- + '[' -x /usr/bin/tput ']'
- + '[' -x /usr/bin/expr ']'
- + /usr/bin/tput hpa 60
- + /usr/bin/tput setaf 1
- + '[' -z 1 ']'
- + true
- + case "$FANCYTTY" in
- + true
- ++ /usr/bin/tput setaf 1
- + RED=''
- ++ /usr/bin/tput setaf 3
- + YELLOW=''
- ++ /usr/bin/tput op
- + NORMAL=''
- + '[' 1 -eq 0 ']'
- + '[' 1 -eq 255 ']'
- + /bin/echo -e ' failed!'
- failed!
- + log_end_msg_post 1
- + :
- + return 1
- + true
- + return 1
- + return_value=1
- + test -w /var/lock/subsys
- + exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement