can't login. can't prase php

Discussion in 'Installation/Configuration' started by flourishing, Nov 7, 2005.

  1. flourishing

    flourishing ISPConfig Developer ISPConfig Developer

    after success install . i can 't login use username admin and password admin
    and the apache orginal in system can't prase php . what is the problem.
    and ispconfig will use whichi apache to build the vhosts ??

    and i checked my install log. i think the last message occured this.
    and i checked mysql databases , database ispconfig still is a empty database
    Code:
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /root/ispconfig/scripts/lib/config.inc.php on line 47
    No results found!ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
    
    You have mail in /var/spool/mail/root
    should i reinstall it ???

    and here is the message about the mysql

    Code:
    ########## INSTALLATION ##########
    
    Preparing files. Please wait a moment...
    All prerequisites are fulfilled.
    Here we go...
    Please enter your MySQL server:localhost
    Please enter your MySQL user:ispconfig
    Please enter your MySQL password:
    OK
    Please enter a name for the ISPConfig database (e.g. db_ispconfig):ispconfig
    Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):192.168.0.10
    OK
    Please enter the host name (e.g. www):www
    looks like mysql is ok
    what should i do?
     
    Last edited: Nov 7, 2005
  2. falko

    falko Super Moderator ISPConfig Developer

  3. flourishing

    flourishing ISPConfig Developer ISPConfig Developer

    rm /home/...
    rm install_ispconfig


    or unstall??
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Code:
    rm -rf /root/ispconfig
    rm -rf /home/admispconfig
    Then unpack ISPConfig again and run the setup again.
     
  5. flourishing

    flourishing ISPConfig Developer ISPConfig Developer

    Code:
    ########## INSTALLATION ##########
    
    Preparing files. Please wait a moment...
    All prerequisites are fulfilled.
    Here we go...
    Please enter your MySQL server:localhost
    Please enter your MySQL user:root
    Please enter your MySQL password:
    OK
    Please enter a name for the ISPConfig database (e.g. db_ispconfig):ispconfig
    Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):192.168.0.10
    OK
    Please enter the host name (e.g. www):www
    Please enter the domain (e.g. xyz.de):abc.com
    OK
    Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
    1) HTTPS
    2) HTTP
    Your Choice: 1
    
    Connected successfully to MySQL server
    Es ist schon eine Datenbank mit dem Namen ispconfig vorhanden!
    Restarting some services...
    httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    Shutting down sendmail: [FAILED]
    Starting sendmail: [  OK  ]
    Starting sm-client: [  OK  ]
    Starting ISPConfig system...
    [Tue Nov  8 08:51:57 2005] [alert] ispconfig_httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /root/ispconfig/scripts/lib/config.inc.php on line 47
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    No results found!FreshClam is already running!
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
    
    You have mail in /var/spool/mail/root
    the problem still there although i changened the mysql user to root .

    i checked the database ,still empty. any advices?
     
  6. flourishing

    flourishing ISPConfig Developer ISPConfig Developer

    i already know what's going on . i create the database myserver . should be only sign the db name ,can 't create the database myself.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    You used the same database name than in the previous installation so the installer recognized that the database was already existing. So either use another database name in the next installation, or delete the database before the next installation.

    So again do this:

    Code:
    rm -rf /root/ispconfig
    rm -rf /home/admispconfig
    Unpack ISPConfig again and run the setup, and when you're asked for the database name, specify a name that isn't existing yet!
     

Share This Page