First Login Error

Discussion in 'Installation/Configuration' started by evbim, Dec 16, 2005.

  1. evbim

    evbim New Member

    I finished installation without no errors. I used ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" article to do it.
    But now, after installation when I try to login with admin:admin I have this error message:

    Can you help me?

    Thanx.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post line 130 - 135 of the file /home/admispconfig/ispconfig/lib/config.inc.php

    If line 131 is the last line of the file ad does not contain "?>" then remove the last empty line.
     
  3. evbim

    evbim New Member

    Resolved.

    When I remove the emty line after "?>" It is resoved. Thanx for all..
     
  4. newzen

    newzen New Member

    first login problems, fedora core 4

    i install you system under fedora core 4. I finished the instalation with no error but i cant to login with username admin and password admin.

    Would you help me
    Thanks.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check the install logfile /var/log/install_ispconfig.log if there where any Database inside.
     
  6. newzen

    newzen New Member

     
  7. falko

    falko Super Moderator Howtoforge Staff

    The log looks ok. Can you check if the ISPConfig databse exists and if the table sys_user exists in the ISPConfig database? If the table exists, what is in there?
     
  8. newzen

    newzen New Member

    where can i find that database and how to check for the table.
    excuse im a newbird in mysql and in linux too.
    Thanks for your comprension and passient. iand zorry for my poor english.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    You can either install phpmyadmin on your server or use the mysql commandline tools. The commandline tools are not so easy to handle if you dont have some knowledge of SQL commands.
     
  10. falko

    falko Super Moderator Howtoforge Staff

    If you want to do it on the comand line:

    Code:
    mysql -u root -p
    Enter password:
    SHOW DATABASES;
    If the ISPConfig database is listed:
    Code:
    USE <ispconfig_database>;
    SHOW TABLES;
    If the sys_user table is listed:

    Code:
    SELECT * FROM sys_user;
    To leave the MySQL shell, type
    Code:
    quit;
     
  11. newzen

    newzen New Member

    Very thanks for your guide,
    this database is not on my system. i have to install again ISPCONFIG? if the answer is positive, what i do wrong? for not make the same mistake again!!

    i follow perfect setup and instruccion for install exacly like aparease in documentation, really i dont understand.

    maybe in my log file you with your experience on that system can find what i do wrong (bad)
    Thanks in advance for yours help,
     
  12. newzen

    newzen New Member

    The problem was, i dont login in mysql like a root, then the system cant to write there.


    Im reinstall ispconfig giving to install the root user and his password. all is working fine

    Thanks for all and excuse all bad.
     
  13. cragos

    cragos New Member

    If the sys_user table is listed....

    And if it isn't? Then what can be done, short of a reinstall? In my case, the database exists, but doesn't seem to have anything in it. SHOW TABLES returns nada, zip, nothing, and a wee bit of whitespace.

    --edit--
    This might be of interest:
    [root@mrzaius lib]# /etc/init.d/ispconfig_server restart
    Shutting down ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl stop: httpd stopped
    ISPConfig system stopped!
    Starting ISPConfig system...
    Apache/1.3.34 mod_ssl/2.8.25 (Pass Phrase Dialog)
    Some of your private key files are encrypted for security reasons.
    In order to read them you have to provide us with the pass phrases.

    Server ****.****.net:81 (RSA)
    Enter pass phrase:

    Ok: Pass Phrase Dialog successful.
    /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!
     
    Last edited: May 5, 2006
  14. falko

    falko Super Moderator Howtoforge Staff

    Did you get any errors during ISPConfig installation?
    There's nothing you can do about the empty database except removing the current ISPConfig installation and doing a reinstall.

    Please read the installation manual: http://www.ispconfig.org/manual_installation.htm

     

Share This Page