Can't log me in the ISPConfig

Discussion in 'Installation/Configuration' started by thaibinhtt, Mar 6, 2009.

  1. thaibinhtt

    thaibinhtt New Member

    Hi all,

    I use CentOS 5.2 and ISPconfig 2.2.29. I also use guide at http://www.howtoforge.com/perfect-server-centos-5.2-p7

    But I can't log me in the ISPconfig with user/pass: admin/admin after I finish my setup, it's the second times I catch the problem.

    Bellow it is some outputs from console when I finish my setup.
    Code:
    Here we go...
    Please enter your MySQL server:localhost
    OK
    Please enter your MySQL user:root
    Please enter your MySQL password:
    OK
    Please enter a name for the ISPConfig database (e.g. db_ispconfig):db_ispconfig
    Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):192.168.7.123
    OK
    Please enter the host name (e.g. www):server
    Please enter the domain (e.g. xyz.de):learnit.vn
    OK
    Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
    1) HTTPS
    2) HTTP
    Your Choice: 2
    
    Connected successfully to MySQL server
    Es ist schon eine Datenbank mit dem Namen db_ispconfig vorhanden!
    There's already another database with the name db_ispconfig!
    no crontab for root
    Restarting some services...
    Shutting down postfix: [  OK  ]
    Starting postfix: [  OK  ]
    Shutting down proftpd: [  OK  ]
    Starting proftpd: [  OK  ]
    Starting ISPConfig system...
    /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.
    Please direct your browser to
    
    http://server.learnit.vn:81
    
    and log in:
    Username: admin
    Password: admin
    How to solve the broblem ? Please help me if you can. Thanks so much !
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig is not fully installed on your system. Please take a look in the screen output before the part you posted here, there must be some error messages.
     
  3. thaibinhtt

    thaibinhtt New Member

    Thank till,

    Here is something retain from my console. If you can't find the problem, I will try and catch all output again.

    Code:
    cc -c _match.s
    mv _match.o match.o
    rm -f _match.s
    /usr/bin/cpp crc_i386.S > crc_i386.s
    cc -c crc_i386.s
    rm -f crc_i386.s
    cc -o zip -s zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o crctab.o deflate.o trees.o match.o crc_i386.o 
    fileio.o: In function `tempname':
    fileio.c:(.text+0x375): warning: the use of `mktemp' is dangerous, better use `mkstemp'
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c
    In file included from zip.h:62,
                     from zipnote.c:17:
    tailor.h:162:1: warning: "strchr" redefined
    In file included from /usr/include/string.h:417,
                     from tailor.h:141,
                     from zip.h:62,
                     from zipnote.c:17:
    /usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
    rm -f zipfile_.c; ln -s zipfile.c zipfile_.c
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL zipfile_.c
    In file included from zip.h:62,
                     from zipfile_.c:14:
    tailor.h:162:1: warning: "strchr" redefined
    In file included from /usr/include/string.h:417,
                     from tailor.h:141,
                     from zip.h:62,
                     from zipfile_.c:14:
    /usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
    rm -f zipfile_.c
    rm -f fileio_.c; ln -s fileio.c fileio_.c
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL fileio_.c
    In file included from zip.h:62,
                     from fileio_.c:14:
    tailor.h:162:1: warning: "strchr" redefined
    In file included from /usr/include/string.h:417,
                     from tailor.h:141,
                     from zip.h:62,
                     from fileio_.c:14:
    /usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
    rm -f fileio_.c
    rm -f util_.c; ln -s util.c util_.c
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL util_.c
    In file included from zip.h:62,
                     from util_.c:14:
    tailor.h:162:1: warning: "strchr" redefined
    In file included from /usr/include/string.h:417,
                     from tailor.h:141,
                     from zip.h:62,
                     from util_.c:14:
    /usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
    rm -f util_.c
    rm -f unix_.c; ln -s unix/unix.c unix_.c
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL unix_.c
    In file included from zip.h:62,
                     from unix_.c:9:
    tailor.h:162:1: warning: "strchr" redefined
    In file included from /usr/include/string.h:417,
                     from tailor.h:141,
                     from zip.h:62,
                     from unix_.c:9:
    /usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
    rm -f unix_.c
    cc -o zipnote -s zipnote.o  zipfile_.o fileio_.o util_.o globals.o unix_.o 
    fileio_.o: In function `tempname':
    fileio_.c:(.text+0x195): warning: the use of `mktemp' is dangerous, better use `mkstemp'
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c
    In file included from zip.h:62,
                     from zipsplit.c:17:
    tailor.h:162:1: warning: "strchr" redefined
    In file included from /usr/include/string.h:417,
                     from tailor.h:141,
                     from zip.h:62,
                     from zipsplit.c:17:
    /usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
    cc -o zipsplit -s zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o 
    fileio_.o: In function `tempname':
    fileio_.c:(.text+0x195): warning: the use of `mktemp' is dangerous, better use `mkstemp'
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c
    In file included from zip.h:62,
                     from zipcloak.c:20:
    tailor.h:162:1: warning: "strchr" redefined
    In file included from /usr/include/string.h:417,
                     from tailor.h:141,
                     from zip.h:62,
                     from zipcloak.c:20:
    /usr/include/bits/string2.h:396:1: warning: this is the location of the previous definition
    rm -f crypt_.c; ln -s crypt.c crypt_.c
    cc -c -O2 -I. -DUNIX -DASMV -DASM_CRC -DNO_STRCHR -DNO_STRRCHR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL crypt_.c
    rm -f crypt_.c
    cc -o zipcloak -s zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crctab.o crypt_.o ttyio.o 
    fileio_.o: In function `tempname':
    fileio_.c:(.text+0x195): warning: the use of `mktemp' is dangerous, better use `mkstemp'
    make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/zip-2.3'
    cc -c -O -I. -DUNIX  unzip.c
    cc -c -O -I. -DUNIX  crc32.c
    cc -c -O -I. -DUNIX  crctab.c
    cc -c -O -I. -DUNIX  crypt.c
    cc -c -O -I. -DUNIX  envargs.c
    cc -c -O -I. -DUNIX  explode.c
    cc -c -O -I. -DUNIX  extract.c
    cc -c -O -I. -DUNIX  fileio.c
    cc -c -O -I. -DUNIX  globals.c
    cc -c -O -I. -DUNIX  inflate.c
    cc -c -O -I. -DUNIX  list.c
    cc -c -O -I. -DUNIX  match.c
    cc -c -O -I. -DUNIX  process.c
    cc -c -O -I. -DUNIX  ttyio.c
    cc -c -O -I. -DUNIX  unreduce.c
    cc -c -O -I. -DUNIX  unshrink.c
    cc -c -O -I. -DUNIX  zipinfo.c
    cc -c -O -I. -DUNIX  unix/unix.c
    cc -o unzip unzip.o crc32.o crctab.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o unreduce.o unshrink.o zipinfo.o unix.o -s
    cc -c -O -I. -DUNIX  funzip.c
    ln crypt.c cryptf.c
    cc -c -O -I. -DUNIX  -DFUNZIP cryptf.c
    rm -f cryptf.c
    ln globals.c globalsf.c
    cc -c -O -I. -DUNIX  -DFUNZIP globalsf.c
    rm -f globalsf.c
    ln inflate.c inflatef.c
    cc -c -O -I. -DUNIX  -DFUNZIP inflatef.c
    rm -f inflatef.c
    ln ttyio.c ttyiof.c
    cc -c -O -I. -DUNIX  -DFUNZIP ttyiof.c
    rm -f ttyiof.c
    cc -o funzip funzip.o crc32.o cryptf.o globalsf.o inflatef.o ttyiof.o -s
    ln unzip.c unzipsfx.c
    cc -c -O -I. -DUNIX  -DSFX unzipsfx.c
    rm -f unzipsfx.c
    ln crctab.c crctab_.c
    cc -c -O -I. -DUNIX  -DSFX crctab_.c
    rm -f crctab_.c
    ln crypt.c crypt_.c
    cc -c -O -I. -DUNIX  -DSFX crypt_.c
    rm -f crypt_.c
    ln extract.c extract_.c
    cc -c -O -I. -DUNIX  -DSFX extract_.c
    rm -f extract_.c
    ln fileio.c fileio_.c
    cc -c -O -I. -DUNIX  -DSFX fileio_.c
    rm -f fileio_.c
    ln globals.c globals_.c
    cc -c -O -I. -DUNIX  -DSFX globals_.c
    rm -f globals_.c
    ln inflate.c inflate_.c
    cc -c -O -I. -DUNIX  -DSFX inflate_.c
    rm -f inflate_.c
    ln match.c match_.c
    cc -c -O -I. -DUNIX  -DSFX match_.c
    rm -f match_.c
    ln process.c process_.c
    cc -c -O -I. -DUNIX  -DSFX process_.c
    rm -f process_.c
    ln ttyio.c ttyio_.c
    cc -c -O -I. -DUNIX  -DSFX ttyio_.c
    rm -f ttyio_.c
    ln unix/unix.c unix_.c
    cc -c -O -I. -DUNIX  -DSFX unix_.c
    rm -f unix_.c
    cc -o unzipsfx unzipsfx.o crc32.o crctab_.o crypt_.o extract_.o fileio_.o globals_.o inflate_.o match_.o process_.o ttyio_.o unix_.o -s
    All prerequisites are fulfilled.
    Here we go...
    Please enter your MySQL server:localhost
    OK
    Please enter your MySQL user:root
    Please enter your MySQL password:
    OK
    Please enter a name for the ISPConfig database (e.g. db_ispconfig):db_ispconfig
    Please enter the IP address of the ISPConfig web (e.g. 192.168.0.1):192.168.7.123
    OK
    Please enter the host name (e.g. www):server
    Please enter the domain (e.g. xyz.de):learnit.vn
    OK
    Please select the protocol (http or https (SSL encryption)) to use to access the ISPConfig system:
    1) HTTPS
    2) HTTP
    Your Choice: 2
     
    Last edited: Mar 6, 2009
  4. falko

    falko Super Moderator Howtoforge Staff

    I guess the problem is that there was already another database with that name. I suggest you delete that database and the directories /root/ispconfig and /home/admispconfig and start the installation again.
     

Share This Page