ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Peter Evdokimov <blackp@vpmes.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Error in the apache2-base postinstall scripts
Date: Tue, 11 Sep 2012 13:08:00 +0400
Message-ID: <20120911130800.459cf5b3@blackp.vopmes.mes> (raw)
In-Reply-To: <504DCB16.8000207@solin.spb.ru>

On Mon, 10 Sep 2012 15:12:22 +0400
Aleksey Avdeev wrote:

>   Прошу выполнить (и предоставить вывод сюда):
> 
> sh -x /etc/init.d/httpd2 condrestart

1-ый контейнер openvz

# sh -x /etc/init.d/httpd2 condrestart
+ 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
++ '[' -n color ']'
++ '[' -x /sbin/consoletype ']'
+++ consoletype
++ '[' pty = serial ']'
++ '[' color = color ']'
++ . /etc/init.d/outformat
+++ '[' -n xterm ']'
+++ 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
+ INITLOG_ARGS=
+ name=httpd2
+ moduledir=/usr/lib/apache2/modules
+ moduleargs=
+ APACHECTL=/usr/sbin/apachectl2
+ RETVAL=0
+ export TMPDIR=/var/spool/apache2/tmp
+ TMPDIR=/var/spool/apache2/tmp
++ hostname
+ thehost=mail.vopmes.mes
+ hostname -i
+ case "$1" in
+ briefstatus
+ restart
+ stop
+ msg_stopping httpd2
+ local a
+ a=httpd2
+ shift
+ printf 'Stopping %s service: ' httpd2
Stopping httpd2 service: + stop_wait 300
+ (( i=300 ))
+ (( 300>0 ))
+ /usr/sbin/apachectl2 stop
+ RETVAL=0
+ '[' 0 -ne 255 ']'
+ return 0
+ RETVAL=0
+ '[' 0 -eq 0 ']'
+ echo_success
+ MOVE_TO_COL
+ '[' -n 183 ']'
+ local pos=175
+ '[' 175 -le 0 ']'
+ tput -- hpa 175
                                                                                                                                                                               +
echo -n '[ ' [ + SETCOLOR_SUCCESS
+ echo bold
+ echo setaf 2
+ tput -S
+ echo -n DONE
DONE+ SETCOLOR_NORMAL
+ echo op
+ echo sgr0
+ tput -S
+ echo -ne ' ]\r'
+ return 0
+ echo

+ return 0
+ RETVAL=0
+ '[' 0 -eq 0 ']'
+ conftest
+ action 'Checking configuration sanity for httpd2: ' /usr/sbin/apachectl2 configtest
+ local STRING
+ STRING='Checking configuration sanity for httpd2: '
+ shift
+ echo -n 'Checking configuration sanity for httpd2:  '
Checking configuration sanity for httpd2:  + initlog -c '/usr/sbin/apachectl2 configtest'
Syntax OK
+ local rc=0
+ '[' 0 -eq 0 ']'
+ success 'Checking configuration sanity for httpd2: '
+ '[' -z '' ']'
+ initlog -n /etc/init.d/httpd2 -s 'Checking configuration sanity for httpd2: ' -e 1
+ echo_success
+ MOVE_TO_COL
+ '[' -n 183 ']'
+ local pos=175
+ '[' 175 -le 0 ']'
+ tput -- hpa 175
                                                                                                                                                                               + echo -n '[ '
[ + SETCOLOR_SUCCESS
+ echo bold
+ echo setaf 2
+ tput -S
+ echo -n DONE
DONE+ SETCOLOR_NORMAL
+ echo op
+ echo sgr0
+ tput -S
+ echo -ne ' ]\r'
+ return 0
+ return 0
+ echo

+ return 0
+ RETVAL=0
+ return 0
+ start
++ 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 183 ']'
+ local pos=175
+ '[' 175 -le 0 ']'
+ tput -- hpa 175
                                                                                                                                                                               + echo -n '['
[+ SETCOLOR_FAILURE
+ echo bold
+ echo setaf 1
+ tput -S
+ echo -n FAILED
FAILED+ SETCOLOR_NORMAL
+ echo op
+ echo sgr0
+ tput -S
+ echo -ne ']\r'
+ return 1
+ return 1
+ echo

+ return 3
+ RETVAL=3
+ return 3
+ RETVAL=3
+ return 3
+ RETVAL=3
+ exit 3

2-ой контейнер openvz

# sh -x /etc/init.d/httpd2 condrestart
+ 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
++ '[' -n color ']'
++ '[' -x /sbin/consoletype ']'
+++ consoletype
++ '[' pty = serial ']'
++ '[' color = color ']'
++ . /etc/init.d/outformat
+++ '[' -n xterm ']'
+++ 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
+ INITLOG_ARGS=
+ name=httpd2
+ moduledir=/usr/lib/apache2/modules
+ moduleargs=
+ APACHECTL=/usr/sbin/apachectl2
+ RETVAL=0
+ export TMPDIR=/var/spool/apache2/tmp
+ TMPDIR=/var/spool/apache2/tmp
++ hostname
+ thehost=maild.vopmes.mes
+ hostname -i
+ case "$1" in
+ briefstatus
+ restart
+ stop
+ msg_stopping httpd2
+ local a
+ a=httpd2
+ shift
+ printf 'Stopping %s service: ' httpd2
Stopping httpd2 service: + stop_wait 300
+ (( i=300 ))
+ (( 300>0 ))
+ /usr/sbin/apachectl2 stop
+ RETVAL=0
+ '[' 0 -ne 255 ']'
+ return 0
+ RETVAL=0
+ '[' 0 -eq 0 ']'
+ echo_success
+ MOVE_TO_COL
+ '[' -n 183 ']'
+ local pos=175
+ '[' 175 -le 0 ']'
+ tput -- hpa 175
                                                                                                                                                                               + echo -n '[ '
[ + SETCOLOR_SUCCESS
+ echo bold
+ echo setaf 2
+ tput -S
+ echo -n DONE
DONE+ SETCOLOR_NORMAL
+ echo op
+ echo sgr0
+ tput -S
+ echo -ne ' ]\r'
+ return 0
+ echo

+ return 0
+ RETVAL=0
+ '[' 0 -eq 0 ']'
+ conftest
+ action 'Checking configuration sanity for httpd2: ' /usr/sbin/apachectl2 configtest
+ local STRING
+ STRING='Checking configuration sanity for httpd2: '
+ shift
+ echo -n 'Checking configuration sanity for httpd2:  '
Checking configuration sanity for httpd2:  + initlog -c '/usr/sbin/apachectl2 configtest'
Syntax OK
+ local rc=0
+ '[' 0 -eq 0 ']'
+ success 'Checking configuration sanity for httpd2: '
+ '[' -z '' ']'
+ initlog -n /etc/init.d/httpd2 -s 'Checking configuration sanity for httpd2: ' -e 1
+ echo_success
+ MOVE_TO_COL
+ '[' -n 183 ']'
+ local pos=175
+ '[' 175 -le 0 ']'
+ tput -- hpa 175
                                                                                                                                                                               + echo -n '[ '
[ + SETCOLOR_SUCCESS
+ echo bold
+ echo setaf 2
+ tput -S
+ echo -n DONE
DONE+ SETCOLOR_NORMAL
+ echo op
+ echo sgr0
+ tput -S
+ echo -ne ' ]\r'
+ return 0
+ return 0
+ echo

+ return 0
+ RETVAL=0
+ return 0
+ start
++ 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=0
+ '[' 0 -eq 0 ']'
+ success 'Starting httpd2 service:  '
+ '[' -z '' ']'
+ initlog -n /etc/init.d/httpd2 -s 'Starting httpd2 service:  ' -e 1
+ echo_success
+ MOVE_TO_COL
+ '[' -n 183 ']'
+ local pos=175
+ '[' 175 -le 0 ']'
+ tput -- hpa 175
                                                                                                                                                                               + echo -n '[ '
[ + SETCOLOR_SUCCESS
+ echo bold
+ echo setaf 2
+ tput -S
+ echo -n DONE
DONE+ SETCOLOR_NORMAL
+ echo op
+ echo sgr0
+ tput -S
+ echo -ne ' ]\r'
+ return 0
+ return 0
+ echo

+ return 0
+ RETVAL=0
+ return 0
+ RETVAL=0
+ return 0
+ RETVAL=0
+ exit 0
 
> > Править /etc/init.d/httpd2 ? 
> 
>   Пока не знаю как именно.
> 


sy,
	peter

  reply	other threads:[~2012-09-11  9:08 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 18:14 Ivan Adzhubey
2012-08-23 20:09 ` Aleksey Avdeev
2012-08-23 20:21   ` Ivan Adzhubey
2012-08-23 20:39     ` Aleksey Avdeev
2012-08-23 20:53       ` Ivan Adzhubey
2012-08-23 21:18         ` Aleksey Avdeev
2012-08-23 22:03           ` Ivan Adzhubey
2012-08-23 22:16             ` Aleksey Avdeev
2012-08-24  4:36               ` Aleksey Avdeev
2012-08-24  3:46             ` REAL
2012-08-28  3:46           ` Peter Evdokimov
2012-09-10 11:12             ` Aleksey Avdeev
2012-09-11  9:08               ` Peter Evdokimov [this message]
2012-09-11 19:18                 ` Aleksey Avdeev
2012-09-12  4:15                   ` Peter Evdokimov
2012-09-12 16:10                     ` Aleksey Avdeev
2012-09-13  3:29                       ` Peter Evdokimov
2012-09-13  8:37                         ` Aleksey Avdeev
2012-09-17  3:49                           ` Peter Evdokimov
2012-09-11  9:10               ` Peter Evdokimov
2012-09-11 16:59                 ` Aleksey Avdeev
2012-09-12  4:12                   ` Peter Evdokimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120911130800.459cf5b3@blackp.vopmes.mes \
    --to=blackp@vpmes.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git