Hi there, I am using ISPConfig now for several years and I am still excited! It's really a great piece of software. Please continue doing that work for us all! Today I found out, that there are some sites where there is no log file in the site's log directory. The logs are collected in the other_vhosts log file in the /var/log/apache2 directory, but not in the website's directory. Is this some setting I forgot to configure? Other sites on that server are creating their logs perfectly fine. Any Idea where I could have a look? I already checked the directory /var/log/ispconfig/httpd/[domain.org] and there are many log files, but the directory /var/www/[domain.org]/log is empty. There's something I also found out just now. When typing "mount" on the command line, there are several mounts for web sites, but for the web site in question, there's no mount. Why? How can I debug this? Here's some debug info about my server: Code: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 11 (bullseye) [INFO] uptime: 18:38:47 up 9:09, 1 user, load average: 2.47, 2.87, 2.89 [INFO] memory: total used free shared buff/cache available Mem: 23Gi 2.8Gi 17Gi 151Mi 3.6Gi 20Gi Swap: 0B 0B 0B [INFO] systemd failed services status: UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.2.8p1 ##### VERSION CHECK ##### [INFO] php (cli) version is 7.4.33 [INFO] php-cgi (used for cgi php in default vhost!) is version 7.4.33 ##### PORT CHECK ##### ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 1151) [INFO] I found the following mail server(s): Postfix (PID 1651) [INFO] I found the following pop3 server(s): Dovecot (PID 684) [INFO] I found the following imap server(s): Dovecot (PID 684) [INFO] I found the following ftp server(s): PureFTP (PID 1378) ##### LISTENING PORTS ##### (only () Local (Address) [localhost]:10026 (743/amavisd-new) [localhost]:10027 (1651/master) [anywhere]:587 (1651/master) [localhost]:6379 (696/redis-server) [localhost]:11211 (688/memcached) [anywhere]:110 (684/dovecot) [anywhere]:143 (684/dovecot) [anywhere]:111 (1/init) [anywhere]:465 (1651/master) [anywhere]:37875 (-) [anywhere]:21 (1378/pure-ftpd) ***.***.***.***:53 (689/named) ***.***.***.***:53 (689/named) ***.***.***.***:53 (689/named) ***.***.***.***:53 (689/named) ***.***.***.***:53 (689/named) ***.***.***.***:53 (689/named) [localhost]:53 (689/named) [localhost]:53 (689/named) [localhost]:53 (689/named) [localhost]:53 (689/named) [localhost]:53 (689/named) [localhost]:53 (689/named) [anywhere]:22 (730/sshd:) [anywhere]:25 (1651/master) [anywhere]:46265 (828/rpc.statd) [localhost]:953 (689/named) [anywhere]:12345 (684/dovecot) [anywhere]:993 (684/dovecot) [anywhere]:995 (684/dovecot) [localhost]:11332 (700/rspamd:) [localhost]:11333 (700/rspamd:) [localhost]:11334 (700/rspamd:) [localhost]:10023 (956/postgrey) [localhost]:10024 (743/amavisd-new) [localhost]:10025 (1651/master) *:*:*:*::*:10026 (743/amavisd-new) *:*:*:*::*:3306 (817/mariadbd) *:*:*:*::*:587 (1651/master) *:*:*:*::*:6379 (696/redis-server) [localhost]10 (684/dovecot) [localhost]43 (684/dovecot) [localhost]11 (1/init) *:*:*:*::*:8080 (1151/apache2) *:*:*:*::*:80 (1151/apache2) *:*:*:*::*:465 (1651/master) *:*:*:*::*:8081 (1151/apache2) *:*:*:*::*:21 (1378/pure-ftpd) *:*:*:*::*:53 (689/named) *:*:*:*::*:53 (689/named) *:*:*:*::*:53 (689/named) *:*:*:*::*:53 (689/named) *:*:*:*::*:53 (689/named) *:*:*:*::*:53 (689/named) 2a03:4000:4c:a6a:84d:53 (689/named) 2a03:4000:4c:a6a:84d:53 (689/named) 2a03:4000:4c:a6a:84d:53 (689/named) 2a03:4000:4c:a6a:84d:53 (689/named) 2a03:4000:4c:a6a:84d:53 (689/named) 2a03:4000:4c:a6a:84d:53 (689/named) *:*:*:*::*84d5:58ff:fe4f:53 (689/named) *:*:*:*::*84d5:58ff:fe4f:53 (689/named) *:*:*:*::*84d5:58ff:fe4f:53 (689/named) *:*:*:*::*84d5:58ff:fe4f:53 (689/named) *:*:*:*::*84d5:58ff:fe4f:53 (689/named) *:*:*:*::*84d5:58ff:fe4f:53 (689/named) *:*:*:*::*:22 (730/sshd:) *:*:*:*::*:25 (1651/master) [localhost]2345 (684/dovecot) *:*:*:*::*:953 (689/named) *:*:*:*::*:443 (1151/apache2) *:*:*:*::*:993 (684/dovecot) *:*:*:*::*:995 (684/dovecot) *:*:*:*::*:11332 (700/rspamd:) *:*:*:*::*:11333 (700/rspamd:) *:*:*:*::*:11334 (700/rspamd:) *:*:*:*::*:10023 (956/postgrey) *:*:*:*::*:35143 (-) *:*:*:*::*:10024 (743/amavisd-new) *:*:*:*::*:39113 (828/rpc.statd) ##### IPTABLES ##### Chain INPUT (policy DROP) target prot opt source destination f2b-dovecot tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993,587,465,4190 f2b-pure-ftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21 f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25 f2b-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22 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 f2b-dovecot (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-postfix-sasl (1 references) target prot opt source destination REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-pure-ftpd (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain f2b-sshd (1 references) target prot opt source destination REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable RETURN all -- [anywhere]/0 [anywhere]/0 Chain ufw-after-forward (1 references) target prot opt source destination 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-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-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-output (1 references) target prot opt source destination 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-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-logging-forward (1 references) target prot opt source destination 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-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-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-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-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-reject-forward (1 references) target prot opt source destination Chain ufw-reject-input (1 references) target prot opt source destination Chain ufw-reject-output (1 references) target prot opt source destination Chain ufw-skip-to-policy-forward (0 references) target prot opt source destination DROP all -- [anywhere]/0 [anywhere]/0 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-track-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-user-forward (1 references) target prot opt source destination 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 ACCEPT tcp -- ***.***.***.*** [anywhere]/0 tcp dpt:12345 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 Chain ufw-user-logging-forward (0 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-output (1 references) target prot opt source destination ##### LET'S ENCRYPT ##### acme.sh is installed in /root/.acme.sh/acme.sh
Thanks a lot! It's great to hear you like the software. And that#s exactly the reason why the logs do not show up in website log directory. To fix this, the missing lines must be added in /etc/fstab and afterwards, run 'mount -a' command to mount them.
Thanks for the reply! Should I be concerned hat the mount is not included in the file /etc/fstab? Or is that something that can happen from time to time and it's safe to just add the line? Best regards Tom
This normally does not happen, but I've seen this issue being reported before, but there was no clear indication found how this could happen and I have not seen it on any of my systems nor was any dev able to reproduce it. There are no security issues involved in this, I would just add them back and, in case they disappear again, then investigate it further. But I think it's quite unlikely that it happens again. maybe it was some kind of race condition with another program while the fstab file was edited or something similar.