Please start posting listings in CODE tags. Anyway, you have not shown the htf_report.txt I asked for once already. Instructions to get it are at https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ And post it in CODE tags.
Code: ##### SERVER ##### IP-address (as per hostname): ***.***.***.*** [WARN] could not determine server's ip address by ifconfig [INFO] OS version is Debian GNU/Linux 8.11 (jessie) [INFO] ISPConfig is installed. ##### ISPCONFIG ##### ISPConfig version is 3.1.15 ##### VERSION CHECK ##### [INFO] php (cli) version is 5.6.40-0+deb8u6 [INFO] php-cgi (used for cgi php in default vhost!) is version 5.6.40-0+deb8u6 ##### PORT CHECK ##### [WARN] Port 8080 (ISPConfig) seems NOT to be listening [WARN] Port 443 (Webserver SSL) seems NOT to be listening ##### MAIL SERVER CHECK ##### ##### RUNNING SERVER PROCESSES ##### [INFO] I found the following web server(s): Apache 2 (PID 12210) [INFO] I found the following mail server(s): Postfix (PID 12152) [INFO] I found the following pop3 server(s): Dovecot (PID 12160) [INFO] I found the following imap server(s): Unknown process (init) (PID 1) Dovecot (PID 12160) [INFO] I found the following ftp server(s): PureFTP (PID 12011) ##### LISTENING PORTS ##### (only () Local (Address) [localhost]:10026 (1072/amavisd-new) [localhost]:10027 (12152/master) [anywhere]:587 (12152/master) [localhost]:11211 (346/memcached) [anywhere]:110 (12160/dovecot) [anywhere]:143 (1/init) [anywhere]:80 (12210/apache2) [anywhere]:8081 (12210/apache2) [anywhere]:465 (12152/master) [anywhere]:21 (12011/pure-ftpd) [anywhere]:22 (395/sshd) [anywhere]:25 (12152/master) [anywhere]:993 (1/init) [anywhere]:995 (12160/dovecot) [localhost]:10023 (683/postgrey.pid) [localhost]:10024 (1072/amavisd-new) [localhost]:10025 (12152/master) *:*:*:*::*:3306 (753/mysqld) *:*:*:*::*:587 (12152/master) [localhost]10 (12160/dovecot) [localhost]43 (12160/dovecot) *:*:*:*::*:465 (12152/master) *:*:*:*::*:21 (12011/pure-ftpd) *:*:*:*::*:22 (395/sshd) *:*:*:*::*:25 (12152/master) *:*:*:*::*:993 (12160/dovecot) *:*:*:*::*:995 (12160/dovecot) *:*:*:*::*:10023 (683/postgrey.pid)
Code: ##### IPTABLES ##### Chain INPUT (policy DROP) target prot opt source destination fail2ban-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25 fail2ban-dovecot-pop3imap tcp -- [anywhere]/0 [anywhere]/0 multiport dports 110,995,143,993 fail2ban-pureftpd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 21 fail2ban-ssh 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 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 fail2ban-dovecot-pop3imap (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-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 RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-pureftpd (1 references) target prot opt source destination RETURN all -- [anywhere]/0 [anywhere]/0 Chain fail2ban-ssh (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 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 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 state RELATED,ESTABLISHED ufw-logging-deny all -- [anywhere]/0 [anywhere]/0 state INVALID DROP all -- [anywhere]/0 [anywhere]/0 state INVALID ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 3 ACCEPT icmp -- [anywhere]/0 [anywhere]/0 icmptype 4 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 state 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 state 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-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 state NEW ACCEPT udp -- [anywhere]/0 [anywhere]/0 state NEW Chain ufw-user-forward (1 references) target prot opt source destination
Code: Chain ufw-user-input (1 references) target prot opt source destination ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:20 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: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:8080 ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:8081 ACCEPT tcp -- [anywhere]/0 [anywhere]/0 tcp dpt:10000 ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:53 ACCEPT udp -- [anywhere]/0 [anywhere]/0 udp dpt:3306 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
I just need to see if i can backup the etc folder but all my symlinks are gone as i untar it. I used Code: tar -xhzvf tar -cvhf tar -zcvhf Could you please guide me on how to manually restore ispconfig 3 and etc folders from the backup folder
You should not post same question multiple times in different threads. The above tar question is a duplicate of https://www.howtoforge.com/communit...kup-with-databases-preserving-symlinks.82873/ SInce tar problems have little do do wit the topic of this thread, I do not post answers here.
As to your problem in the topic of this thread, the htf report looks good. What exactly happens when you try to access ISPConfig panel or a website? Since apache is working, see what gets logged by Apache. The log files are in directory /var/log/apache2/, files access.log and error.log. You have 5 services that fail to run. The others may not affect Apache, but if you mount website files then apache can not serve those if the mount fails. Try starting those services manually, and see what error messages you get. Also check log files for useful info. Code: systemctl start proc-sys-fs-binfmt_misc.automount systemctl status proc-sys-fs-binfmt_misc.automount systemctl --state=failed
Dear @Taleman , I am sorry! Wont happen again. But i am facing difficulties and thought if i could just post another question it will help. But i can see its not helping, Anyways i am still with my problem Code: systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION <E2><97><8F> proc-sys-fs-binfmt_misc.automount loaded failed failed Arbitrary Executable File Formats File System Automount Point <E2><97><8F> bind9.service loaded failed failed BIND Domain Name Server <E2><97><8F> clamav-daemon.service loaded failed failed Clam AntiVirus userspace daemon <E2><97><8F> clamav-freshclam.service loaded failed failed ClamAV virus database updater <E2><97><8F> haveged.service loaded failed failed Entropy daemon using the HAVEGE algorithm 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. 5 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. root@host:~# systemctl list-unit-files UNIT FILE STATE proc-sys-fs-binfmt_misc.automount static dev-hugepages.mount static dev-mqueue.mount static proc-sys-fs-binfmt_misc.mount static sys-fs-fuse-connections.mount static sys-kernel-config.mount static sys-kernel-debug.mount static tmp.mount enabled systemd-ask-password-console.path static systemd-ask-password-wall.path static [email protected] disabled bind9-resolvconf.service disabled bind9.service enabled bootlogd.service masked bootlogs.service masked bootmisc.service masked checkfs.service masked checkroot-bootclean.service masked checkroot.service masked clamav-daemon.service enabled clamav-freshclam.service enabled console-getty.service disabled [3]+ Stopped systemctl list-unit-files What i need to last before i decide to reinstall? In case i need to reinstall, Could you please guide me to the thread or tut on doing that ? Internet is more confusing than it solves the problems :-( Please help, Thank you. Laksha
Dear @Taleman , Please find the output below: Code: root@host:~# systemctl start proc-sys-fs-binfmt_misc.automount Job for proc-sys-fs-binfmt_misc.automount failed. See 'systemctl status proc-sys-fs-binfmt_misc.automount' and 'journalctl -xn' for details. root@host:~# systemctl status proc-sys-fs-binfmt_misc.automount ● proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point Loaded: loaded (/lib/systemd/system/proc-sys-fs-binfmt_misc.automount; static) Active: failed (Result: resources) Where: /proc/sys/fs/binfmt_misc Docs: https://www.kernel.org/doc/Documentation/binfmt_misc.txt http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems Sep 22 04:25:03 host2 systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. Sep 22 04:25:03 host2 systemd[1]: Failed to initialize automounter: No such file or directory Sep 22 04:25:03 host2 systemd[1]: Failed to set up automount Arbitrary Executable File Formats File System Automount Point. root@host:~# systemctl --state=failed UNIT LOAD ACTIVE SUB DESCRIPTION <E2><97><8F> proc-sys-fs-binfmt_misc.automount loaded failed failed Arbitrary Executable File Formats File System Automount Point <E2><97><8F> bind9.service loaded failed failed BIND Domain Name Server <E2><97><8F> clamav-daemon.service loaded failed failed Clam AntiVirus userspace daemon <E2><97><8F> clamav-freshclam.service loaded failed failed ClamAV virus database updater <E2><97><8F> haveged.service loaded failed failed Entropy daemon using the HAVEGE algorithm 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. 5 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'.
If you want to reinstall, just copy to a safe place the files you want to keep. Then reinstall. But reinstall what? If you reinstall Apache again, would it make anything better? If you reinstall the OS and ISPConfig, that should get you a working system if you no longer want to keep this broken system. I note that you did not start the other failed services. Do that, maybe that reveals what is the ultimate reason your system does not work. If this is a system that you can throw a way, it may be faster and easier to just throw it away and install a new system.
I dont know if i am using Automount, aS i know extremly less about it. I dont know hte config for automount.
I tried starting the failed services the output is the same Code: systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION <E2><97><8F> proc-sys-fs-binfmt_misc.automount loaded failed failed Arbitrary Executable File Formats File System Automount Point <E2><97><8F> bind9.service loaded failed failed BIND Domain Name Server <E2><97><8F> clamav-daemon.service loaded failed failed Clam AntiVirus userspace daemon <E2><97><8F> clamav-freshclam.service loaded failed failed ClamAV virus database updater <E2><97><8F> haveged.service loaded failed failed Entropy daemon using the HAVEGE algorithm
Yes, if the services fail the status stays failed. What you need to do is find out why they fail. Any error messages? Things in the log? Have you tried rebooting your server? Sometimes that helps when the current running system is just plain borked.
I tried it all , Still the same output Now i have 4 websites very important and running , If i can save time by reinstalling the system from scratch and then again using perfect server tutorial , What are the folders i need to copy ? I can login to the mysql through command prompt. I just need the following My AwStats My Web Folder All sql dumps and later i restore my wordpress from the dump and where ever required change the path in few tables of wordpress database. So my question is how do i begin this? As for me time is more important right now. Setting up 5-10 wordpress site seems much easier the www folder is 25GB Etc is 12 GB /var/lib/mysql is 2 GB my connection is just 10-15 MBPS right now. so 40GB Upload/40GB Download I am in dilemma as what to do ? Any thoughts ?
Use Internet Search Engines with Code: move website to another host or Code: move website to another host site:howtoforge.com if you want results only from Howtoforge. Basic instruction is to dump database, get contents of web/ folder of the website and move those to another host. Why is that needed? Try moving it, but I have never copied the stats to another host. It may well work, though.
Sir Apache logs are still blank even after trying to login after trying to log in to admin panel i get ERR_TUNNEL_CONNECTION_FAILED