SHARE
TWEET

hdp

a guest Mar 7th, 2018 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@sandbox-hdp /]# sh -x /etc/init.d/mysqld start
  2. + . /etc/rc.d/init.d/functions
  3. ++ TEXTDOMAIN=initscripts
  4. ++ umask 022
  5. ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin
  6. ++ export PATH
  7. ++ '[' -z '' ']'
  8. ++ COLUMNS=80
  9. ++ '[' -z '' ']'
  10. +++ /sbin/consoletype
  11. ++ CONSOLETYPE=pty
  12. ++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']'
  13. ++ . /etc/profile.d/lang.sh
  14. ++ unset LANGSH_SOURCED
  15. ++ '[' -z '' ']'
  16. ++ '[' -f /etc/sysconfig/init ']'
  17. ++ . /etc/sysconfig/init
  18. +++ BOOTUP=color
  19. +++ RES_COL=60
  20. +++ MOVE_TO_COL='echo -en \033[60G'
  21. +++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
  22. +++ SETCOLOR_FAILURE='echo -en \033[0;31m'
  23. +++ SETCOLOR_WARNING='echo -en \033[0;33m'
  24. +++ SETCOLOR_NORMAL='echo -en \033[0;39m'
  25. +++ PROMPT=yes
  26. +++ AUTOSWAP=no
  27. +++ ACTIVE_CONSOLES='/dev/tty[1-6]'
  28. +++ SINGLE=/sbin/sushell
  29. ++ '[' pty = serial ']'
  30. ++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d'
  31. +++ cat /proc/cmdline
  32. ++ strstr 'BOOT_IMAGE=/boot/vmlinuz-4.4.0-116-generic root=UUID=e8fa315e-ee25-4eec-8bf0-e7e5c029bdd1 ro' rc.debug
  33. ++ '[' 'BOOT_IMAGE=/boot/vmlinuz-4.4.0-116-generic root=UUID=e8fa315e-ee25-4eec-8bf0-e7e5c029bdd1 ro' = 'BOOT_IMAGE=/boot/vmlinuz-4.4.0-116-generic root=UUID=e8fa315e-ee25-4eec-8bf0-e7e5c029bdd1 ro' ']'
  34. ++ return 1
  35. + . /etc/sysconfig/network
  36. ++ NETWORKING=yes
  37. + exec=/usr/bin/mysqld_safe
  38. + prog=mysqld
  39. + STARTTIMEOUT=120
  40. + STOPTIMEOUT=60
  41. + MYSQLD_OPTS=
  42. + '[' -e /etc/sysconfig/mysqld ']'
  43. + lockfile=/var/lock/subsys/mysqld
  44. + get_mysql_option datadir /var/lib/mysql mysqld
  45. + option=datadir
  46. + default=/var/lib/mysql
  47. + shift 2
  48. ++ /usr/bin/my_print_defaults mysqld
  49. ++ sed -n 's/^--datadir=//p'
  50. ++ tail -n 1
  51. + result=/var/lib/mysql
  52. + '[' -z /var/lib/mysql ']'
  53. + datadir=/var/lib/mysql
  54. + get_mysql_option socket /var/lib/mysql/mysql.sock mysqld
  55. + option=socket
  56. + default=/var/lib/mysql/mysql.sock
  57. + shift 2
  58. ++ /usr/bin/my_print_defaults mysqld
  59. ++ sed -n 's/^--socket=//p'
  60. ++ tail -n 1
  61. + result=/var/lib/mysql/mysql.sock
  62. + '[' -z /var/lib/mysql/mysql.sock ']'
  63. + socketfile=/var/lib/mysql/mysql.sock
  64. + get_mysql_option log-error /var/log/mysqld.log mysqld mysqld_safe
  65. + option=log-error
  66. + default=/var/log/mysqld.log
  67. + shift 2
  68. ++ /usr/bin/my_print_defaults mysqld mysqld_safe
  69. ++ sed -n 's/^--log-error=//p'
  70. ++ tail -n 1
  71. + result=/var/log/mysqld.log
  72. + '[' -z /var/log/mysqld.log ']'
  73. + errlogfile=/var/log/mysqld.log
  74. + get_mysql_option pid-file /var/run/mysqld/mysqld.pid mysqld mysqld_safe
  75. + option=pid-file
  76. + default=/var/run/mysqld/mysqld.pid
  77. + shift 2
  78. ++ /usr/bin/my_print_defaults mysqld mysqld_safe
  79. ++ sed -n 's/^--pid-file=//p'
  80. ++ tail -n 1
  81. + result=/var/run/mysqld/mysqld.pid
  82. + '[' -z /var/run/mysqld/mysqld.pid ']'
  83. + mypidfile=/var/run/mysqld/mysqld.pid
  84. + case $socketfile in
  85. + adminsocket=/var/lib/mysql/mysql.sock
  86. + case "$1" in
  87. + start
  88. + '[' -x /usr/bin/mysqld_safe ']'
  89. ++ /usr/bin/mysqladmin --no-defaults --socket=/var/lib/mysql/mysql.sock --user=UNKNOWN_MYSQL_USER ping
  90. + RESPONSE='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
  91. error: '\''Can'\''t connect to local MySQL server through socket '\''/var/lib/mysql/mysql.sock'\'' (2)'\''
  92. Check that mysqld is running and that the socket: '\''/var/lib/mysql/mysql.sock'\'' exists!'
  93. + '[' 1 = 0 ']'
  94. + echo '/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
  95. error: '\''Can'\''t connect to local MySQL server through socket '\''/var/lib/mysql/mysql.sock'\'' (2)'\''
  96. Check that mysqld is running and that the socket: '\''/var/lib/mysql/mysql.sock'\'' exists!'
  97. + grep -q 'Access denied for user'
  98. ++ dirname /var/log/mysqld.log
  99. + '[' '!' -e /var/log/mysqld.log -a '!' -h /var/log/mysqld.log -a x/var/log = x/var/log ']'
  100. + '[' -x /sbin/restorecon ']'
  101. + /sbin/restorecon /var/log/mysqld.log
  102. + '[' '!' -d /var/lib/mysql/mysql ']'
  103. ++ dirname /var/lib/mysql
  104. + '[' '!' -h /var/lib/mysql -a x/var/lib = x/var/lib ']'
  105. + chown mysql:mysql /var/lib/mysql
  106. + chmod 0755 /var/lib/mysql
  107. + safe_pid=26784
  108. + ret=0
  109. + TIMEOUT=120
  110. + '[' 120 -gt 0 ']'
  111. + /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql
  112. ++ /usr/bin/mysqladmin --no-defaults --socket=/var/lib/mysql/mysql.sock --user=UNKNOWN_MYSQL_USER ping
  113. + RESPONSE='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
  114. error: '\''Can'\''t connect to local MySQL server through socket '\''/var/lib/mysql/mysql.sock'\'' (2)'\''
  115. Check that mysqld is running and that the socket: '\''/var/lib/mysql/mysql.sock'\'' exists!'
  116. + echo '/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
  117. error: '\''Can'\''t connect to local MySQL server through socket '\''/var/lib/mysql/mysql.sock'\'' (2)'\''
  118. Check that mysqld is running and that the socket: '\''/var/lib/mysql/mysql.sock'\'' exists!'
  119. + grep -q 'Access denied for user'
  120. + /bin/kill -0 26784
  121. + sleep 1
  122. + let TIMEOUT=120-1
  123. + '[' 119 -gt 0 ']'
  124. ++ /usr/bin/mysqladmin --no-defaults --socket=/var/lib/mysql/mysql.sock --user=UNKNOWN_MYSQL_USER ping
  125. + RESPONSE='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
  126. error: '\''Can'\''t connect to local MySQL server through socket '\''/var/lib/mysql/mysql.sock'\'' (2)'\''
  127. Check that mysqld is running and that the socket: '\''/var/lib/mysql/mysql.sock'\'' exists!'
  128. + echo '/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed
  129. error: '\''Can'\''t connect to local MySQL server through socket '\''/var/lib/mysql/mysql.sock'\'' (2)'\''
  130. Check that mysqld is running and that the socket: '\''/var/lib/mysql/mysql.sock'\'' exists!'
  131. + grep -q 'Access denied for user'
  132. + /bin/kill -0 26784
  133. + echo 'MySQL Daemon failed to start.'
  134. MySQL Daemon failed to start.
  135. + ret=1
  136. + break
  137. + '[' 119 -eq 0 ']'
  138. + '[' 1 -eq 0 ']'
  139. + action 'Starting mysqld: ' /bin/false
  140. + local STRING rc
  141. + STRING='Starting mysqld: '
  142. + echo -n 'Starting mysqld:  '
  143. Starting mysqld:  + shift
  144. + /bin/false
  145. + failure 'Starting mysqld: '
  146. + local rc=1
  147. + '[' color '!=' verbose -a -z '' ']'
  148. + echo_failure
  149. + '[' color = color ']'
  150. + echo -en '\033[60G'
  151.                                                            + echo -n '['
  152. [+ '[' color = color ']'
  153. + echo -en '\033[0;31m'
  154. + echo -n FAILED
  155. FAILED+ '[' color = color ']'
  156. + echo -en '\033[0;39m'
  157. + echo -n ']'
  158. ]+ echo -ne '\r'
  159. + return 1
  160. + '[' -x /bin/plymouth ']'
  161. + /bin/plymouth --details
  162. + return 1
  163. + rc=1
  164. + echo
  165.  
  166. + return 1
  167. + return 1
  168. + exit 1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top