2 Replies Latest reply on Aug 16, 2013 2:28 PM by kalyan1709

    Getting 503 error for Apache + Coldfusion on Linux

    kalyan1709

      Hi Guys,

       

      I am new to coldfusion and facing issue with the websites.

       

      Frequently I am encountering 503 errors for my websites sites.

       

      Apache error_log shows below errors at the time of 503 errors:

       

       

      [Thu Aug 15 14:56:11 2013] [notice] jrApache[12343: 16314]  JRun will not accept request.  Check JRun web server configuration and JRun mappings on JRun server.

      [Thu Aug 15 14:57:26 2013] [notice] jrApache[10249: 30633]  JRun will not accept request.  Check JRun web server configuration and JRun mappings on JRun server.

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[11269: 14799]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[11269: 14799]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[21458: 51935]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[21458: 51935]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[9210: 52959]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[9210: 52959]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[8091: 51679]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[8091: 51679]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[21260: 15823]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[9209: 52703]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[9209: 52703]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[28106: 15567]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[28106: 15567]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[21260: 15823]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[3831: 14031]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[3831: 14031]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[21264: 14543]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[21264: 14543]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[30125: 53215]  command error: 104 Connection reset by peer <- [28]

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[30125: 53215]  returning error page for 104 Connection reset by peer

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[9216: 60810]  127.0.0.1:51800 connect failed[28]: 111 111 Connection refused

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[9216: 60810]  returning error page for 111 Connection refused

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[12363: 11782]  127.0.0.1:51800 connect failed[28]: 111 111 Connection refused

      [Thu Aug 15 14:57:27 2013] [notice] jrApache[12363: 11782]  returning error page for 111 Connection refused

       

      Below is my Jrun settings in httpd.conf file:

       

      # JRun Settings

      LoadModule jrun_module /opt/coldfusion9/runtime/lib/wsconfig/1/mod_jrun22.so

      <IfModule mod_jrun22.c>

          JRunConfig Verbose false

          JRunConfig Apialloc false

          JRunConfig Ignoresuffixmap false

          JRunConfig Serverstore /opt/coldfusion9/runtime/lib/wsconfig/1/jrunserver.store

          JRunConfig Bootstrap 127.0.0.1:51800

          JRunConfig ConnectTimeout 1500

          AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf

      </IfModule>

       

      Below are the loaded jrun modules:

       

      # httpd -M | grep jrun

       

      core_module (static)

      mpm_prefork_module (static)

      http_module (static)

      so_module (static)

      auth_basic_module (shared)

      auth_digest_module (shared)

      authn_file_module (shared)

      authn_alias_module (shared)

      authn_anon_module (shared)

      authn_dbm_module (shared)

      authn_default_module (shared)

      authz_host_module (shared)

      authz_user_module (shared)

      authz_owner_module (shared)

      authz_groupfile_module (shared)

      authz_dbm_module (shared)

      authz_default_module (shared)

      ldap_module (shared)

      authnz_ldap_module (shared)

      include_module (shared)

      log_config_module (shared)

      logio_module (shared)

      env_module (shared)

      ext_filter_module (shared)

      mime_magic_module (shared)

      expires_module (shared)

      deflate_module (shared)

      headers_module (shared)

      usertrack_module (shared)

      setenvif_module (shared)

      mime_module (shared)

      dav_module (shared)

      status_module (shared)

      autoindex_module (shared)

      info_module (shared)

      dav_fs_module (shared)

      vhost_alias_module (shared)

      negotiation_module (shared)

      dir_module (shared)

      actions_module (shared)

      speling_module (shared)

      userdir_module (shared)

      alias_module (shared)

      rewrite_module (shared)

      proxy_module (shared)

      proxy_balancer_module (shared)

      proxy_ftp_module (shared)

      proxy_http_module (shared)

      proxy_connect_module (shared)

      cache_module (shared)

      suexec_module (shared)

      disk_cache_module (shared)

      file_cache_module (shared)

      mem_cache_module (shared)

      cgi_module (shared)

      version_module (shared)

      ssl_module (shared)

      proxy_ajp_module (shared)

      jrun_module (shared)

      Syntax OK

       

       

      Please suggest me to fix this issue.

       

      Thanks & Regards

      Kalyan Pasupuleti