Control Web Panel
WebPanel => Apache => Topic started by: d2thanh on October 23, 2015, 04:48:30 AM
-
Hello
Today, I rebuild from Apache + Nginx + Varnish to Apache only but it have trouble like image attached and some vhost missed IP addres so Apache can't start.
(http://s3.postimg.org/z4oj9qumb/2015_10_23_11_45_49_CWP_admin_Opera.png)
Your CWP version: 0.9.8.9
Please help me.
Thank you.
-
Hi.
Check if you have setted "Shared IP", also you can change it in the vhost.conf file: "Apache Settings" -> "Edit Apache vHosts"
-
I put shared IP direct to vHost template file. It solved Apache only build.
But when switch to Apache + nginx or Apache + nginx + varnish, this issue happen again.
Look like nginx configuration and varnish still use it to read shared IP but can't.
-
Hi.
Seems like you didn't set IP CWP.admin.
"CWP Settings" -> "Edit Settings" -> "Shared IP".
-
Hello
I did it, but it doesn't help
Seem something weird happened here:
(http://s27.postimg.org/4kx6u9k2b/2015_10_27_16_36_12_Action_center.png)
As you see, dev.negabox.com and piwik.november.vn doesn't have IP, but static.menhthientu.com and the rest have.
Maybe something really wrong in vhost_rebuild.php
-
Hello,
do you have any idea about this case?
Please help me....
Thank you.
-
Hello,
do you have any idea about this case?
Please help me....
Thank you.
No, vhost_rebuld.php works great. We're couldn't reproduce the issue.
-
Notice: Undefined index: ip_address in /usr/local/cwpsrv/htdocs/resources/admin/modules/vhost_rebuild.php(1) : eval()'d code(1) : eval()'d code on line 55
I confirm the vhost_rebuild.php have an issue.
On a fresh install of CWP, domain's template is call only for the owner domain (the one at user register).
For all other the subdomain template is call.
The issue appears when you rebuild subdomains hasn't got any IP address.
For a quick fixed, if no IP take the shared IP of the panel.
-
Thanks idsquare
Look like not only me met this trouble.
I want to use nginx + varnish + apache for this server. If only use Apache, I can do that quick fix (actually I did to make my sites run). But nginx+varnish+apache, it is very complicated.
@Igor: did you try to reproduce with idsquare's step?