LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > My cronjob not working

Reply
 
Thread Tools Display Modes
  #1  
Old 06-11-2010, 02:07 PM
newlitespeeduser newlitespeeduser is offline
New Member
 
Join Date: Jun 2010
Posts: 7
Arrow My cronjob not working

Hi.I am trial user at the moment for litespeed.
my cronjob working without problem when apache server active.
but it is not working when i switched to liteserver.

here is my cronjob code:


i enjoyed litespeed but this cronjob problem really hurting me.please help
Reply With Quote
  #2  
Old 06-11-2010, 02:24 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
should be a PHP issue, maybe extra PHP module is required for that script.
compare phpinfo() page from LiteSpeed and Apache, make sure litespeed include all modules except Apache specific.
Reply With Quote
  #3  
Old 06-12-2010, 05:12 AM
newlitespeeduser newlitespeeduser is offline
New Member
 
Join Date: Jun 2010
Posts: 7
thanks for answer.how can i fix this? i need to mail cpanel?
Reply With Quote
  #4  
Old 06-12-2010, 06:21 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
maybe you haven't done "Build Matching PHP Binary"?
how about access http://www.xxx.com/xxxcheyaz.php from your browser?
Reply With Quote
  #5  
Old 06-12-2010, 07:32 AM
newlitespeeduser newlitespeeduser is offline
New Member
 
Join Date: Jun 2010
Posts: 7
yeah.i saw now.
i could open/enter url from browser when i using apache server.

but iam getting this error after switching to litespeed:

Warning: file_put_contents(ache/iketler.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/nsid/public_html/cheyaz.php on line 7

line 7: file_put_contents("ache/iketler.php","<?php \n return " . var_export($iketler,true).";\n?>");

i changed chmod to 777 but nothing changed. please help

Last edited by newlitespeeduser; 06-12-2010 at 07:54 AM..
Reply With Quote
  #6  
Old 06-12-2010, 02:40 PM
newlitespeeduser newlitespeeduser is offline
New Member
 
Join Date: Jun 2010
Posts: 7
please kindly help me
Reply With Quote
  #7  
Old 06-12-2010, 11:44 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
Quote:
i could open/enter url from browser when i using apache server.
most likely you haven't done "Build Matching PHP Binary" for litespeed.

please follow or check
http://www.litespeedtech.com/support...pache:ezcpanel
"How to convert your cPanel server to LiteSpeed in 20 minutes"

to see if you can resolve the issue yourself.

Please note step 4: best to set "Port Offset" to non-zero, say 2000 or 5000 etc. before ensuring you've setup litespeed correctly. in this mode, lsws and apache are running in parallel --- apache listen to normal port 80, lsws listen to port 2080 or 5080.
Reply With Quote
  #8  
Old 06-13-2010, 04:25 AM
newlitespeeduser newlitespeeduser is offline
New Member
 
Join Date: Jun 2010
Posts: 7
i done it but problem continue..

Warning: file_put_contents(ache/iketler.php) [function.file-put-contents]: failed to open stream: Permission denied in /home/nsid/public_html/cheyaz.php on line 7
Reply With Quote
  #9  
Old 06-13-2010, 05:09 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
location of iketler.php?

/home/nsid/public_html/ache/iketler.php?

then check permission of /home/nsid/public_html/ache:
Code:
ls -ald /home/nsid/public_html/ache
try to change it to 777
Reply With Quote
  #10  
Old 06-14-2010, 07:30 AM
newlitespeeduser newlitespeeduser is offline
New Member
 
Join Date: Jun 2010
Posts: 7
well.it is not about with 777 chmod.

i fixed this problem after deleted my cronjob and created it again while using litespeed server.

regards
Reply With Quote
Reply

Tags
cronjob

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:48 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.