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

Bug#270524: marked as done (apache2-common: apache2 dies "cannot allocate shared memory")

Your message dated Sun, 22 May 2005 16:41:05 +1000 (EST)
with message-id <15930.>
and subject line This is a configuration issue...
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 7 Sep 2004 18:51:13 +0000
>From soloturn99@yahoo.com Tue Sep 07 11:51:13 2004
Return-path: <soloturn99@yahoo.com>
Received: from web40913.mail.yahoo.com [] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1C4l3h-0005em-00; Tue, 07 Sep 2004 11:51:13 -0700
Message-ID: <20040907185042.72172.qmail@web40913.mail.yahoo.com>
Received: from [] by web40913.mail.yahoo.com via HTTP; Tue, 07 Sep 2004 11:50:42 PDT
Date: Tue, 7 Sep 2004 11:50:42 -0700 (PDT)
From: solo turn <soloturn99@yahoo.com>
Subject: apache2-common: apache2 dies "cannot allocate shared memory"
To: debianbugs <submit@bugs.debian.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-4.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,

Subject: apache2-common: apache2 dies "cannot allocate shared memory"
Package: apache2-common
Version: 2.0.50-12
Severity: important

after a power failure the server comes up normally, but apache2 fails starting with:

[Tue Sep 07 20:14:36 2004] [info] Init: Initializing OpenSSL library
[Tue Sep 07 20:14:36 2004] [info] Init: Seeding PRNG with 512 bytes of entropy
[Tue Sep 07 20:14:36 2004] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Tue Sep 07 20:14:36 2004] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Tue Sep 07 20:14:36 2004] [error] Cannot allocate shared memory: (17)File exists

# ls -l /var/log/apache2/ssl_scache
-rw-r--r--  1 root root 4 2004-09-06 07:29 /var/log/apache2/ssl_scache

removing this file helps, but somehow there should be a setting, which allows apache2 to come up
by itself.

is this the same thing as in:

-- System Information:
Debian Release: 3.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-k7-smp
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages apache2-common depends on:
ii  libssl0.9.7              0.9.7d-5        SSL shared libraries
ii  openssl                  0.9.7d-5        Secure Socket Layer (SSL) binary a

Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.

Received: (at 270524-done) by bugs.debian.org; 22 May 2005 06:41:36 +0000
>From adconrad@0c3.net Sat May 21 23:41:36 2005
Return-path: <adconrad@0c3.net>
Received: from loki.0c3.net [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DZk9Y-00006x-00; Sat, 21 May 2005 23:41:36 -0700
Received: from localhost
	([] helo=mail.0c3.net ident=www-data)
	by loki.0c3.net with esmtp (Exim 4.34)
	id 1DZk93-0002t8-OR
	for 270524-done@bugs.debian.org; Sun, 22 May 2005 00:41:05 -0600
Received: from
        (SquirrelMail authenticated user adconrad)
        by mail.0c3.net with HTTP;
        Sun, 22 May 2005 16:41:05 +1000 (EST)
Message-ID: <15930.>
Date: Sun, 22 May 2005 16:41:05 +1000 (EST)
Subject: This is a configuration issue...
From: "Adam Conrad" <adconrad@0c3.net>
To: 270524-done@bugs.debian.org
Reply-To: adconrad@0c3.net
User-Agent: SquirrelMail/1.5.1 [CVS]
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
Content-Transfer-Encoding: 8bit
X-SA-Exim-Mail-From: adconrad@0c3.net
X-SA-Exim-Scanned: No (on loki.0c3.net); SAEximRunCond expanded to false
Delivered-To: 270524-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

If you're using a custom config with a different ssl_scache location than
the package's default (/var/run/apache2, see
/etc/apache2/mods-available/ssl.conf), then you should also edit
/etc/init.d/apache2 to remove the correct file(s) in case of unclean
shutdown.  The package handles using the default settings just fine.

... Adam

Reply to: