On Tue, Dec 13, 2005 at 02:08:53PM +0100, Torsten Foertsch wrote:
> [Tue Dec 13 12:09:46 2005] [crit] (17)File exists: unable to create
> scoreboard "/var/opt/apache/logs/apache_scoreboard" (name-based shared memory
> failure)
>
> Deleting /var/opt/apache/logs/apache_scoreboard didn't help. Strace then
> revealed:
>
> unlink("/var/opt/apache/logs/apache_scoreboard") = 0
> open("/var/opt/apache/logs/apache_scoreboard", O_WRONLY|O_CREAT|O_EXCL, 0666)
> = 14
> stat64("/var/opt/apache/logs/apache_scoreboard", {st_mode=S_IFREG|0644,
> st_size=0, ...}) = 0
> shmget(17191678, 225304, IPC_CREAT|IPC_EXCL|0600) = -1 EEXIST (File exists)
You shouldn't really configure a ScoreBoardFile in httpd, it's not
necessary. If you comment that out it should work fine.
The behaviour you see is partly due to apr 0.9.x lacking
apr_shm_remove(), something which was fixed in apr 1.0.x; so this
doesn't affect 2.2.x even with ScoreBoardFile configured.
joe