BROKING ISPCONFIG

Discussion in 'Installation/Configuration' started by iniVan, Oct 31, 2020.

  1. iniVan

    iniVan Member

    I DID SOME THING BAD :( i deleted apache2 by accident now my websites are all down ! please help
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Reinstall Apache according to the perfect server guide for your os, and if things are still not restored, download the ISPConfig source and run the updater to reconfigure services.
     
  3. iniVan

    iniVan Member

    thanks for the reply
    :)
     
  4. iniVan

    iniVan Member

    still no go :( [​IMG]Apache2 Debian Default Page on all site an the /phpmyadmin/ is a mess an no ipsconfig control panel
    :mad::mad::mad::(:(
     
  5. iniVan

    iniVan Member

    oh yeah my installation is
    The Perfect Server - Debian 9 (Stretch) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1 basically
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Th0m likes this.
  7. iniVan

    iniVan Member

    yes believe me i have tried many times
    :(:(
     
  8. iniVan

    iniVan Member

    root@ini1:~# cat htf_report.txt

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

    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.2


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

    [INFO] php (cli) version is 7.4.11

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

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

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

    [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 3256)
    [INFO] I found the following mail server(s):
    Postfix (PID 3126)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 3179)
    [INFO] I found the following imap server(s):
    Dovecot (PID 3179)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 3393)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:993 (3179/dovecot)
    [anywhere]:995 (3179/dovecot)
    [localhost]:8997 (542/php-fpm:)
    [anywhere]:5222 (22774/lua5.1)
    [localhost]:8998 (595/php-fpm:)
    [localhost]:10023 (702/postgrey)
    [localhost]:8999 (526/php-fpm:)
    [localhost]:10024 (3158/amavisd-new)
    [anywhere]:5000 (22774/lua5.1)
    [localhost]:10025 (3126/master)
    [localhost]:10026 (3158/amavisd-new)
    [anywhere]:5290 (22774/lua5.1)
    [localhost]:10027 (3126/master)
    [anywhere]:587 (3126/master)
    [anywhere]:5291 (22774/lua5.1)
    [localhost]:11211 (24571/memcached)
    [anywhere]:8012 (851/icecast2)
    [anywhere]:110 (3179/dovecot)
    [localhost]:5582 (22774/lua5.1)
    [anywhere]:8014 (851/icecast2)
    [anywhere]:143 (3179/dovecot)
    [anywhere]:8016 (851/icecast2)
    [anywhere]:8018 (851/icecast2)
    [anywhere]:8020 (851/icecast2)
    ***.***.***.***:53 (3402/named)
    [localhost]:53 (3402/named)
    [anywhere]:21 (3393/pure-ftpd)
    [anywhere]:5269 (22774/lua5.1)
    [anywhere]:22 (600/sshd)
    [localhost]:953 (3402/named)
    [anywhere]:25 (3126/master)
    [anywhere]:8443 (851/icecast2)
    *:*:*:*::*:993 (3179/dovecot)
    *:*:*:*::*:995 (3179/dovecot)
    *:*:*:*::*:5222 (22774/lua5.1)
    *:*:*:*::*:10023 (702/postgrey)
    *:*:*:*::*:10024 (3158/amavisd-new)
    *:*:*:*::*:5000 (22774/lua5.1)
    *:*:*:*::*:10026 (3158/amavisd-new)
    *:*:*:*::*:3306 (2896/mysqld)
    *:*:*:*::*:5290 (22774/lua5.1)
    *:*:*:*::*:587 (3126/master)
    *:*:*:*::*:5291 (22774/lua5.1)
    [localhost]10 (3179/dovecot)
    *:*:*:*::*:5582 (22774/lua5.1)
    [localhost]43 (3179/dovecot)
    *:*:*:*::*:80 (3256/apache2)
    *:*:*:*::*:8081 (3256/apache2)
    *:*:*:*::*:53 (3402/named)
    *:*:*:*::*:21 (3393/pure-ftpd)
    *:*:*:*::*:5269 (22774/lua5.1)
    *:*:*:*::*:22 (600/sshd)
    *:*:*:*::*:953 (3402/named)
    *:*:*:*::*:25 (3126/master)
    *:*:*:*::*:443 (3256/apache2)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    f2b-postfix-sasl tcp -- [anywhere]/0 [anywhere]/0 multiport dports 25
    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-sshd tcp -- [anywhere]/0 [anywhere]/0 multiport dports 22

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    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
    RETURN all -- [anywhere]/0 [anywhere]/0

    Chain f2b-pure-ftpd (1 references)
    target prot opt source destination
    REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable
    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
    REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable
    REJECT all -- ***.***.***.*** [anywhere]/0 reject-with icmp-port-unreachable
    RETURN all -- [anywhere]/0 [anywhere]/0


    ; <<>> DiG 9.10.3-P4-Debian <<>> @localhost ininetworks.ca
    ; (2 servers found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3052
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; OPT PSEUDOSECTION:
    ; EDNS: version: 0, flags:; udp: 4096
    ;; QUESTION SECTION:
    ;ininetworks.ca. IN A

    ;; ANSWER SECTION:
    ininetworks.ca. 3600 IN A xxx.xxx.xxx.xxx :)

    ;; AUTHORITY SECTION:
    ininetworks.ca. 85823 IN NS slns1.namespro.ca.
    ininetworks.ca. 85823 IN NS slns2.namespro.ca.

    ;; ADDITIONAL SECTION:
    slns1.namespro.ca. 85823 IN A 67.228.254.4
    slns2.namespro.ca. 85823 IN A 67.228.255.5

    ;; Query time: 25 msec
    ;; SERVER: ::1#53:):1)
    ;; WHEN: Sun Nov 01 12:01:09 EST 2020
    ;; MSG SIZE rcvd: 140

    -------------------------------------------------------------------------------------------------------------------------------
     
  9. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That is not a supported configuration.
    Try
    Code:
    update-alternatives --config php
    update-alternatives --config php-cgi
    to set default PHP back to what is was originally in Debian 9.
     
  10. iniVan

    iniVan Member

    dont know to copy this file nano /var/log/syslog
     
  11. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Copy what file? syslog is a log file, one of the many log files in /var/log directory. Why do you bring that file into this discussion?
     
  12. iniVan

    iniVan Member

    just wanted to show it and see if it may help
     
  13. iniVan

    iniVan Member

    ok i have ispconfig installed backo_O but nothing in it phpmyadmin still broken
    progress i guess!
     
  14. iniVan

    iniVan Member

    i really love you guy's here!
    :) ISPCONFIG + PHPMYADMIN WORKING ONCE MORE BUT ISPCONFIG NO CLIENTS OR SITES NO NOTHINGo_O
     
  15. iniVan

    iniVan Member

    phpmyadmin is fine 100%
    all DB is there
     
  16. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    So this thread is solved?
     
  17. iniVan

    iniVan Member

    ispconfig is still empty
    it did not populate anything
     
  18. iniVan

    iniVan Member

    is there a way to fix this, the ispconfig that is, still on sites ,clients how can i repopulate it .:confused::eek::(
     
  19. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  20. iniVan

    iniVan Member

    is there a way to fix this, the ispconfig that is, still on sites ,clients how can i repopulate it
    phpmyadmin is fine 100% all DB is there. no matter i try still a no go on repopulate ispconfig i fear the worst :mad::mad::mad::(:oops:
    ( Debian Logo Apache2 Debian Default Page) on all hosted site
    ANYONE in mean time that i wait for a reply
     

Share This Page