[SOLVED] Username or Password Empty

Discussion in 'Installation/Configuration' started by typojoe, Jun 26, 2015.

  1. typojoe

    typojoe New Member

    OS: Ubuntu 14.04 Server (64bit-mac)
    ISPConfig Version: 3.0.5.4p8
    Browser: Chrome 43.0.2357.130
    Misc: Single Boot, Mac Mini (2007)
    Useage: Home [web/ftp/mail/media] Server
    Skills: Linux: none; Using Terminal: none;
    Ports Forwarded: 21, 22, 80, 8080

    I cannot log in to ISPConfig. I logged in once and it froze on me. Then kicked me out to the log in screen. I haven't been able to log in since. It says that the Username or Password is empty. Obviously, it's not.

    Edit1: The code below says it could not connect to mysql with given user data. How can I fix this?
    Edit2: The small block of code below was displayed after running the script, before viewing the report.

    Code:
    PHP Warning:  mysqli_connect(): (HY000/2005): Unknown MySQL server host 'hillbilly-hotel' (2) in /home/bob/htf-common-issues.php on line 184
    
    
    ##### SCRIPT FINISHED #####
    
    Results can be found in htf_report.txt
    
    To view results use your favourite text editor or type 'cat htf_report.txt | more' on the server console.
    
    
    If you want to see the non-anonymized output start the script with --debug as parameter (php -q htf-common-issues.php --debug).
    This is the report generated by the test script provided in the sticky.
    Code:
    #### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p8
    [WARN] Could not connect to mysql with given user data.
    
    ##### VERSION CHECK #####
    [INFO] php (cli) version is 5.5.9-1ubuntu4.9
    ##### PORT CHECK #####
    ##### MAIL SERVER CHECK #####
    ##### RUNNING SERVER PROCESSES #####
    [INFO] I found the following web server(s):
        Apache 2 (PID 6531)
    [INFO] I found the following mail server(s):
        Postfix (PID 2085)
    [INFO] I found the following pop3 server(s):
        Dovecot (PID 990)
    [INFO] I found the following imap server(s):
        Dovecot (PID 990)
    [INFO] I found the following ftp server(s):
        PureFTP (PID 2111)
    
    ##### LISTENING PORTS #####
    (only        ()
    Local        (Address)
    [anywhere]:21        (2111/pure-ftpd)
    [anywhere]:22        (983/sshd)
    [anywhere]:25        (2085/master)
    [anywhere]:993        (990/dovecot)
    [anywhere]:995        (990/dovecot)
    [localhost]:10024        (1387/amavisd-new)
    [localhost]:10025        (2085/master)
    ***.***.***.***:3306        (13411/mysqld)
    [anywhere]:587        (2085/master)
    [localhost]:11211        (1976/memcached)
    [anywhere]:110        (990/dovecot)
    [anywhere]:143        (990/dovecot)
    [anywhere]:465        (2085/master)
    *:*:*:*::*:21        (2111/pure-ftpd)
    *:*:*:*::*:22        (983/sshd)
    *:*:*:*::*:25        (2085/master)
    *:*:*:*::*:443        (6531/apache2)
    *:*:*:*::*:993        (990/dovecot)
    *:*:*:*::*:995        (990/dovecot)
    *:*:*:*::*:587        (2085/master)
    [localhost]10        (990/dovecot)
    [localhost]43        (990/dovecot)
    *:*:*:*::*:8080        (6531/apache2)
    *:*:*:*::*:80        (6531/apache2)
    *:*:*:*::*:8081        (6531/apache2)
    *:*:*:*::*:465        (2085/master)
    
    ##### 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 
    Edit1: Reworded question. It was confusing before.
    Edit2: Added small block of code above.
     
    Last edited: Jun 26, 2015
  2. typojoe

    typojoe New Member

    SOLVED: I realized it was asking for a host that it couldn't find. So I checked the /etc/hosts and /etc/hostname files and noticed they didn't match what it was looking for. So I changed them to the name it was seeking... and problem solved.
     

Share This Page