Httpd unable to start after user creation

Daredevil

Verified User
Joined
Oct 24, 2004
Messages
51
Location
Netherlands
Hey guys. Let's see if anyone can help me crack this one.

I have a server running DA with several users on it, and it's working just fine. Until today, when I tried to add another user the httpd process just dies on me and won't get back up. After deleting the added user it just starts up again.

So far i've tried renaming the user in all shapes and forms, even in styles that my current users have, and I checked my httpd.conf files for any problems but no luck.


My errorlogs don't really throw me a bone either, there are just two entries related in /var/log/httpd/error_log and /var/log/messages which are the following

error_log:

[Tue Feb 28 04:06:01 2006] [warn] pid file /var/run/httpd.pid overwritten -- Unclean shutdown of previous Apache run?

&&

messages

Feb 28 04:15:03 blackbox /kernel: pid 847 (httpd), uid 0: exited on signal 11 (core dumped)


Sure enough Apache seems to crash, but '/usr/sbin/apachetcl configtest' comes out with an OK so it's not the config.

At the moment all the services are running just fine and I've added the customer on another server, but needless to say I can't have this problem running around forever, I'd like to place more customers on this server asap ;)

Thanks for the help.
 
Could be a hardware problem, although skeptical...
What operating system (+ version) are you running?

What version of apache? Have you tried rebuilding everything through customapache?
 
the server runs FreeBSD 4.11(Legacy) and I'm using the standard Apache that comes with the DA install, I'll try a custombuild tomorrow.
 
Hi,

I have the exact same problem on one of our FreeBSD 6.1 servers, all other run smoothly...

Tried everything at: http://help.directadmin.com/item.php?id=9 but no solution. Option 2 however worked for a month. Now the server has 35 users and 78 domains. Now, no users can be added, because apache crashes immediately.

Any ideas would be very helpfull.

Regards,
Robert
 
Found the solution to my problem.

Since I was always looking for "AddModule mod_perl.c" in httpd.conf and never found it, I was confused with this.
Eventually I tried commenting out: "#LoadModule perl_module /usr/lib/apache/mod_perl.so"

This helps, so I've asked John to please edit the page: http://help.directadmin.com/item.php?id=95

Possibly a mod_perl issue. Edit the /etc/httpd/conf/httpd.conf
change:
AddModule mod_perl.c

to
#AddModule mod_perl.c

and then restart apache.
This won't affect files in the cgi-bin (I've seen very few people actually making use of mod_perl itself).

Please make a note; Or search for: #LoadModule perl_module /usr/lib/apache/mod_perl.so

Regards,
Robert
 
Back
Top