phpmyadmin 404

Discussion in 'ISPConfig 3 Priority Support' started by jpcyrenne, Jan 19, 2020.

  1. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    Good day,
    I have done a fresh install of the latest ISPConfig on Ubuntu 18.04.3.
    ref: https://www.howtoforge.com/tutorial...pureftpd-bind-postfix-doveot-and-ispconfig/2/
    Not sure where i messed up and would appreciate the guidance.

    When I go to https://66.70.227.106:8080/phpmyadmin I get a 404. (http://66.70.227.106/phpmyadmin)
    Only logs I see are: /var/log/apache2/other_vhosts_access.log (nothing in access.log ou error.log)
    host.XXX.com:8080 74.15.209.68 - - [19/Jan/2020:12:46:37 -0500] "GET /phpmyadmin HTTP/1.1" 404 582 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36"
    host.XXX.com:8080 74.15.209.68 - - [19/Jan/2020:12:46:37 -0500] "GET /favicon.ico HTTP/1.1" 200 19126 "https://66.70.227.106:8080/phpmyadmin" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36"​

    I tried to remove and reinstall phpMyAdmin with no better success.
    (apt-get remove phpmyadmin including database... then an apt-get install phpmyadmin - I had to enter my password manually - not just press yes)
    I do have a /etc/phpmyadmin/config.inc.php file present.

    Is this an Apache2 redirection issue? where can I start looking?

    Thanks ahead,
    JP
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to run:

    a2enconf phpmyadmin

    and then restart apache. And take care to access phpmyadmin on port 80 and not 8080, on 8080 you must get a 404 while it should be available on port 80.
     
  3. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

  4. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    I re-installed a new VM and re-did the setup with no errors (everything went well with Perfect Server and ISPConfig).

    http://142.4.222.93/phpmyadmin //404

    Same thing with 404 and a2enconf.

    # a2enconf phpmyadmin
    ERROR: Conf phpmyadmin does not exist!

    # lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 18.04.3 LTS
    Release: 18.04
    Codename: bionic

    Could it have something to do with Ubuntu 18.04.3 ? (worked well on 18.04.2 from what I remember?)

    JP
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    During phpmyadmin installation, you have chosen to configure apache by navigating to the right menu point and activating ith with the space bar?
     
  6. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    hummm. I didn't press the space bar because it had the star by default (i believe).

    I'll uninstall et re-install on machine 1 to confirm this...
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    running:

    dpkg-reconfigure phpmyadmin

    should work as well to rerun the install procedure.
     
  8. jpcyrenne

    jpcyrenne Member HowtoForge Supporter

    till likes this.

Share This Page