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.

Daemon Problems.. please help
#31
RE: Daemon Problems.. please help
(02-08-2017, 02:05 AM)TGates Wrote: The cron log shows it as being executed and I do not see any errors related to it...?
You may need to check with the software vendor to see if others have had this issue and what their suggestion is.

So i realized when i manually run the cmmand

php -q /var/sentora/hostdata/zadmin/public_html/netserj_com/clients/crons/pop.php

it works perfect with no problems 

POP Import Log
Date: 07/02/2017 12:52:55
---
Host: mail.netserj.com
Email: sales@netserj.com
Mailbox is empty
---
Host: mail.netserj.com
Email: support@netserj.com
Email Count: 1
---
Host: mail.netserj.com
Email: support@netserj.com
Mailbox is empty
---



but when sentora cron manager does it with this

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/netserj_com/clients/crons/pop.php


The error that i receive is 

POP Import Log
Date: 07/02/2017 03:49:59
---
Host: mail.netserj.com
Email: sales@netserj.com
Directory "/tmp" not foundHost: mail.netserj.com
Email: support@netserj.com
Directory "/tmp" not foundHost: mail.netserj.com
Email: support@netserj.com
Directory "/tmp" not found[root@vps1 ~]#

So its not WHMCS because i can do it manually it has something to do with Sentora Cron? or do i need to execute certain way? Im not too sure.
Reply
Thanks given by:
#32
RE: Daemon Problems.. please help
Need to find out where or which /tmp folder it is trying to use and set the proper permissions for it. The cron job is run by apache, so the if permissions are set above 777, the owner needs to be apache also.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#33
RE: Daemon Problems.. please help
I created a tmp folder in the WHMCS folder but im not sure where its looking for the file
Reply
Thanks given by:
#34
RE: Daemon Problems.. please help
My guess is it would be in the WHMCS docs or on their forums.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Problems After PHP7 upgrade bloods 3 6 ,738 12-03-2019, 10:36 AM
Last Post: Jettaman
Server load in daemon Process damanmokha 1 4 ,615 12-11-2018, 12:10 AM
Last Post: fearworks
Uninstalled but have cron daemon issues now HELP suprastan 1 4 ,796 10-07-2018, 03:26 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)