[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#711636: marked as done (apache2: Init script fails if other Apache processes are running)



Your message dated Sun, 9 Jun 2013 13:45:20 +0100
with message-id <20130609124520.GE4384@urchin.earth.li>
and subject line Re: Bug#711636: apache2: Init script fails if other Apache processes are running
has caused the Debian Bug report #711636,
regarding apache2: Init script fails if other Apache processes are running
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
711636: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711636
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Version: 2.4.4-6
Severity: important

Apache 2.4's init script fails to work if other apache processes not
managed by the init script are found:

Setting up apache2 (2.4.4-6) ...
[FAIL] Restarting web server: apache2 failed!
invoke-rc.d: initscript apache2, action "restart" failed.

In this case this was a sid chroot running on an underlying system with
Apache installed and running, but I imagine the same could be 
true if Apache is running on the same chroot too.

-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2 depends on:
ii  apache2-bin   2.4.4-6
ii  apache2-data  2.4.4-6
ii  lsb-base      4.1+Debian12
ii  mime-support  3.54
ii  perl          5.14.2-21
ii  procps        1:3.3.8-2

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.32

Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  apache2-utils                                    2.4.4-6
pn  www-browser                                      <none>

Versions of packages apache2-bin depends on:
ii  libapr1                  1.4.6-4
ii  libaprutil1              1.5.2-1
ii  libaprutil1-dbd-sqlite3  1.5.2-1
ii  libaprutil1-ldap         1.5.2-1
ii  libc6                    2.17-5
ii  libcap2                  1:2.22-1.2
ii  libldap-2.4-2            2.4.31-1+nmu2
ii  liblua5.1-0              5.1.5-4
ii  libpcre3                 1:8.31-2
ii  libssl1.0.0              1.0.1e-3
ii  libxml2                  2.8.0+dfsg1-7+nmu1
ii  perl                     5.14.2-21
ii  zlib1g                   1:1.2.8.dfsg-1

Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
pn  www-browser                                      <none>

Versions of packages apache2 is related to:
ih  apache2      2.4.4-6
ii  apache2-bin  2.4.4-6

-- Configuration Files:
/etc/apache2/ports.conf changed:
Listen 81
<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
    Listen 443
</IfModule>
<IfModule mod_gnutls.c>
    Listen 443
</IfModule>

/etc/apache2/sites-available/000-default.conf changed:
<VirtualHost *:81>
	ServerAdmin webmaster@localhost
	DocumentRoot /var/www
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>
	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride None
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all
	</Directory>
	ErrorLog ${APACHE_LOG_DIR}/error.log
	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn
	CustomLog ${APACHE_LOG_DIR}/access.log combined
        Include /etc/request-tracker4/apache2-fcgid.conf
</VirtualHost>


-- no debconf information

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)

--- End Message ---
--- Begin Message ---
On Sat, Jun 08, 2013 at 02:03:30PM +0100, Dominic Hargreaves wrote:
> On Sat, Jun 08, 2013 at 02:58:38PM +0200, Arno Töll wrote:
> > Hi Dominic,
> > 
> > On 08.06.2013 14:49, Dominic Hargreaves wrote:
> > > In this case this was a sid chroot running on an underlying system with
> > > Apache installed and running, but I imagine the same could be 
> > > true if Apache is running on the same chroot too.
> > 
> > what would you imagine to do? I am not sure what we could do in cases
> > where another daemon, within or outside the chroot, binds to the same
> > listening interface already?
> > 
> > In that case it is expected that the init script fails, because apache2
> > itself fails to start.
> 
> That's not the issue, because Apache inside and outside the chroot
> are configured to listen on different ports.
> 
> However I'm now failing to be able to reproduce the issue, so I clearly
> need to go away and do some more investigation. Sorry for the premature
> bug report...

Don't want to leave this open when I'm not sure of whatever I saw before
and I'm probably not going to have time to investigate any time soon.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)

--- End Message ---

Reply to: