Cloudlinux multi-php editor errors

arshaanc

Member
Sep 6, 2018
8
0
1
india
cPanel Access Level
Root Administrator
hi all
i use latest version of cpanel and cloudlinux , In the last 2 days, I was seeing a problem in easy apache and error in cpanel !!
-----------------------------------------One of them
RenderFailed:file error = /var/cpanel/templates/apache2/vhost.default:not found
------------------------------------------------------------------
Attached my troublesome photos
The first area to deal with was the multi php editor
photo_2018-09-03_19-36-32.jpg



And even when making a subdomain, it got into trouble
photo_2018-09-04_10-56-57.jpg
And by running the yum reinstall ea-apache24 -y command, all problems were resolved!
But the next day that same problem again came and again by running the jjjjj command, all problems were resolved
That's exactly the problem every day, and every day I'm solving the problem with the same command

This problem occurs every day
Thank you for your guide

The purpose of the jjjj command is to do this
yum reinstall ea-apache24 -y command
thank you
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,296
313
Houston
Hi @arshaanc

So the issue is every day you're having to reinstall apache? Do you receive the same errors every time? When you try and rebuild the apache configuration (when the errors are occurring) what do you see?

Code:
/scripts/rebuildhttpdconf
Can you provide some detail on your system, anything 3rd party (whether or not it seems related) would be helpful.

Thanks!
 

arshaanc

Member
Sep 6, 2018
8
0
1
india
cPanel Access Level
Root Administrator
hi thanks for your help
After each run, approximately 20 to 22 hours later, the same problem occurs again and I have to execute the command again.
Yes, every time i see the same thing, the problem is solved by runnig this command yum reinstall ea-apache24 -y.

when rebuild apache by running command there is no any errors , compile completely and the final : Restart automatically and ... fix all problems.!

this command :
-----------------------------
/scripts/rebuildhttpdconf
-----------------------------
Is this command for easyapache4?
Does not set the configurations?
Do I need to restart server after running commands?
thank you
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,296
313
Houston
Hi @arshaanc

You shouldn't need to reinstall ea-apache24 every couple of days though, so something must be changing the configuration.

Is this command for easyapache4?
No the command I provided just rebuilds the configuration for Apache

Does not set the configurations?
It doesn't actually set them just uses the most recent data

Do I need to restart server after running commands?
Yes you should restart apache after rebuilding the configuration file. Do you get an error when restarting apache?
 

arshaanc

Member
Sep 6, 2018
8
0
1
india
cPanel Access Level
Root Administrator
---------------------------
Do you get an error when restarting apache?
---------------------------
no nothing error when restart apache ,compile completely and restart !

what is your suggestion for solving this strange problem? because now it's okay
but tomorrow is not
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,296
313
Houston
I think we need a closer look at the system. Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!