WHMCS CRON problem

vivek

Well-Known Member
#1
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 ?
 

vivek

Well-Known Member
#3
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.
 

mistwang

LiteSpeed Staff
#5
Getting 503 error usually means that your PHP binary may crashed for some reason. please check error_log and stderr.log for any hint.
 

vivek

Well-Known Member
#6
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]#
 
Top