We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

please help, cron in bluehost | Forum

smec's
smec's Jun 1 '16

I have more days I search to no avail.

here is my problem with the cron job.

I just take a server at bluehost.

I block the cron job.

the three commands:

1 * wget -q -O / dev / null http://www.yoursite.com/ow_cron/run.php

2 * lynx http://www.yoursite.com/ow_cron/run.php

3 * curl http://www.yoursite.com/ow_cron/run.php

I get errors! with lynx and no answer with wegt and curl 


and I looked for those who have the same problem that I have found this:

/ramdisk/bin/php5 -c /home4/xxx/public_html/ow_cron/run.php


I have this error:


PHP: Error parsing /home4/xxx/public_html/ow_cron/run.php on line 5

X-Powered-By: PHP / 5.2.17

Content-type: text / html


I try to fix my php.ini in control as a result:


/ramdisk/bin/php5 -c /home4/xxx/public_html/php.ini /home4/xxx/public_html/ow_cron/run.php



I get to this error:


Failed loading /usr/php/56/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/56/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_execute_ex

Failed loading /usr/php/56/usr/lib64/php/modules/ixed.lin: /usr/php/56/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_is_auto_global_quick

Failed loading /usr/php/56/usr/lib64/php/modules/ioncube_loader_lin.so: /usr/php/56/usr/lib64/php/modules/ioncube_loader_lin.so: undefined symbol: zend_execute_ex

Failed loading /usr/php/56/usr/lib64/php/modules/ixed.lin: /usr/php/56/usr/lib64/php/modules/ixed.lin: undefined symbol: zend_is_auto_global_quick

Failed loading /usr/php/56/usr/lib64/php/modules/ZendGuardLoader.so: /usr/php/56/usr/lib64/php/modules/ZendGuardLoader.so: undefined symbol: zend_new_interned_string

Failed loading /usr/php/56/usr/lib64/php/modules/opcache.so: /usr/php/56/usr/lib64/php/modules/opcache.so: undefined symbol: zend_new_interned_string

Status: 500 Internal Server Error

Content-type: text / html

The Forum post is edited by smec's Aug 3 '16
dave Leader
dave Jun 1 '16
Hiya smecky :) good to see you but sad you have a problem



have you tried just a basic simple cron job command nothing fancy 


like this for subdomain
php -q /home/username/public_html/site.com/ow_cron/run.php


or this for domain in public html 
php -q /home/username/public_html/ow_cron/run.php


let us know please

The Forum post is edited by dave Jun 1 '16
dave Leader
dave Jun 1 '16

also first thing to check is to see if they have php 5.5 installed  




The Forum post is edited by dave Jun 1 '16
dave Leader
dave Jun 1 '16
it also looks like you dont have the ionCube library loaded 


there are two things here.. 


first ask your host what their most current version of the ionCube is. Many hosts do not update their ionCube files unless asked to do so.  Most have outdated versions.  If they update their files it should world if you have the right address for them. 


If they do not or will not update the library you can do so yourself.  


all you need to do is go to the ionCube website http://www.ioncube.com/loaders.php


and download the loader you need for your server. 


Then upload those to a folder in your site root, such as public_html you can call the folder ionCube if you want


then inside your php.ini file put something like this (this is different for some servers so you will have google if needed or ask you host for right command) 


zend_extension = /home/username/public_html/ionCube/ioncube_loader_lin_5.2.so


or whatever your version is goes in the 5.2.so   


then it should work.  


When you download the ioncube get the legacy version as well (older versions) because some software is still encrypted in the older versions. 


Hope that helps... :)




The Forum post is edited by dave Jun 1 '16
ross Team
ross Jun 1 '16
Dave +1

Smec contact bluehost and request to enable two modules: 

ioncube_loader_lin.soZendGuardLoader.so

then restart your server


smec's
smec's Jun 2 '16
ok, i will do this.

thank you very much

smec's
smec's Jun 2 '16

the support of my hosting he confirme all its ok fore me

and i check it in my www.mywebsite/info.php


with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.14, Copyright (c) 2002-2015, by ionCube Ltd.
    with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies


my config php is here : 


PHP 5.6 (FastCGI) [Beta, check site functionality for compatibility after enabling]


Additional extensions available for InstallationHttp
Magick Wand
Mail Parse
OAuth
OCI8
Upload Progress
IonCube
SourceGuardian


and i can't resolve my issue :( 















ross Team
ross Jun 2 '16
I'm sorry smec but the issue you get have nothing to do with the software, the pathes and errors clearly shows the issue with the server and it's modules. 
smec's
smec's Jun 2 '16

thx ross i understund.

so with this commandes  /usr/php/54/usr/bin/php -q /home4/xxxx/public_html/ow_cron/run.php


i have this errr returned in email :

mount: warning: /var/fake/xxx/var/lib seems to be mounted read-write.

The Forum post is edited by smec's Aug 3 '16
ross Team
ross Jun 2 '16
there's something wrong with the lib folder, it has nothing to do with the software it is server issue. contact your hosting provider support team to resolve the issue. 
smec's
smec's Jun 2 '16
ok, i will contact them now, thx very much 
smec's
smec's Jun 2 '16

in my server they all check.

they told me that everything is ok.

and I still have the same problem the :( since 3 days


dave Leader
dave Jun 2 '16
smec i have done a few searchs for the error message and have found a few results but none of them are exact.  But you might try a few things. 


do a google search for   seems to be mounted read-write


and   mount: warning: /var/fake/    and you will see what i mean. 



also if bh is not helping you then if you are using cpanel - post a message on the cpanel forum 


https://forums.cpanel.net/


about what is happening.  They will tell you exactly what the issue is.   Then you can tell bh exactly what to do.   


Now understand that cpanel forum is pretty much for vps and dedi server owners. But there are also shared hosting questions on there about cpanel itself.  They may tell you to ask your host if you tell them you are on a shared server.  But if you post the error someone im sure can tell you why its happening. 


If not there then ask on this site.  


http://www.webhostingtalk.com/  


they for sure will be able to tell you whats going on. tons of helpful volunteers there. :)



The Forum post is edited by dave Jun 2 '16
smec's
smec's Jun 2 '16
ok, thx dave i will see
smec's
smec's Jun 2 '16
i getting this error : 


1. mount: /var/fake/[USER]/var/lib/mysql not mounted already, or bad option 

2. cp: cannot create symbolic link `/var/fake/[USER]/etc/./exim.pl': File exists 

3. /usr/local/cpanel/bin/jailshell: line 1: 8371 Bus error 


someone can help me, pls

smec's
smec's Jun 2 '16
mount: /var/fake/xxx/var/lib/mysql not mounted already, or bad option


% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0

The Forum post is edited by smec's Aug 3 '16
dave Leader
dave Jun 2 '16
maybe your cpanel version is outdated, are you on shared, vps, or dedi?


https://forums.cpanel.net/threads/cron-jobs-not-working-cpanel-11-42-0.428281/


smec's
smec's Jun 3 '16

Quote from dave maybe your cpanel version is outdated, are you on shared, vps, or dedi?


https://forums.cpanel.net/threads/cron-jobs-not-working-cpanel-11-42-0.428281/


shared 


my versions :
cPanel 11.52.6
Apache 2.2.31
PHP 5.4.24
MySQL 5.5.42

The Forum post is edited by smec's Jun 3 '16
dave Leader
dave Jun 3 '16
ok so let me ask you why are you putting in your cron command like this 


/usr/php/54/usr/bin/php -q /home4/yourabit/public_html/ow_cron/run.php


on a shared server it should work with just this part


php -q /home4/yourabit/public_html/ow_cron/run.php


try that please :)

The Forum post is edited by dave Jun 3 '16
dave Leader
dave Jun 3 '16
ok you need to have php 5.5 for the new version of oxwall 
Pages: 1 2 3 »