LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache config (https://www.linuxquestions.org/questions/linux-networking-3/apache-config-356111/)

xpace 08-25-2005 04:47 AM

hey

this is an error_log in /var/log/httpd

[Thu Aug 25 05:57:26 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/apache2-suexec)
[Thu Aug 25 05:57:27 2005] [notice] Digest: generating secret for digest authentication ...
[Thu Aug 25 05:57:27 2005] [notice] Digest: done
[Thu Aug 25 05:57:27 2005] [error] Cannot allocate shared memory: (17)File exists

this is a last line in /var/log/messages file as I've tried to start apache :

Aug 25 07:42:25 server apachectl: httpd2 startup succeeded

it looks like it should be working but is not


what should I do next

thanks Ramil

ramil 08-25-2005 06:02 AM

This seems like one of the known apache bugs. See if you have this file: `/var/log/apache2/ssl_scache`, try backing it up first and then remove it. This should help...

Btw, it may be located in some other place.

xpace 08-25-2005 06:55 AM

oh maaaaaaaaaaaaaaaaaaan :)

you are champion, nice work really good one, thanks

I'm really glad you got it working for me.

but what is the problem? will it happend again?
what you suggest?


thanks
man

really nice work

xpace 08-25-2005 07:01 AM

hey ramil

do you think you could help me set up mail server, I have no idea how that works

I've tried that before with step by step guide from net but nothing was working

just asking

thanks

ramil 08-25-2005 10:42 AM

Great thing it works!

The reason for that was a power failure or an unclean shutdown. Also, you might not have the rc.d scripts setup correctly, after running shutdown scripts the system thought apache processes would not responsed and termed it, that's why it never got a chance to remove that file.

You need to fix your rc.d scripts and, add lines that would force-remove the ssl cache file on shutdown if you have power failures or anything.

If you have questions on how to do that, ask, I think I'll find time to answer that.

ramil 08-25-2005 10:43 AM

Regarding mail server, why not? did you choose what you're going to install?

But if you start asking questions on mail server setup, please create another thread, so that other people can find it.

Ramil

xpace 08-26-2005 12:09 AM

hey

dont' worry about those scripts

just want to know which mail server would you sugest.

thanks

ramil 08-26-2005 03:36 AM

I don't know about what scripts you're talking about, honestly...

If you FreeBSD, I would suggest sendmail, if you use Linux, I'd suggest postfix.


All times are GMT -5. The time now is 12:54 AM.