ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Ivan Adzhubey <iadzhubey@rics.bwh.harvard.edu>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Error in the apache2-base postinstall scripts
Date: Thu, 23 Aug 2012 16:53:45 -0400
Message-ID: <5080282.Pujzug3vFM@ika.bwh.harvard.edu> (raw)
In-Reply-To: <50369503.40300@solin.spb.ru>

On Friday 24 August 2012 00:39:31 Aleksey Avdeev wrote:
> 24.08.2012 00:21, Ivan Adzhubey пишет:
> > On Friday 24 August 2012 00:09:40 Aleksey Avdeev wrote:
> >> 23.08.2012 22:14, Ivan Adzhubey пишет:
> >>> Uzhe paru nedel pri vseh obnovlenijah apache2 oshibka:
> >>> 
> >>> Running /usr/lib/rpm/posttrans-filetriggers
> >>> Stopping httpd2 service: [ DONE ]
> >>> Checking configuration sanity for httpd2:  Syntax OK
> >>> [ DONE ]
> >>> Starting httpd2 service:   [FAILED]
> >>> /usr/lib/rpm/zz-apache2-base.filetrigger failed
> >>> error: execution of /usr/lib/rpm/posttrans-filetriggers scriptlet from
> >>> (null)-(null)-(null) failed, exit status 1
> >>> Done.
> > 
> > Prohoditsa ubirat' vot etot script:
> > 
> > # mv /usr/lib/rpm/zz-apache2-base.filetrigger /usr/lib/rpm/zz-apache2-
> > base.filetrigger.bak
> > 
> >>   Не могу повторить: у меня на 2х тестовых системах (с init и с systemd)
> >> 
> >> данная операция проходит нормально. (Проверял с apache2-2.2.22-alt7.)
> 
>   Какая именно версия apache2 стоит у вас по факту? Что возвращает:
> 
> rpm -qa|fgrep apache2

# rpm -qa|fgrep apache2|sort
apache2-2.2.22-alt7
apache2-base-2.2.22-alt7
apache2-cgi-bin-2.2.22-alt7
apache2-cgi-bin-printenv-2.2.22-alt7
apache2-cgi-bin-test-cgi-2.2.22-alt7
apache2-common-2.2.22-alt7
apache2-datadirs-2.2.22-alt7
apache2-htcacheclean-2.2.22-alt7
apache2-html-2.2.22-alt7
apache2-httpd-prefork-2.2.22-alt7
apache2-icons-2.2.22-alt7
apache2-mod_disk_cache-2.2.22-alt7
apache2-mod_fcgid-2.2-alt2
apache2-mod_php5-5.3.10.20120202-alt1
apache2-mod_ssl-2.2.22-alt7

> >>   Прошу проверить (при запущенном httpd2):
> >> 1. Какой код возвращает команда:
> >> 
> >> service httpd2 condrestart
> > 
> > # service httpd2 condrestart
> > Stopping httpd2 service:	[ DONE ]
> > Checking configuration sanity for httpd2:  Syntax OK	[ DONE ]
> > Starting httpd2 service:	[FAILED]
> 
>   Значит проблема выплывает при condrestart (и скорее всего при
> restart)... Это наблюдается именно на apache2-2.2.22-alt7?

Eto nabludaetsa poslednie paru nedel'... za eto vremja v Sisyphe bylo 3 ili 4 
obnovlenija apache2.

>   Прошу прислать отладочный вывод (при запущенном httpd2):
> 
> sh -x service httpd2 condrestart

# sh -x service httpd2 condrestart
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ export PATH
+ VERSION='service version 0.91-alt'
+ SERVICEDIR=/etc/init.d
+ SYSTEMCTL=/bin/systemctl
+ SYSTEMD_SERVICE_DIR=/lib/systemd/system
+ SYSTEMD_CGROUP_DIR=/sys/fs/cgroup/systemd
+ SERVICE=
+ OPTIONS=
+ systemd_status=
+ '[' 2 -eq 0 ']'
+ '[' 2 -eq 2 -a condrestart = --full-restart ']'
+ case "$1" in
+ SERVICE=httpd2
+ shift
+ check_service
+ '[' -n httpd2 ']'
+ '[' -x /etc/init.d/httpd2 ']'
+ return 0
+ cd /
+ systemd_is_active
+ '[' -z '' ']'
+ '[' -x /bin/systemctl -a -d /sys/fs/cgroup/systemd ']'
+ systemd_status=1
+ return 1
+ exec /etc/init.d/httpd2 condrestart
Stopping httpd2 service:                                                                                                    
[ DONE ]
Checking configuration sanity for httpd2:  Syntax OK
[ DONE ]
Starting httpd2 service:                                                                                                    
[FAILED]

--Ivan


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

  reply	other threads:[~2012-08-23 20:53 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 [this message]
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
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=5080282.Pujzug3vFM@ika.bwh.harvard.edu \
    --to=iadzhubey@rics.bwh.harvard.edu \
    --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