LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   httpd crash after successful start (https://www.linuxquestions.org/questions/linux-server-73/httpd-crash-after-successful-start-680048/)

scubanator87 10-30-2008 11:53 AM

httpd crash after successful start
 
I have a CentOS 5.2 (fully up to date) box running dekiwiki.

So naturally its a typical LAMP setup.

Just recently I needed to upload a file larger then the preset 2m limit so i had to edit /etc/php.ini

Code:

.
.
.
memory_limit = 32    ;
.
.
.
post_max_size = 16M
.
.
.
upload_max_filesize = 8M

These are the new values.

Then I reloaded apache

After that i was unable to access my site.
I tried to stop the httpd deamon but it faild
when i started it however it says
Code:

Starting httpd:          [ OK ]
then when i run
Code:

ps aux | grep httpd
or
Code:

ps -ef | grep httpd
apache/httpd does not show up (with the exception of the actual grep command)

looking in /var/log/http/error_log i see:
Code:

[Thu Oct 30 16:48:29 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Oct 30 16:48:30 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Oct 30 16:48:30 2008] [notice] Digest: done
Allowed memory size of 32 bytes exhausted (tried to allocate 9 bytes)

I really need to get this back up and running ASAP so any help or clues would be wonderful.

anomie 10-30-2008 11:58 AM

I'll give you one clue: 32 bytes is not a lot of memory. ;)

I think you meant 32M.

scubanator87 10-30-2008 12:13 PM

Wow i feel like a total idiot lol

Thanks switching it to 32M fixed it. DUH!


All times are GMT -5. The time now is 12:40 PM.