Linux 2.6.16.33-061227b (Fedora Core)
Sugar Open Source 4.5.1e
Apache/2.0.54
PHP 5.0.4 (cli)
I have just compeleted a SugarCRM install, everything is running great at the moment, users are login in, and recieving email directly into SugarCRM Mailboxes etc, but thay are having to select "Check Mail".
I have looked at the Scheduler and its is set to run ever minute.
The crontab looks like this
I tried adding the user the cron was to as, as it appears not to be in there (probablty intensional)Code:* * * * * cd /var/www/vhosts/mydomain.com/subdomains/crm/httpsdocs; php -f cron.php 2>&1
I treid, root, apache and the user that owns the virtual host. But still the SAFE MODE Restriction error as below appears in the output.
and in the sugarcrm.log I getCode:PHP Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is 10023 is not allowed to access cache/dynamic_fields/modules.php owned by uid 48 in /var/www/vhosts/mydomain.com/subdomains/crm/httpsdocs/modules/DynamicFields/DynamicField.php on line 823
User 10023 is the owner of the Virtual host, and 48 is apacheCode:Tue Aug 7 16:38:15 2007,945 [14832] FATAL SugarCRM - Scheduler cannot write PID file. Please check permissions on cache/modules/Schedulers Tue Aug 7 16:38:15 2007,948 [14832] FATAL SugarCRM - Scheduler cannot write PID file. Please check permissions on cache/modules/Schedulers
I then added the cron job to the apache cron
When I watch the cron log the cron job is ran every minute as the apache user. There is no output, and there is nothing in the sugarcrm.log file either, I entered some debug in the cron.php file, but it appears that nothing is happening at all user the apache user, and no Emails are being polled.Code:crontrab -e -u apache
My httpd.conf contains the correct openbasedir I think
Safe mode is Off in the master settings and the local settings.Code:php_admin_value open_basedir "/var/www/vhosts/mydomain.com/subdomains/crm/httpsdocs:/tmp:/var/lib/php:/Blowfish"
Can anyone help? I know this has been asked before, and sugarchris suggested a fix, removing some code, but this still fails,
Thank you very much for your time and reading all of this.
Regards,
PaulG.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks