WHMCS CRON problem

Discussion in 'Install/Configuration' started by vivek, Jan 18, 2009.

  1. vivek

    vivek New Member

    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 ?
  2. ffeingol

    ffeingol Member

    how are you running the cron?
  3. vivek

    vivek New Member

    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.
  4. ffeingol

    ffeingol Member

  5. mistwang

    mistwang LiteSpeed Staff

    Getting 503 error usually means that your PHP binary may crashed for some reason. please check error_log and stderr.log for any hint.
  6. vivek

    vivek New Member

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

    ffeingol Member

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

Share This Page