This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

All Domains point to CP after Migration
#11
RE: All Domains point to CP after Migration
(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 Smile

actually ones i generate through the panel work fine its the ones iam trying to restore via migration that are having issues.
Need a good VPS Host? Check Out Digital Ocean! https://www.digitalocean.com/?refcode=5cc7d2894482
Reply
Thanks given by:
#12
RE: All Domains point to CP after Migration
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.php

Then add a new website or force vhost to be generated and run cron job.

I think this is the fix.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#13
RE: All Domains point to CP after Migration
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..
Reply
Thanks given by:
#14
RE: All Domains point to CP after Migration
Kevin,

Apache 2.4 will drop any vhost with:

Code:
Order allow,deny
Allow from all

As it need to be replaced by


Code:
Require all granted


http://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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: hugo.casanova
#15
RE: All Domains point to CP after Migration
i install on ubuntu server 15.04, and this problem continue...i had to change to, every vhost to wotk, to:

Require all granted
Reply
Thanks given by:
#16
RE: All Domains point to CP after Migration
there is a problem after update my vhost: i changed to: 
Code:
Require all granted
but after minutes / half hour,
the file reinitialized and put again:

  Order Allow,Deny
  Allow from all


Help!
Reply
Thanks given by:
#17
RE: All Domains point to CP after Migration
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
Reply
Thanks given by:
#18
RE: All Domains point to CP after Migration
(07-02-2015, 05:34 PM)MarkDark Wrote: 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

oohh, ubuntu 15.04 have apache 2.4
any idea to solve this problem?
Reply
Thanks given by:
#19
RE: All Domains point to CP after Migration
you installed on ubuntu 14? while old server on ubuntu 12?

[Image: 1433173618.jpg]
Reply
Thanks given by:
#20
RE: All Domains point to CP after Migration
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Postfix relay specific domains to mailjet johnnyp 0 2 ,066 01-29-2021, 04:44 AM
Last Post: johnnyp
Disabling warning and notice logging in /var/sentora/logs/domains/* JSmith 0 2 ,492 01-02-2021, 07:50 PM
Last Post: JSmith
Add on Domains not working but Main domain works luckyviet 2 5 ,555 03-18-2020, 07:38 PM
Last Post: AanaNahum

Forum Jump:


Users browsing this thread: 1 Guest(s)