LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   WHMCS CRON problem (http://www.litespeedtech.com/support/forum/showthread.php?t=2633)

vivek 01-18-2009 01:36 AM

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 ?

ffeingol 01-18-2009 07:31 PM

how are you running the cron?

vivek 01-18-2009 07:34 PM

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.

ffeingol 01-18-2009 08:19 PM

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?

mistwang 01-18-2009 09:10 PM

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 01-19-2009 07:20 PM

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]#


ffeingol 01-20-2009 08:38 AM

Can you post the command line that your cron is running?


All times are GMT -7. The time now is 06:17 PM.