[*closing connection] in apache error log

Discussion in 'General' started by Jahid Hasan, Jan 21, 2022.

  1. Jahid Hasan

    Jahid Hasan New Member

    dear community,
    i setup my vps following -https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/
    but i am facing some kind of error.
    i restarted my apache server but there are a error like [*closing connection].see picture below.--https://ibb.co/CM4YdRQ
    Apache/2.4.38 (Debian)

    my smpt server offline too.--https://ibb.co/pWv3SZf

    i didnt face any kind of error while installing.
    also my hosted site showing 503 error.
    i am new to this.want to learn..
    thanks a lot..
     
    Last edited: Jan 21, 2022
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Is there a visible problem symptom you have, or just see a "closing connection" message in a log file? Try pasting the relevant logs (in code tags) here. (Note you wouldn't get the 503 error on your site if the web server were not running.)
    Try restarting postfix, and see what errors show up (eg. in the mail log).
    Check the site's error log and see what you find.
     
  3. Jahid Hasan

    Jahid Hasan New Member

    - can you tell me where can i find that?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    In the log folder of the site. e.g. /var/www/yourdomain.tld/log/error.log
     
  5. Jahid Hasan

    Jahid Hasan New Member

    this is what i find..
     

    Attached Files:

  6. till

    till Super Moderator Staff Member ISPConfig Developer

  7. Jahid Hasan

    Jahid Hasan New Member

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Debian GNU/Linux 10 (buster)

    [INFO] uptime: 21:39:27 up 23 min, 1 user, load average: 0.16, 0.22, 0.18

    [INFO] memory:
    total used free shared buff/cache available
    Mem: 7.8Gi 2.0Gi 5.5Gi 86Mi 327Mi 5.5Gi
    Swap: 0B 0B 0B

    [INFO] systemd failed services status:
    UNIT LOAD ACTIVE SUB DESCRIPTION
    [email protected] loaded failed failed Postfix Mail Transport Agent (instance -)

    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.

    1 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.

    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.2.7p1


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 7.3.31-1~deb10u1
    [INFO] php-cgi (used for cgi php in default vhost!) is version 7.3.31

    ##### PORT CHECK #####

    [WARN] Port 25 (SMTP server) seems NOT to be listening
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    [WARN] Port 25 (SMTP server) seems NOT to be listening

    ##### MAIL SERVER CHECK #####

    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.

    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Apache 2 (PID 2111)
    [WARN] I could not determine which mail server is running.
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 857)
    [INFO] I found the following imap server(s):
    Dovecot (PID 857)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1187)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:110 (857/dovecot)
    [anywhere]:143 (857/dovecot)
    [anywhere]:21 (1187/pure-ftpd)
    ***.***.***.***:53 (888/named)
    [localhost]:53 (888/named)
    [anywhere]:22 (875/sshd)
    [localhost]:953 (888/named)
    [anywhere]:993 (857/dovecot)
    [anywhere]:995 (857/dovecot)
    [localhost]:10023 (638/postgrey)
    [localhost]:10024 (1246/amavisd-new)
    [localhost]:10026 (1246/amavisd-new)
    [localhost]:11211 (858/memcached)
    [localhost]10 (857/dovecot)
    [localhost]43 (857/dovecot)
    *:*:*:*::*:8080 (2111/apache2)
    *:*:*:*::*:80 (2111/apache2)
    *:*:*:*::*:8081 (2111/apache2)
    *:*:*:*::*:21 (1187/pure-ftpd)
    *:*:*:*::*:53 (888/named)
    *:*:*:*::*:22 (875/sshd)
    *:*:*:*::*:953 (888/named)
    *:*:*:*::*:443 (2111/apache2)
    *:*:*:*::*:993 (857/dovecot)
    *:*:*:*::*:995 (857/dovecot)
    *:*:*:*::*:10024 (1246/amavisd-new)
    *:*:*:*::*:10026 (1246/amavisd-new)
    *:*:*:*::*:3306 (1000/mysqld)




    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target prot opt source destination
    ufw-before-logging-input all -- [anywhere]/0 [anywhere]/0
    ufw-before-input all -- [anywhere]/0 [anywhere]/0
    ufw-after-input all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-input all -- [anywhere]/0 [anywhere]/0
    ufw-reject-input all -- [anywhere]/0 [anywhere]/0
    ufw-track-input all -- [anywhere]/0 [anywhere]/0

    Chain FORWARD (policy DROP)
    target prot opt source destination
    ufw-before-logging-forward all -- [anywhere]/0 [anywhere]/0
    ufw-before-forward all -- [anywhere]/0 [anywhere]/0
    ufw-after-forward all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-forward all -- [anywhere]/0 [anywhere]/0
    ufw-reject-forward all -- [anywhere]/0 [anywhere]/0
    ufw-track-forward all -- [anywhere]/0 [anywhere]/0

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ufw-before-logging-output all -- [anywhere]/0 [anywhere]/0
    ufw-before-output all -- [anywhere]/0 [anywhere]/0
    ufw-after-output all -- [anywhere]/0 [anywhere]/0
    ufw-after-logging-output all -- [anywhere]/0 [anywhere]/0
    ufw-reject-output all -- [anywhere]/0 [anywhere]/0
    ufw-track-output all -- [anywhere]/0 [anywhere]/0

    Chain ufw-before-logging-input (1 references)
    target prot opt source destination

    Chain ufw-before-logging-output (1 references)
    target prot opt source destination

    Chain ufw-before-logging-forward (1 references)
    target prot opt source destination

    Chain ufw-before-input (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ufw-logging-deny all -- [anywhere]/0 [anywhere]/0 ctstate INVALID
    DROP all -- [anywhere]/0 [anywhere]/0 ctstate INVALID
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 11
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 12
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 8
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp spt:67 dpt:68
    ufw-not-local all -- [anywhere]/0 [anywhere]/0
    ACCEPT udp -- [anywhere]/0 ***.***.***.*** udp dpt:5353
    ACCEPT udp -- [anywhere]/0 ***.***.***.*** udp dpt:1900
    ufw-user-input all -- [anywhere]/0 [anywhere]/0

    Chain ufw-before-output (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ufw-user-output all -- [anywhere]/0 [anywhere]/0

    Chain ufw-before-forward (1 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 11
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 12
    ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 8
    ufw-user-forward all -- [anywhere]/0 [anywhere]/0

    Chain ufw-after-input (1 references)
    target prot opt source destination
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:137
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:138
    ufw-skip-to-policy-input tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:139
    ufw-skip-to-policy-input tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:445
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:67
    ufw-skip-to-policy-input udp -- [anywhere]/0 [anywhere]/0 udp dpt:68
    ufw-skip-to-policy-input all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type BROADCAST

    Chain ufw-after-output (1 references)
    target prot opt source destination

    Chain ufw-after-forward (1 references)
    target prot opt source destination

    Chain ufw-after-logging-input (1 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-after-logging-output (1 references)
    target prot opt source destination

    Chain ufw-after-logging-forward (1 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-reject-input (1 references)
    target prot opt source destination

    Chain ufw-reject-output (1 references)
    target prot opt source destination

    Chain ufw-reject-forward (1 references)
    target prot opt source destination

    Chain ufw-track-input (1 references)
    target prot opt source destination

    Chain ufw-track-output (1 references)
    target prot opt source destination
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 ctstate NEW
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 ctstate NEW

    Chain ufw-track-forward (1 references)
    target prot opt source destination

    Chain ufw-logging-deny (2 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0 ctstate INVALID limit: avg 3/min burst 10
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW BLOCK] "

    Chain ufw-logging-allow (0 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix "[UFW ALLOW] "

    Chain ufw-skip-to-policy-input (7 references)
    target prot opt source destination
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-skip-to-policy-output (0 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0

    Chain ufw-skip-to-policy-forward (0 references)
    target prot opt source destination
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-not-local (1 references)
    target prot opt source destination
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type LOCAL
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type MULTICAST
    RETURN all -- [anywhere]/0 [anywhere]/0 ADDRTYPE match dst-type BROADCAST
    ufw-logging-deny all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 10
    DROP all -- [anywhere]/0 [anywhere]/0

    Chain ufw-user-input (1 references)
    target prot opt source destination
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:21
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:22
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:25
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:53
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:80
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:110
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:143
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:443
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:465
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:587
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:993
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:995
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:3306
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:4190
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:8080
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:8081
    ACCEPT tcp -- [anywhere]/0 [anywhere]/0 multiport dports 40110:40210
    ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:53

    Chain ufw-user-output (1 references)
    target prot opt source destination

    Chain ufw-user-forward (1 references)
    target prot opt source destination

    Chain ufw-user-logging-input (0 references)
    target prot opt source destination

    Chain ufw-user-logging-output (0 references)
    target prot opt source destination

    Chain ufw-user-logging-forward (0 references)
    target prot opt source destination

    Chain ufw-user-limit (0 references)
    target prot opt source destination
    LOG all -- [anywhere]/0 [anywhere]/0 limit: avg 3/min burst 5 LOG flags 0 level 4 prefix "[UFW LIMIT BLOCK] "
    REJECT all -- [anywhere]/0 [anywhere]/0 reject-with icmp-port-unreachable

    Chain ufw-user-limit-accept (0 references)
    target prot opt source destination
    ACCEPT all -- [anywhere]/0 [anywhere]/0




    ##### LET'S ENCRYPT #####
    [WARN] You have both certbot and acme.sh installed. This can lead to problems.
    Certbot: /usr/bin/certbot
    acme.sh: /root/.acme.sh/acme.sh
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You should have posted the report in CODE tags.
    You seem to have made error in installing your system:
    Code:
    [WARN] You have both certbot and acme.sh installed. This can lead to problems.
    Apache problems may be caused by the above.
    If you have just installed your system and can reinstall easily, I would suggest doing that.
    Use this for installing:
    https://www.howtoforge.com/ispconfig-autoinstall-debian-ubuntu/
    Do note this from the beginning of the instructions:
     
    Jahid Hasan likes this.
  9. Jahid Hasan

    Jahid Hasan New Member

    i reinstalled debian from my vps control panel then paste that code..it downloading ..i will let you know if face any problem.
     
  10. Jahid Hasan

    Jahid Hasan New Member

    Code:
    [Sat Jan 22 10:07:26.057635 2022] [fcgid:warn] [pid 21401:tid 139871934977792] (32)Broken pipe: [client 108.162.229.218:13758] mod_fcgid: ap_pass_brigade failed in han$
    [Sat Jan 22 10:07:26.392312 2022] [fcgid:warn] [pid 21401:tid 139871096133376] (104)Connection reset by peer: [client 172.70.192.76:63454] mod_fcgid: ap_pass_brigade f$
    [Sat Jan 22 10:07:26.467527 2022] [fcgid:warn] [pid 21401:tid 139871985334016] [client 172.70.84.68:33758] mod_fcgid: can't apply process slot for /var/www/php-fcgi-sc$
    [Sat Jan 22 10:07:27.265274 2022] [fcgid:warn] [pid 21612:tid 139871557502720] [client 172.70.141.28:20142] mod_fcgid: can't apply process slot for /var/www/php-fcgi-s$
    [Sat Jan 22 10:07:27.766757 2022] [fcgid:warn] [pid 21121:tid 139871674935040] [client 141.101.66.137:27590] mod_fcgid: can't apply process slot for /var/www/php-fcgi-$
    [Sat Jan 22 10:07:27.858240 2022] [fcgid:warn] [pid 21401:tid 139871943370496] (32)Broken pipe: [client 172.70.85.172:23404] mod_fcgid: ap_pass_brigade failed in handl$
    [Sat Jan 22 10:07:29.101063 2022] [fcgid:warn] [pid 21612:tid 139871574288128] [client 172.70.141.28:22566] mod_fcgid: can't apply process slot for /var/www/php-fcgi-s$
    [Sat Jan 22 10:07:30.974578 2022] [fcgid:warn] [pid 21121:tid 139872220616448] [client 172.68.39.42:64272] mod_fcgid: can't apply process slot for /var/www/php-fcgi-sc$
    [Sat Jan 22 10:07:31.438282 2022] [fcgid:warn] [pid 21401:tid 139871649789696] [client 198.41.229.18:14630] mod_fcgid: can't apply process slot for /var/www/php-fcgi-s$
    [Sat Jan 22 10:07:33.273319 2022] [fcgid:warn] [pid 21612:tid 139871549110016] [client 172.70.84.68:54410] mod_fcgid: can't apply process slot for /var/www/php-fcgi-sc$
    
    
    
    
    server working great.but now my website problem.i cant get ssl certificate.many tried many times last few days.
    also facing these kind of error
     
  11. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Jahid Hasan likes this.

Share This Page