Skip to main content

I get 503 and 504 errors 24 hours after updating nameservers

Comments

12 comments

  • Thor Eric

    I ment, I have installed cpanel successfully with two nameservers, but one ip address.......

    0
  • quietFinn

    AFAIK you don't get 503 errors because of nameserver problems.

    Those errors you should be able to see in /etc/apache2/logs/error_log

     

    0
  • Thor Eric

    Hi, I tried to access the error log with pico from /etc/apache2/logs/error_log.This is the errors for the last day:

    [Tue May 21 23:45:12.978498 2024] [proxy_fcgi:error] [pid 197547] [client 206.189.37.170:57453] AH01071: Got error 'Primary script unknown'
    [Wed May 22 00:04:22.850401 2024] [proxy_fcgi:error] [pid 197546] [client 157.55.39.8:22865] AH01071: Got error 'Primary script unknown'
    [Wed May 22 00:23:53.343789 2024] [core:crit] [pid 201614] (13)Permission denied: [client 71.6.134.235:54666] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 00:48:57.228589 2024] [cgi:error] [pid 197545] [client 198.251.84.200:48472] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 00:48:57.364058 2024] [cgi:error] [pid 219918] [client 198.251.84.200:51760] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 00:48:57.499091 2024] [cgi:error] [pid 218169] [client 198.251.84.200:51764] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 01:22:12.877281 2024] [core:crit] [pid 218169] (13)Permission denied: [client 41.236.217.189:45406] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 01:28:19.471671 2024] [proxy_fcgi:error] [pid 197750] (70007)The timeout specified has expired: [client 94.156.79.9:37578] AH01075: Error dispatching request to : (polling)
    [Wed May 22 01:28:21.444187 2024] [proxy_fcgi:error] [pid 218170] (70007)The timeout specified has expired: [client 94.156.79.9:37590] AH01075: Error dispatching request to : (polling)
    [Wed May 22 01:34:28.946067 2024] [core:crit] [pid 197543] (13)Permission denied: [client 41.35.251.222:44053] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 01:37:29.288360 2024] [proxy_fcgi:error] [pid 201614] (70007)The timeout specified has expired: [client 54.36.149.43:19113] AH01075: Error dispatching request to : (polling)
    [Wed May 22 01:37:29.743801 2024] [proxy_fcgi:error] [pid 197545] (70007)The timeout specified has expired: [client 66.249.64.96:46592] AH01075: Error dispatching request to : (polling)
    [Wed May 22 01:40:09.443733 2024] [proxy_fcgi:error] [pid 218170] (70007)The timeout specified has expired: [client 54.88.179.33:57193] AH01075: Error dispatching request to : (polling)
    [Wed May 22 01:41:09.355651 2024] [proxy_fcgi:error] [pid 218169] (70007)The timeout specified has expired: [client 35.171.144.152:44531] AH01075: Error dispatching request to : (polling)
    [Wed May 22 01:48:29.278613 2024] [core:crit] [pid 197544] (13)Permission denied: [client 41.44.27.155:44591] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 02:06:30.643526 2024] [core:crit] [pid 218170] (13)Permission denied: [client 197.55.67.91:37885] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 02:14:22.968423 2024] [core:crit] [pid 197543] (13)Permission denied: [client 199.45.155.25:57746] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 02:14:31.964965 2024] [core:crit] [pid 218170] (13)Permission denied: [client 199.45.155.25:37408] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 02:15:27.172340 2024] [proxy_fcgi:error] [pid 197547] (70007)The timeout specified has expired: [client 34.38.151.7:33712] AH01075: Error dispatching request to : (polling)
    [Wed May 22 02:18:00.367666 2024] [proxy_fcgi:error] [pid 197750] (70007)The timeout specified has expired: [client 198.235.24.60:62248] AH01075: Error dispatching request to : (polling)
    [Wed May 22 02:19:04.651642 2024] [proxy_fcgi:error] [pid 219918] (70007)The timeout specified has expired: [client 199.45.155.25:46398] AH01075: Error dispatching request to : (polling)
    [Wed May 22 03:22:11.659725 2024] [core:crit] [pid 197547] (13)Permission denied: [client 199.45.155.32:48382] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 03:22:18.534673 2024] [core:crit] [pid 218169] (13)Permission denied: [client 199.45.155.32:45494] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 03:44:35.488695 2024] [core:crit] [pid 218169] (13)Permission denied: [client 167.94.138.51:57446] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 03:44:40.211823 2024] [core:crit] [pid 197545] (13)Permission denied: [client 167.94.138.51:44956] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 03:49:20.747629 2024] [proxy_fcgi:error] [pid 219918] (70007)The timeout specified has expired: [client 167.94.138.51:36552] AH01075: Error dispatching request to : (polling)
    [Wed May 22 03:51:32.643637 2024] [proxy_fcgi:error] [pid 197547] (70007)The timeout specified has expired: [client 52.167.144.145:13380] AH01075: Error dispatching request to : (polling)
    [Wed May 22 03:57:10.742338 2024] [proxy_fcgi:error] [pid 201614] (70007)The timeout specified has expired: [client 66.249.64.110:57924] AH01075: Error dispatching request to : (polling)
    [Wed May 22 03:57:37.642235 2024] [proxy_fcgi:error] [pid 197546] (70007)The timeout specified has expired: [client 15.204.182.106:52050] AH01075: Error dispatching request to : (polling)
    [Wed May 22 03:58:00.343689 2024] [proxy_fcgi:error] [pid 218170] (70007)The timeout specified has expired: [client 5.164.29.116:46804] AH01075: Error dispatching request to : (polling)
    [Wed May 22 04:13:57.935279 2024] [cgi:error] [pid 218170] [client 89.190.156.175:35888] AH02811: script not found or unable to stat: /home/thoreric/public_html/cgi-bin/luci
    [Wed May 22 04:34:22.170170 2024] [proxy_fcgi:error] [pid 197543] (70007)The timeout specified has expired: [client 79.124.59.10:60000] AH01075: Error dispatching request to : (polling)
    [Wed May 22 04:34:36.729932 2024] [cgi:error] [pid 197750] [client 198.251.84.200:38978] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 04:34:36.864959 2024] [cgi:error] [pid 197544] [client 198.251.84.200:38994] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 04:34:37.000174 2024] [cgi:error] [pid 201614] [client 198.251.84.200:38998] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 04:38:20.088198 2024] [core:crit] [pid 197545] (13)Permission denied: [client 197.40.22.89:35188] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 04:38:26.663180 2024] [core:crit] [pid 218170] (13)Permission denied: [client 197.40.22.89:35199] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 04:50:39.442639 2024] [proxy_fcgi:error] [pid 219918] (70007)The timeout specified has expired: [client 42.83.147.56:57738] AH01075: Error dispatching request to : (polling)
    [Wed May 22 04:52:14.816883 2024] [proxy_fcgi:error] [pid 197546] (70007)The timeout specified has expired: [client 167.172.42.247:54804] AH01075: Error dispatching request to : (polling)
    [Wed May 22 05:41:44.258989 2024] [proxy_fcgi:error] [pid 197547] (70007)The timeout specified has expired: [client 66.249.70.8:50676] AH01075: Error dispatching request to : (polling)
    [Wed May 22 05:43:57.905109 2024] [proxy_fcgi:error] [pid 197545] (70007)The timeout specified has expired: [client 103.203.59.1:47778] AH01075: Error dispatching request to : (polling)
    [Wed May 22 06:02:08.426644 2024] [core:crit] [pid 197543] (13)Permission denied: [client 41.45.194.180:43479] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 06:14:59.588665 2024] [core:crit] [pid 197547] (13)Permission denied: [client 199.45.154.53:59484] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 06:15:09.350075 2024] [core:crit] [pid 218169] (13)Permission denied: [client 199.45.154.53:56990] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 06:45:19.927654 2024] [core:crit] [pid 197543] (13)Permission denied: [client 51.158.154.227:58694] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 06:47:11.732704 2024] [core:crit] [pid 258279] (13)Permission denied: [client 156.196.70.203:49458] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 07:00:51.240097 2024] [core:crit] [pid 201614] (13)Permission denied: [client 197.33.185.39:52199] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 07:22:01.937189 2024] [cgi:error] [pid 258279] [client 198.251.84.200:51596] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 07:22:02.084744 2024] [cgi:error] [pid 258271] [client 198.251.84.200:51606] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 07:22:02.231979 2024] [cgi:error] [pid 201614] [client 198.251.84.200:51610] AH01215: 400: No cPanel user controls a local domain called \xe2\x80\x9cmovietube.no\xe2\x80\x9d. at cgi-priv/get_local.cgi.pl line 151.: /usr/local/cpanel/cgi-priv/get_local.cgi
    [Wed May 22 07:26:04.369569 2024] [core:crit] [pid 197545] (13)Permission denied: [client 51.158.154.227:58314] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 07:26:34.687690 2024] [core:crit] [pid 197543] (13)Permission denied: [client 156.214.65.60:52944] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 07:31:51.630577 2024] [proxy_fcgi:error] [pid 218169] (70007)The timeout specified has expired: [client 169.197.86.98:61407] AH01075: Error dispatching request to : (polling)
    [Wed May 22 07:34:06.330957 2024] [proxy_fcgi:error] [pid 258279] (70007)The timeout specified has expired: [client 66.249.64.96:62092] AH01075: Error dispatching request to : (polling)
    [Wed May 22 07:37:07.147027 2024] [proxy_fcgi:error] [pid 258214] (70007)The timeout specified has expired: [client 66.249.64.107:44441] AH01075: Error dispatching request to : (polling)
    [Wed May 22 07:39:29.531613 2024] [proxy_fcgi:error] [pid 197543] (70007)The timeout specified has expired: [client 54.36.148.202:37025] AH01075: Error dispatching request to : (polling)
    [Wed May 22 07:44:25.632278 2024] [core:crit] [pid 197547] (13)Permission denied: [client 167.94.138.60:38578] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 07:44:30.632335 2024] [core:crit] [pid 197544] (13)Permission denied: [client 167.94.138.60:59800] AH00529: /home/thoreric/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/home/thoreric/public_html/' is executable
    [Wed May 22 07:48:36.832758 2024] [proxy_fcgi:error] [pid 201614] (70007)The timeout specified has expired: [client 195.191.219.131:43216] AH01075: Error dispatching request to : (polling)
    [Wed May 22 07:49:14.874982 2024] [proxy_fcgi:error] [pid 218169] (70007)The timeout specified has expired: [client 167.94.138.60:58064] AH01075: Error dispatching request to : (polling)
    [Wed May 22 08:08:58.754966 2024] [proxy_fcgi:error] [pid 197543] (70007)The timeout specified has expired: [client 81.166.32.210:65486] AH01075: Error dispatching request to : (polling)
    [Wed May 22 08:09:01.558886 2024] [proxy_fcgi:error] [pid 197547] (70007)The timeout specified has expired: [client 81.166.32.210:65485] AH01075: Error dispatching request to : (polling)
    [Wed May 22 08:09:04.670924 2024] [proxy_fcgi:error] [pid 197545] (70007)The timeout specified has expired: [client 81.166.32.210:65490] AH01075: Error dispatching request to : (polling)

    0
  • Thor Eric

    Hi, The folder /public_html/ was not executable. I have chmod-ed the folder 755. I am testing now.

    0
  • quietFinn

    public_html should be 750, owners CPANELUSERNAME.nobody

     

    0
  • Thor Eric

    Now I get error: DNS_PROBE_FINISHED_NXDOMAIN. Why?

    0
  • cPRex Jurassic Moderator

    That error indicates a DNS issue as outlined here:

    https://support.cpanel.net/hc/en-us/articles/360047937933-Error-DNS-PROBE-FINISHED-NXDOMAIN

    Can you work through that to see if you can track down the issue?

    0
  • Thor Eric

    Thank you CpRex!

    Now I followed these steps. How long do I have to wait before everything works?

    0
  • cPRex Jurassic Moderator

    It depends on what exactly the issue is - I would also recommend scanning the domain with a tool like intodns.com to ensure there are no other DNS errors.  Any time you make a change to DNS it can take 24 hours or so before the change is fully propagated.

    0
  • Thor Eric

    I tested the website, and I think I got error message

    504 Gateway Timeout

    The gateway did not receive a timely response from the upstream server or application.

    Additionally, a 504 Gateway Timeout error was encountered while trying to use an ErrorDocument to handle the request.

    0
  • Thor Eric

    Well, thank you very much cPRex! Now everything works thanks to your advice.

    0
  • cPRex Jurassic Moderator

    I'm glad to hear things are working well!

    0

Please sign in to leave a comment.