How to STOP cpanel killing httpd.conf ??

dendis

Well-Known Member
Jul 18, 2003
49
0
156
Again our httpd.conf was deleted..
httpd.conf size is 0 bytes !
all 600 sites down

again need to restore it from backup.

Why it happens?? How to prevent of this??
 

dendis

Well-Known Member
Jul 18, 2003
49
0
156
chirpy I do think it is cpanel

I have also contacted our data center they told me that 30% of their servers suffering from this problem.

cpanel make damage to our(and not only our) business!

don't say - use plesk, just cpanel should set priority #1 for such things to be fixed
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
I do understand and sympathise, but have you actually reported the problem to cPanel themselves - that is, logged a support ticket for them to investigate?
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
Originally posted by dendis
Again our httpd.conf was deleted..
httpd.conf size is 0 bytes !
all 600 sites down

again need to restore it from backup.

Why it happens?? How to prevent of this??
when is this happening... are you doing something through the WHM,...IE adding a new account, editing account,...deleting an account ?? Or is this just a random happening event ??

Mickalo
 

dendis

Well-Known Member
Jul 18, 2003
49
0
156
Mickalo

it is likely random happening event

Once it happened during cpanel update other time I think when one of our reseller hosting user were adding/removing account.

Also a week ago we have one "nice" issue - our /etc/shadow has been purged the same like httpd.conf. About 30% entries were removed from the end of the file. All other files file /etc/passwd were fine.

can't sleep at night while such things happens :confused:
 

iko

Well-Known Member
PartnerNOC
Jan 29, 2004
56
0
156
The problem is random. I am experiencing it now and I am very confused. One time my root password was deleted from /etc/passwd and the machine cannot boot. After that many users were deleted from /etc/passwd. Httpd.conf becomes corrupted every 2-3-5 hours. New entries were added for subdomains as if they are setuped as seperate accounts but they are not.

The problem is very severe. It must be forwarded to the highest level technicians!!! I think many hosting companies will start complaining about the same problem!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
Go on, have a guess
That does not sound like a cPanel issue to me - more like either e kernel/disk issue, or the server is compromised. Have you had it checked over thoroughly for root kits, etc?
 

iko

Well-Known Member
PartnerNOC
Jan 29, 2004
56
0
156
The problem is not connected with hacking attempts. I opened several tickets about this. I hope cPanel's team will fix the problem shortly.
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,488
35
158
cPanel Access Level
DataCenter Provider
Originally posted by iko
The problem is not connected with hacking attempts. I opened several tickets about this. I hope cPanel's team will fix the problem shortly.
Could you post the output of the df command?
 

iko

Well-Known Member
PartnerNOC
Jan 29, 2004
56
0
156
Here you are:

Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad0s1a 1032142 68110 881462 7% /
/dev/ad0s1e 1032142 321720 627852 34% /tmp
/dev/ad0s1g 7309884 4183184 2541910 62% /usr
/dev/ad0s1f 8257742 1963698 5633426 26% /var
/dev/ad1s1e 196028810 26060188 154286318 14% /home
procfs 4 4 0 100% /proc
212.36.9.1:/backup/gotobg 153844706 31526996 110010134 22% /backup
 

dendis

Well-Known Member
Jul 18, 2003
49
0
156
one time i got what killed httpd.conf

on the same second 2 accounts from 2 resellers were setup and it simply cut more that 50% of httpd.conf

it is something like I/O problem when 2 process tries to open and write file at the same time (we have a server with 1000+ accounts so it can happen very often)

and if you have server with 10 accounts so you will never have that day when you have to build /etc/shadow with your hands :mad:


also as I have been talking with one data center owner so he said there are a looot of servers getting these problems.
 

Stephanie_R

Active Member
Mar 1, 2004
36
0
156
Our servers are experiencing the same thing.
I have a ticket open and hope for a speedy resolution.