+ WITHOUT_RC_COMPAT=1 + . /etc/init.d/functions ++ export PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ++ PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ++ '[' 0 = 0 ']' ++ LANG=POSIX ++ LANGUAGE=POSIX ++ LC_ALL=POSIX ++ '[' -z '' ']' ++ SourceIfNotEmpty /etc/sysconfig/init ++ local f ++ f=/etc/sysconfig/init ++ shift ++ '[' -s /etc/sysconfig/init ']' ++ . /etc/sysconfig/init +++ BOOTUP=color +++ RES_OFFSET=8 +++ LOGLEVEL=1 +++ PROMPT=yes +++ UDEV_SERVICE=/etc/init.d/udevd ++ '[' -n color ']' ++ '[' -x /sbin/consoletype ']' +++ consoletype ++ '[' vt = serial ']' ++ '[' color = color ']' ++ . /etc/init.d/outformat +++ '[' -n linux ']' +++ export TERM +++ : 8 +++ '[' -n 8 ']' +++ '[' 8 -gt 0 ']' +++ : 0 1 2 3 4 5 6 7 ++ '[' color '!=' verbose ']' ++ INITLOG_ARGS=-q ++ '[' -n 1 ']' ++ '[' 1 -ge 0 ']' ++ '[' -n 1 ']' + SourceIfExists /etc/sysconfig/httpd2 + local f + f=/etc/sysconfig/httpd2 + shift + '[' -f /etc/sysconfig/httpd2 ']' + . /etc/sysconfig/httpd2 ++ LOOPSSTART=18 + INITLOG_ARGS= + name=httpd2 + moduledir=/usr/lib64/apache2/modules + moduleargs= + APACHECTL=/usr/sbin/apachectl2 + RETVAL=0 + export TMPDIR=/var/spool/apache2/tmp + TMPDIR=/var/spool/apache2/tmp ++ hostname + thehost=host-29 + hostname -i + grep -q '^[[:space:]]*0*[1-9][0-9]*[[:space:]]*$' + head -n 1 + echo '' + WAITSTOP=300 + case "$1" in + start + /usr/bin/httpd2-cert-sh generate httpd2 ++ msg_starting httpd2 ++ local a ++ a=httpd2 ++ shift ++ printf 'Starting %s service: ' httpd2 + action 'Starting httpd2 service: ' /usr/sbin/apachectl2 start + local STRING + STRING='Starting httpd2 service: ' + shift + echo -n 'Starting httpd2 service: ' Starting httpd2 service: + initlog -c '/usr/sbin/apachectl2 start' + local rc=3 + '[' 3 -eq 0 ']' + failure 'Starting httpd2 service: ' + local rc=1 + '[' -z '' ']' + initlog -n /etc/init.d/httpd2 -s 'Starting httpd2 service: ' -e 2 + echo_failure + MOVE_TO_COL + '[' -n '' ']' + COLUMNS=80 + local pos=72 + '[' 72 -le 0 ']' + tput -- hpa 72 + echo -n '[' [+ SETCOLOR_FAILURE + tput -S + echo bold + echo setaf 1 + echo -n FAILED FAILED+ SETCOLOR_NORMAL + tput -S + echo op + echo sgr0 + echo -ne ']\r' ] + return 1 + return 1 + echo + return 3 + RETVAL=3 + return 3 + RETVAL=3 + exit 3