Control Web Panel
WebPanel => CentOS 7 Problems => Topic started by: vojjin on January 26, 2019, 12:53:35 PM
-
This is my 4th CWP server and I never experienced problem like this one. Site is showing "It works!", and I use solution founded here to rebuild Apache conf. After rebuilding Apache, httpd.conf was almost entirely erased, leaving just last three lines in the file:
ExtendedStatus On
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf
Solution to fix this problem was to reinstall cwp-httpd which I did, and after that "It works!" happened again.... vicious cycle...
Any idea how to fix this issue?
-
You really have some serious problem. The control panel shouldn't left three lines in your httpd.conf.
What version are you using..??
Check your file: /usr/local/apache/conf.d/vhosts.conf
The content must be:
IncludeOptional /usr/local/apache/conf.d/vhosts/*.conf
Regards,
Netino
-
I'm using the latest version. I have fixed somehow - turned on NAT mode (which I never turned on on other servers), changed DNS records to local IP and suddenly all start working. If you ask me to repeat how and what I exactly did, I cannot reproduce my steps... Now httpd.conf is regularly updated.
-
You must restore the file from the backup created before recompiling apache /usr/local/apache/conf/httpd.conf-cwpsave, or if there is not try to reinstall cwp-httpd again:
yum remove cwp-httpd
yum install cwp-httpd
I'm having the same problem on different new installations of cwp pro, after apache recompilation only those three lines remain.
Also recompiling is useless because the additional settings are not loaded. This problem is only for new installation of cwp
I do not think the serious problem has it vojjin... 8)
-
Hi,
After Apache Re-Build in CWP6, the configuration file is cleared, can you please assist us to fix the issue
-
Loaded plugins: fastestmirror, replace, security
Loading mirror speeds from cached hostfile
* base: dl.za.jsdaav.net
* extras: mirror.bitco.co.za
* rpmforge: ftp.is.co.za
* updates: dl.za.jsdaav.net
Setting up Install Process
Package openssl-devel-1.0.1e-57.el6.x86_64 already installed and latest version
Package apr-util-devel-1.6.0-1.x86_64 already installed and latest version
Package apr-devel-1.6.2-1.x86_64 already installed and latest version
Package apr-1.6.2-1.x86_64 already installed and latest version
Package apr-util-1.6.0-1.x86_64 already installed and latest version
Nothing to do
Stopping httpd: [60G[[0;31mFAILED[0;39m]
Starting httpd: [60G[[0;31mFAILED[0;39m]
Apache Rebuild Completed
Error:Can't add notification!
-
Some how we managed to resolve this issue but now Internal Server Error is coming. We fix the permission but still the issue is not yet resolved.