LOST ISPCONFIG -- Server Configuration AND server - OPTIONS

Discussion in 'Installation/Configuration' started by fisherofer, Dec 1, 2020.

  1. fisherofer

    fisherofer Member

    HEY i deleted email account and i lost all the Server Configuration AND server - OPTIONS
    IN ISPCONFIG
     
  2. fisherofer

    fisherofer Member

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 20.04.1 LTS

    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.2.1


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

    [INFO] php (cli) version is 7.4.3

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


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


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

    [INFO] I found the following web server(s):
    Apache 2 (PID 1339)
    [INFO] I found the following mail server(s):
    Postfix (PID 1758)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 792)
    [INFO] I found the following imap server(s):
    Dovecot (PID 792)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1509)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:25 (1758/master)
    [localhost]:953 (804/named)
    [anywhere]:993 (792/dovecot)
    [anywhere]:995 (792/dovecot)
    [localhost]:10023 (1245/postgrey)
    [localhost]:10024 (1789/amavisd-new)
    [localhost]:10025 (1758/master)
    [localhost]:10026 (1789/amavisd-new)
    [localhost]:10027 (1758/master)
    [anywhere]:587 (1758/master)
    [localhost]:11211 (803/memcached)
    [anywhere]:110 (792/dovecot)
    [anywhere]:143 (792/dovecot)
    [anywhere]:465 (1758/master)
    [anywhere]:21 (1509/pure-ftpd)
    ***.***.***.***:53 (804/named)
    [localhost]:53 (804/named)
    ***.***.***.***:53 (775/systemd-resolve)
    [anywhere]:22 (948/sshd:)
    *:*:*:*::*:25 (1758/master)
    *:*:*:*::*:953 (804/named)
    *:*:*:*::*:443 (1339/apache2)
    *:*:*:*::*:993 (792/dovecot)
    *:*:*:*::*:995 (792/dovecot)
    *:*:*:*::*:10024 (1789/amavisd-new)
    *:*:*:*::*:10026 (1789/amavisd-new)
    *:*:*:*::*:3306 (1016/mysqld)
    *:*:*:*::*:587 (1758/master)
    [localhost]10 (792/dovecot)
    [localhost]43 (792/dovecot)
    *:*:*:*::*:8080 (1339/apache2)
     
  3. fisherofer

    fisherofer Member

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is Ubuntu 20.04.1 LTS

    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.2.1


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

    [INFO] php (cli) version is 7.4.3

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


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


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

    [INFO] I found the following web server(s):
    Apache 2 (PID 1339)
    [INFO] I found the following mail server(s):
    Postfix (PID 1758)
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 792)
    [INFO] I found the following imap server(s):
    Dovecot (PID 792)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 1509)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    [anywhere]:25 (1758/master)
    [localhost]:953 (804/named)
    [anywhere]:993 (792/dovecot)
    [anywhere]:995 (792/dovecot)
    [localhost]:10023 (1245/postgrey)
    [localhost]:10024 (1789/amavisd-new)
    [localhost]:10025 (1758/master)
    [localhost]:10026 (1789/amavisd-new)
    [localhost]:10027 (1758/master)
    [anywhere]:587 (1758/master)
    [localhost]:11211 (803/memcached)
    [anywhere]:110 (792/dovecot)
    [anywhere]:143 (792/dovecot)
    [anywhere]:465 (1758/master)
    [anywhere]:21 (1509/pure-ftpd)
    ***.***.***.***:53 (804/named)
    [localhost]:53 (804/named)
    ***.***.***.***:53 (775/systemd-resolve)
    [anywhere]:22 (948/sshd:)
    *:*:*:*::*:25 (1758/master)
    *:*:*:*::*:953 (804/named)
    *:*:*:*::*:443 (1339/apache2)
    *:*:*:*::*:993 (792/dovecot)
    *:*:*:*::*:995 (792/dovecot)
    *:*:*:*::*:10024 (1789/amavisd-new)
    *:*:*:*::*:10026 (1789/amavisd-new)
    *:*:*:*::*:3306 (1016/mysqld)
    *:*:*:*::*:587 (1758/master)
    [localhost]10 (792/dovecot)
    [localhost]43 (792/dovecot)
    *:*:*:*::*:8080 (1339/apache2)
    *:*:*:*::*:80 (1339/apache2)
    *:*:*:*::*:465 (1758/master)
    *:*:*:*::*:8081 (1339/apache2)
    *:*:*:*::*:21 (1509/pure-ftpd)
    *:*:*:*::**:*:*:*::*53 (804/named)
    *:*:*:*::*:53 (804/named)
    *:*:*:*::*:22 (948/sshd:)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not related, just timely coincidence. To fix your system, restore server table from backup.
     
  5. fisherofer

    fisherofer Member

    i dont know how to
     
  6. fisherofer

    fisherofer Member

    its 1 day server
    and option to edit in cli the server conf

    i afraid to lost my hosted sites
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a freshly installed system or did you ever run an ispconfig update on it in the past? Do you run backups on this system which include MySQL databases?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Loosing this settings has no influence on hosted sites. You just can't craeet new sites until it is fixed.
     
  9. fisherofer

    fisherofer Member

    i think i have 1 backup pre upgrade of ispconfig
     
  10. fisherofer

    fisherofer Member

    drwx------ 2 root root 4096 Dec 1 14:58 ispconfig_it-ubuntu.DOMAIN_2020-12-01_14-58
    drwx------ 2 root root 4096 Nov 29 13:25 ispconfig_it-ubuntu_2020-11-29_11-25
     
  11. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    I have been able to recover from a bad server config at times by going to Monitor tab and finding the change in the datalog queue, and using the undo button. If you're prepared to restore the db from backup, it's worth a shot to try that.

    Also if that fixes it, can you post here the datalog changes that were made when it broke? (I'm more curious than suspect a bug.)
     
    Th0m likes this.
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Good idea indeed, totally forgot that we have this function now *lol*
     
    Th0m likes this.
  13. fisherofer

    fisherofer Member

    FANTASTIC IDEA
    its working
    many thanks

    I LOVE ISPCONFIG
     
    Th0m likes this.

Share This Page