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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > WHMCS CRON problem

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2009, 01:36 AM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Default WHMCS CRON problem

Hello

I have been using litespeed since about an year without any problem.
Recently I moved my whmcs domain to the litespeed powered server, and found that the cron job is getting timed out.

There is a cron job which executes "cron.php" file every day.

When I executed manually, after several seconds it says

"503 Service Unavalilable"

Is it related to php.ini max_exe_ time ?
Reply With Quote
  #2  
Old 01-18-2009, 07:31 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
how are you running the cron?
Reply With Quote
  #3  
Old 01-18-2009, 07:34 PM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
I use cPanel.
I can see the cron at
/var/spool/cron

It is timing out, so I tried manually opening the cron php file thru browser.
Reply With Quote
  #4  
Old 01-18-2009, 08:19 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
No, I meant what does the cron command line look like?

php /path/to/something.php

or

cur http://www.xxx.com/something.php

or what?
Reply With Quote
  #5  
Old 01-18-2009, 09:10 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Getting 503 error usually means that your PHP binary may crashed for some reason. please check error_log and stderr.log for any hint.
Reply With Quote
  #6  
Old 01-19-2009, 07:20 PM
vivek vivek is offline
Senior Member
 
Join Date: Jan 2008
Posts: 275
Once again I did it.
It returned 503 Service Unavailable error

error_log is empty, however


Code:
root@core2quad2 [/etc/httpd/logs]# tail -f stderr.log 
2009-01-19 21:16:41.527 Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
            [-R number] hostname [server]
       -a is equivalent to -v -t *
       -c specifies query class for non-IN data
       -C compares SOA records on authoritative nameservers
       -d is equivalent to -v
       -l lists all hosts in a domain, using AXFR
       -i IP6.INT reverse lookups
       -N changes the number of dots allowed before root lookup is done
       -r disables recursive processing
       -R specifies number of retries for UDP packets
       -t specifies the query type
       -T enables TCP/IP mode
       -v enables verbose output
       -w specifies to wait forever for a reply
       -W specifies how long to wait for a reply
       -4 use IPv4 query transport only
       -6 use IPv6 query transport only
       -s a SERVFAIL response should stop query
2009-01-19 21:16:41.637 Usage: host [-aCdlriTwv] [-c class] [-N ndots] [-t type] [-W time]
            [-R number] hostname [server]
       -a is equivalent to -v -t *
       -c specifies query class for non-IN data
       -C compares SOA records on authoritative nameservers
       -d is equivalent to -v
       -l lists all hosts in a domain, using AXFR
       -i IP6.INT reverse lookups
       -N changes the number of dots allowed before root lookup is done
       -r disables recursive processing
       -R specifies number of retries for UDP packets
       -t specifies the query type
       -T enables TCP/IP mode
       -v enables verbose output
       -w specifies to wait forever for a reply
       -W specifies how long to wait for a reply
       -4 use IPv4 query transport only
       -6 use IPv6 query transport only
       -s a SERVFAIL response should stop query

root@core2quad2 [/etc/httpd/logs]#
Reply With Quote
  #7  
Old 01-20-2009, 08:38 AM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
Can you post the command line that your cron is running?
Reply With Quote
Reply

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 01:33 AM.



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