How to uninstall ISPConfig on Debian

Discussion in 'General' started by intellivision, Nov 7, 2020.

Tags:
  1. intellivision

    intellivision New Member

    I can't find the uninstall.php script.

    I installed it but I don't use it. I'm seeing hundreds+ of these in mysql error.log

    2020-11-06 16:40:51 8006046 [Warning] Access denied for user 'ispconfig'@'127.0.0.1' (using password: YES)

    Thanks
     
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    It's part of the installation sources.
     
  3. intellivision

    intellivision New Member

    Sorry, I'm not an advanced (medium?) linux user. There is nothing ispconfig in /usr/bin.

    Nothing in /tmp.

    Where else should I look? I found all uninstall.php on my system with locate. But ispconfig was not among them.

    Thanks
     
  4. intellivision

    intellivision New Member

    Oh, I know what you mean. So I need to download (wget) the install source, find uninstall.php in those files, and run that...

    Where should I put uninstall.php? Or will it work from anywhere?
     
  5. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Change to the install directory and run from there (php uninstall.php).
     
  6. intellivision

    intellivision New Member

    Thanks Jesse. I ran the uninstall.php and these are the results. I'm still getting thousands of Access denied for user 'ispconfig'@'localhost' in mysql error log. Any ideas?

    $ sudo php -q uninstall.php
    PHP Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 85
    PHP Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedPHP Warning: mysqli_real_connect(): (HY000/1045): Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 91
    Database connection failedZugriff auf Datenbankserver fehlgeschlagen! / Database server not accessible!

    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _ ____
    |_ _/ ___| ___ \ / __ \ / _(_) /__ \
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
    __/ |
    |___/
    --------------------------------------------------------------------------------


    >> Uninstall

    Are you sure you want to uninstall ISPConfig? [no]yes


    >> Uninstalling ISPConfig 3...

    PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /home/xxx/ispconfig3_install/install/uninstall.php on line 63
    Unable to connect to the database. mysql_error()PHP Warning: mysqli_close() expects parameter 1 to be mysqli, bool given in /home/xxx/ispconfig3_install/install/uninstall.php on line 72
    Backups in /var/backup/ and log files in /var/log/ispconfig are not deleted.Finished uninstalling.
     
  7. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    It sounds like your php environment is incomplete (for an ISPConfig installation), you might need to drop the database and check for any files/directories (eg. sites under /var/www/ and mail under /var/vmail/) to clean up manually.
     

Share This Page