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.

Need Urgent Help !!!
#1
Need Urgent Help !!!
It was working unless I added two new domains which didn't go live for more than 3 hours so I decided to run the daemon manually but when I run the following 

Code:
php -q /etc/zpanel/panel/bin/daemon.php

I get the error below, please help I am not able to host any more websites on my VPS.
Code:
php -q /etc/zpanel/panel/bin/daemon.php
PHP Warning:  chdir(): open_basedir restriction in effect. File(/etc/zpanel/panel/) is not within the allowed path(s): (/var/zpanel/hostdata/zadmin/) in /etc/zpanel/panel/bin/daemon.php on line 16
PHP Warning:  require_once(): open_basedir restriction in effect. File(dryden/loader.inc.php) is not within the allowed path(s): (/var/zpanel/hostdata/zadmin/) in /etc/zpanel/panel/bin/daemon.php on line 18
PHP Warning:  require_once(dryden/loader.inc.php): failed to open stream: Operation not permitted in /etc/zpanel/panel/bin/daemon.php on line 18
PHP Fatal error:  require_once(): Failed opening required 'dryden/loader.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /etc/zpanel/panel/bin/daemon.php on line 18
Reply
Thanks given by:
#2
RE: Need Urgent Help !!!
You messed up with your default settings for sure.

Did you try to follow some bright guides how to change your open_basedir defaults?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Need Urgent Help !!!
Yes, this smells like you changes something in your open_basedir lists.
I'm looking at my httpd-chosts.conf file and there is no basedir directive for panel's virtual host. So what you probably need to do is remove open_basedir for your sentoras vhost, reset apache and it should work.

So, go to etc/zpanel/configs/apache
edit httpd-vhosts.conf and check OpenBasedir directives in first <VirtualHost *:80> entry (first one should be panel's vhost). If it's not for some wierd reason, find it and remove line that looks like:
php_admin_value open_basedir "/var/zpanel/hostdata/USER/public_html/DOMAIN:/var/zpanel/temp/ etc."
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Security issue urgent johnnyp 7 15 ,271 02-27-2020, 06:19 PM
Last Post: johnnyp
Urgent: Accidentally deleted httpd-vhosts.conf file any one have this file pls share nscloud 4 9 ,857 10-20-2017, 04:43 AM
Last Post: Me.B
[FIXED] Urgent Problems with Subdomains | Cinfu Host JimKnopf 7 17 ,623 06-12-2017, 09:20 AM
Last Post: JimKnopf

Forum Jump:


Users browsing this thread: 1 Guest(s)