HTTPD Stopped -> reseller suspended

berts

New member
Joined
Dec 14, 2005
Messages
3
Today HTTPD stopped and it was impossible to start it, - start, reload, or Reboot
The log files as well as apachectl start came with only one error: bad group name admin.

Instead of looking for the obvious I started digging into -ownerships -Apache, log files and so on.

In the end this all was caused by one reseller that went suspended, even though "suspend at limit" was disabled.

The sad thing was, that only after I found the cause and HTTPD was running again, I got an email with the message that there was a bandwidth problem for that reseller.

It is a bit strange that one reseller can cause the HTTPD to go down. That asks for a fix.

Bert Stolker
 
I've never seen this problem caused by a suspended reseller; we've suspended resellers from time to time and have never seen this problem.

Has anyone else ever seen it?

Jeff
 
suspended reseller stops httpd - additional info

I found the following:
- The reseller in case had no assigned package
- both packages we have were limited to 5 Gb bandwith/month
- This reseller used more than 5Gb which supsnded the reseller
- The admin account had no reseller package set either

By suspending the reseller, the admin account was suspended also, causing the HTTPD to stop for all domains.

Still doesn't make sense

Bert
 
I've seen that a few times.

Your solution:
Code:
groupadd admin
and you're done.

Basically, if the "admin" user exists at install time, DA *assumes* the admin group exists as well.
Likely your admin account has not created any domains, thus you didn't notice the problem.

When you suspended the Reseller, the DocumentRoot then jumps over to the "admin" suspended directory, with the user/group "admin".. which didn't exist, thus apache died. Run the above single command, and you're back in business ;)

John
 
John, would you consider adding the check? If admin group doesn't exist you can always create it at install time :) . Or is there some reason that might cause problems?

Jeff
 
Back
Top