![]() |
|
All Domains point to CP after Migration - Printable Version +- Sentora Support Forums (https://senforums.mach-hosting.com) +-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5) +--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32) +---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36) +---- Thread: All Domains point to CP after Migration (/showthread.php?tid=301) |
RE: All Domains point to CP after Migration - webnetvn - 09-18-2014 (09-18-2014, 07:07 AM)kandrews Wrote: apache error logs? well that gives me these errors. but i honestly have ni idea what these mean as they seem sentoa/zpanel specific. Code: [Wed Sep 17 16:35:04.789692 2014] [:error] [pid 1989] [client 69.199.107.250:58319] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 93
[Wed Sep 17 16:35:04.789710 2014] [:error] [pid 1989] [client 69.199.107.250:58319] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 96
[Wed Sep 17 16:47:49.335798 2014] [:error] [pid 1994] [client 69.199.107.250:58388] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 93
[Wed Sep 17 16:47:49.335896 2014] [:error] [pid 1994] [client 69.199.107.250:58388] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 96
[Wed Sep 17 16:47:49.336762 2014] [:error] [pid 1994] [client 69.199.107.250:58388] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 93
[Wed Sep 17 16:47:49.336794 2014] [:error] [pid 1994] [client 69.199.107.250:58388] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 96
[Wed Sep 17 16:47:49.337635 2014] [:error] [pid 1994] [client 69.199.107.250:58388] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 93
[Wed Sep 17 16:47:49.337666 2014] [:error] [pid 1994] [client 69.199.107.250:58388] PHP Notice: Undefined offset: 0 in /etc/zpanel/panel/dryden/sys/versions.class.php on line 96
[Wed Sep 17 16:50:09.765822 2014] [access_compat:error] [pid 2141] [client 66.150.14.185:51287] AH01797: client denied by server configuration: /etc/zpanel/panel/bin/df4
[Wed Sep 17 17:10:05.540993 2014] [access_compat:error] [pid 1989] [client 66.150.14.187:44427] AH01797: client denied by server configuration: /etc/zpanel/panel/bin/df4(09-18-2014, 07:07 AM)kandrews Wrote: If Sentora is generating the vhosts incorrectly please let us know and we can look at getting it fixed actually ones i generate through the panel work fine its the ones iam trying to restore via migration that are having issues. RE: All Domains point to CP after Migration - Me.B - 09-18-2014 Ok this looks intersting could you sudo those commands: Code: sed -i 's|Order allow,deny|Require all granted|I' /etc/zpanel/panel/modules/apache_admin/hooks/OnDaemonRun.hook.php
sed -i '/Allow from all/d' /etc/zpanel/panel/modules/apache_admin/hooks/OnDaemonRun.hook.phpThen add a new website or force vhost to be generated and run cron job. I think this is the fix. M B RE: All Domains point to CP after Migration - kandrews - 09-18-2014 Might be worth adding the domains you which to migrate, then using Module Admin, Apache Config - Force a full rewrite of the vhosts. Then run the daemon cron to have the whole vhost file rewritten via Sentora.. RE: All Domains point to CP after Migration - Me.B - 09-19-2014 Kevin, Apache 2.4 will drop any vhost with: Code: Order allow,deny
Allow from allAs it need to be replaced by Code: Require all grantedhttp://httpd.apache.org/docs/2.4/en/upgrading.html The hook need a patch and we rebuild vhost. That's the main issue I face currently for centos 7, beside mariaDB and some repos. M B RE: All Domains point to CP after Migration - hugo.casanova - 07-02-2015 i install on ubuntu server 15.04, and this problem continue...i had to change to, every vhost to wotk, to: Require all granted RE: All Domains point to CP after Migration - hugo.casanova - 07-02-2015 there is a problem after update my vhost: i changed to: Code: Require all grantedthe file reinitialized and put again: Order Allow,Deny Allow from all Help! RE: All Domains point to CP after Migration - MarkDark - 07-02-2015 I do not want to swear .... But tired sysadmin dropout ... Sentora or ZPanel include work with Apache 2.2 Teach materiel ... requires editing code panel RE: All Domains point to CP after Migration - hugo.casanova - 07-03-2015 (07-02-2015, 05:34 PM)MarkDark Wrote: I do not want to swear .... oohh, ubuntu 15.04 have apache 2.4 any idea to solve this problem? RE: All Domains point to CP after Migration - saharmohamedali - 07-03-2015 you installed on ubuntu 14? while old server on ubuntu 12?
RE: All Domains point to CP after Migration - Me.B - 07-03-2015 Nope he forced install as ubuntu 12.04 and that was wrong. He should force install as 14.04 to get apache 2.4 setup ok. M B |