404 login.php not found

Discussion in 'Installation/Configuration' started by TermiGR, Mar 8, 2021.

  1. TermiGR

    TermiGR New Member

    Hi there,
    i installed ISPConfig on my Debian 10 server.
    Sadly, i am not able to open the admin-panel. All i get is a 404 Error.

    error.log:

    [Mon Mar 08 08:12:04.528107 2021] [autoindex:error] [pid 3190] [client 193.118.XX.XX0:50806] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.$
    [Mon Mar 08 08:13:35.311232 2021] [php7:error] [pid 3907] [client 95.223.XX.XXX:60679] script '/var/www/URL/login.php' not found or unable to stat, referer: URL/horde/login.php
    [Mon Mar 08 08:29:06.610347 2021] [php7:error] [pid 951] [client 95.223.XX.XXX:62482] script '/var/www/example.de/login.php' not found or unable to stat

    Any Ideas?

    Thanks in advance
    Msrtin
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which tutorial did you use to install ISPConfig and which URL did you use to access ISPConfig? The log you posted seems to be about horde webmail or at least someone who tries to access horde webmail.
     
  3. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  4. TermiGR

    TermiGR New Member

    I used the ISPConfig part of this tutorial:
    https://www.howtoforge.com/perfect-server-debian-10-buster-apache-bind-dovecot-ispconfig-3-1/

    I am using the standard port - 8080 i think

    Code:
    [email protected] /tmp/isp # cat htf_report.txt | more
    
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    [WARN] could not determine server's ip address by ifconfig
    [INFO] OS version is "Debian GNU/Linux 10 (buster)"
    
    [INFO] uptime:  10:44:12 up 15 days, 15:13,  5 users,  load average: 0.18, 0.23, 0.19
    
    [INFO] memory:
                  total        used        free      shared  buff/cache   available
    Mem:           62Gi       4.9Gi        47Gi        45Mi        10Gi        57Gi
    Swap:          31Gi          0B        31Gi
    
    [INFO] systemd failed services status:
      UNIT              LOAD   ACTIVE SUB    DESCRIPTION
    ● dovecot.service   loaded failed failed Dovecot IMAP/POP3 email server
    ● logrotate.service loaded failed failed Rotate log files
    
    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.
    
    2 loaded units listed. Pass --all to see loaded but inactive units, too.
    To show all installed unit files use 'systemctl list-unit-files'.
    
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.2.2
    
    
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 7.3.27-1~deb10u1
    
    ##### PORT CHECK #####
    
    [WARN] Port 143 (IMAP server) seems NOT to be listening
    [WARN] Port 993 (IMAP server SSL) seems NOT to be listening
    [WARN] Port 110 (POP3 server) seems NOT to be listening
    [WARN] Port 995 (POP3 server SSL) seems NOT to be listening
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    [WARN] Port 21 (FTP server) seems NOT to be listening
    
    ##### MAIL SERVER CHECK #####
    
    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [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 19379)
    [INFO] I found the following mail server(s):
            Postfix (PID 26055)
    [WARN] I could not determine which pop3 server is running.
    [WARN] I could not determine which imap server is running.
    [WARN] I could not determine which ftp server is running.
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [anywhere]:25           (26055/master)
    [anywhere]:10011                (1299/./ts3server)
    [anywhere]:10080                (1299/./ts3server)
    [anywhere]:10022                (1299/./ts3server)
    [localhost]:10024               (17136/amavisd-new)
    [localhost]:10025               (26055/master)
    [localhost]:3306                (28318/mysqld)
    [localhost]:10026               (17136/amavisd-new)
    [localhost]:10027               (26055/master)
    [anywhere]:10000                (8451/perl)
    [anywhere]:30033                (1299/./ts3server)
    [anywhere]:22           (980/sshd)
    *:*:*:*::*:25           (26055/master)
    *:*:*:*::*:443          (19379/apache2)
    [localhost]0011         (1299/./ts3server)
    [localhost]0080         (1299/./ts3server)
    [localhost]0022         (1299/./ts3server)
    *:*:*:*::*:10024                (17136/amavisd-new)
    *:*:*:*::*:10026                (17136/amavisd-new)
    *:*:*:*::*:8080         (19379/apache2)
    *:*:*:*::*:80           (19379/apache2)
    [localhost]0000         (8451/perl)
    *:*:*:*::*:8081         (19379/apache2)
    *:*:*:*::*:30033                (1299/./ts3server)
    *:*:*:*::*:22           (980/sshd)
    
    
    
    
    ##### IPTABLES #####
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:22
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:80
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8080
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:9987
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:9988
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:2010
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:30033
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:41144
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:2008
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:10022
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:10022
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:10000
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:10000
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:993
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:993
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:465
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:465
    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
    ufw-track-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 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-logging-forward (1 references)
    target     prot opt source               destination
    
    Chain ufw-before-input (1 references)
    target     prot opt source               destination
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-logging-deny  all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    DROP       all  --  [anywhere]/0            [anywhere]/0            ctstate INVALID
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    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-output (1 references)
    target     prot opt source               destination
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ufw-user-output  all  --  [anywhere]/0            [anywhere]/0
    
    Chain ufw-before-forward (1 references)
    target     prot opt source               destination
    ACCEPT     all  --  [anywhere]/0            [anywhere]/0            ctstate RELATED,ESTABLISHED
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 3
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 11
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 12
    ACCEPT     icmp --  [anywhere]/0            [anywhere]/0            icmptype 8
    ufw-user-forward  all  --  [anywhere]/0            [anywhere]/0
    
    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-output (1 references)
    target     prot opt source               destination
    
    Chain ufw-after-forward (1 references)
    target     prot opt source               destination
    
    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-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-reject-input (1 references)
    target     prot opt source               destination
    
    Chain ufw-reject-output (1 references)
    target     prot opt source               destination
    
    Chain ufw-reject-forward (1 references)
    target     prot opt source               destination
    
    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            ctstate NEW
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            ctstate NEW
    
    Chain ufw-track-forward (1 references)
    target     prot opt source               destination
    
    Chain ufw-logging-deny (2 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0            ctstate 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-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-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-skip-to-policy-forward (0 references)
    target     prot opt source               destination
    DROP       all  --  [anywhere]/0            [anywhere]/0
    
    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-user-input (1 references)
    target     prot opt source               destination
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:22
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            multiport dports 2456:2458
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:1000
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:10000
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:10000
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:80
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:80
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:443
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:443
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:25
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:465
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:587
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:143
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:993
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:8080
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:8080
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:553
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:553
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:9988
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:9988
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:9999
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:9999
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:9987
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:9987
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:30033
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:30033
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:10011
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:10011
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:2010
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:2010
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 27015:27030
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            multiport dports 27015:27030
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            multiport dports 27036:27037
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 27036:27037
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:4380
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            multiport dports 27000:27031
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:27036
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:22
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:41144
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:2008
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:10022
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:10022
    ACCEPT     tcp  --  [anywhere]/0            [anywhere]/0            tcp dpt:23
    ACCEPT     udp  --  [anywhere]/0            [anywhere]/0            udp dpt:23
    
    Chain ufw-user-output (1 references)
    target     prot opt source               destination
    
    Chain ufw-user-forward (1 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-logging-forward (0 references)
    target     prot opt source               destination
    
    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
    
    Code:
     php -v
    PHP 7.3.27-1~deb10u1 (cli) (built: Feb 13 2021 16:31:40) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.27, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.3.27-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
    
    OS: Debian 10
     
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    What do you mean by that? The complete tutorial must be followed, if you do only part of it that is not going to work.
    Also, the host you install on must be a clean just installed OS, no configurations done or settings changed.
     
  6. TermiGR

    TermiGR New Member

    Well sadly it was not clean OS install. I already installed apache2 and postfix/dovecot a week ago - when i first installed the OS.
    Now i have to get it working anyways - there is no turning back at this point, im afraid. Any help is appreciated.
     
  7. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    I think it would be better for you to install a fresh system and migrate your data to that.
     
  8. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Try going through the perfect server tutorial and installing required software and following the steps. Eg. that will fix your postfix config (missing submission/smtps) and similar. Run the ispconfig updater when done and reconfigure services ... and see where things are at.

    You can probably get some help for specific questions, but using known problematic and unsupported install methods will of course have potentially many issues, and should not expect others to volunteer a great deal of their time trying to work on it.
     
  9. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    You might try unconfiguring/uninstalling horde as well, and disable (a2dissite) all sites. I don't know what that 'ts3server' is, but I'd probably look at getting rid of it upfront as well.
     

Share This Page