Cron Manager doesn't appear to be working in Sentora v1.0.0
#5
RE: Cron Manager doesn't appear to be working in Sentora v1.0.0
So I noticed something else here which may be related to my issue.

I noticed that when I would copy and paste the line of code in cron:
php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php

while I was inside the directory /var/sentora/hostdata/zadmin/public_html/mysite_com/ it would work just fine.

However if I stepped out of that directory into let's say " /home" and then ran the same line in the terminal it would actually give an error and not run. So it seems this may be my issue. Although I don't understand why it would be an issue as the path is still there, but I think I am getting closer to understanding this. Can someone comment on this?

Here is what happens when I run this line in the terminal OUTSIDE of the directory of the root directory of this website.

php -d suhosin.executor.func.blacklist="passthru, show_source, shell_exec, system, pcntl_exec, popen, pclose, proc_open, proc_nice, proc_terminate, proc_get_status, proc_close, leak, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellcmd, escapeshellarg, exec" -d open_basedir="/var/sentora/hostdata/zadmin/:/var/sentora/temp/" /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php
PHP Warning: include_once(): open_basedir restriction in effect. File(./includes/bootstrap.inc) is not within the allowed path(s): (/var/sentora/hostdata/zadmin/:/var/sentora/temp/) in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Warning: include_once(./includes/bootstrap.inc): failed to open stream: Operation not permitted in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Warning: include_once(): Failed opening './includes/bootstrap.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 8
PHP Fatal error: Call to undefined function drupal_bootstrap() in /var/sentora/hostdata/zadmin/public_html/mysite_com/cron.php on line 9
Reply


Messages In This Thread
RE: Cron Manager doesn't appear to be working in Sentora v1.0.0 - by americanninja - 04-12-2015, 09:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora cp steps 421darren 6 17 ,376 06-12-2025, 03:29 PM
Last Post: AnthonyDillard
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 470 05-27-2025, 06:10 PM
Last Post: DylanForeman
Is Sentora dead? rajeevrrs 2 5 ,716 12-17-2022, 09:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 3 Guest(s)