Debian install error

Discussion in 'Installation/Configuration' started by jf1976, Jan 16, 2006.

  1. jf1976

    jf1976 New Member

    hi all,

    i've followed the guide at http://www.howtoforge.com/perfect_setup_debian_sarge on a fresh install then followed the guide at http://www.ispconfig.org/manual_installation.htm but am unable to get ISP Config to complete its setup process.

    i get the following errors in /var/log/ispconfig_install.log

    Fri Jan 1 17:37:42 GMT 1988 - [ISPConfig] - installation directory: /tmp/install_ispconfig
    Fri Jan 1 17:37:42 GMT 1988 - [ISPConfig] - operating system: Debian 3.1
    Fri Jan 1 17:37:45 GMT 1988 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
    Fri Jan 1 17:37:49 GMT 1988 - [ISPConfig] - selected language: en
    Fri Jan 1 17:37:54 GMT 1988 - [ISPConfig] - installation note accepted
    Fri Jan 1 17:37:58 GMT 1988 - [ISPConfig] - licence accepted
    Fri Jan 1 17:38:02 GMT 1988 - [ISPConfig] - installation mode: standard
    Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - mail: postfix
    Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail=postfix ##
    Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail_log=/var/log/mail.log ##
    Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Fri Jan 1 17:38:07 GMT 1988 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - ftp: proftpd
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp=proftpd ##
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp_version=standalone ##
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - procmail found: /usr/bin/procmail
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - quota found: /usr/bin/quota
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - mysql found: /usr/bin/mysql
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - openssl found: /usr/bin/openssl
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - named found: /usr/sbin/named
    Fri Jan 1 17:38:17 GMT 1988 - [ISPConfig] - iptables found: /sbin/iptables
    Fri Jan 1 17:38:18 GMT 1988 - [ISPConfig] - httpd found: /usr/bin/httpd
    Fri Jan 1 17:38:18 GMT 1988 - [ISPConfig] - httpd syntax ok!
    Fri Jan 1 17:38:18 GMT 1988 - [ISPConfig] - dist_path_httpd_root=/home/www ##
    Fri Jan 1 17:38:22 GMT 1988 - [ISPConfig] - Directory /var/www/sharedip created.
    Fri Jan 1 17:38:22 GMT 1988 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Fri Jan 1 17:38:41 GMT 1988 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Fri Jan 1 17:38:41 GMT 1988 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

    i am unsure how to continue with the installation and i have been unable to find a solution in the locations i have searched, please could someone help me fix this.

    thanks in advanced.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be some errors during the compililation of the PHP binaries. Please post these errors here.

    If you want to run the setup script again, please delete:

    rm -rf /root/ispconfig
    rm -rf /home/admispconfig

    and the install_ispconfig directory, unpack the ispconfig tar.gz file again and run the setup script.
     
  3. jf1976

    jf1976 New Member

    this is what i get on screen

    Operating system: i686-whatever-linux2
    Configuring for linux-elf
    Configuring for linux-elf
    no-gmp [default] OPENSSL_NO_GMP (skip dir)
    no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir)
    no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
    no-shared [default]
    no-zlib [default]
    no-zlib-dynamic [default]
    IsMK1MF=0
    CC =gcc
    CFLAG =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
    EX_LIBS =-ldl
    CPUID_OBJ =x86cpuid-elf.o
    BN_ASM =bn86-elf.o co86-elf.o
    DES_ENC =dx86-elf.o yx86-elf.o
    AES_ASM_OBJ =ax86-elf.o
    BF_ENC =bx86-elf.o
    CAST_ENC =cx86-elf.o
    RC4_ENC =rx86-elf.o
    RC5_ENC =r586-elf.o
    MD5_OBJ_ASM =mx86-elf.o
    SHA1_OBJ_ASM =sx86-elf.o s512sse2-elf.o
    RMD160_OBJ_ASM=rm86-elf.o
    PROCESSOR =
    RANLIB =/usr/bin/ranlib
    ARFLAGS =
    PERL =/usr/bin/perl
    THIRTY_TWO_BIT mode
    DES_PTR used
    DES_RISC1 used
    DES_UNROLL used
    BN_LLONG mode
    RC4_INDEX mode
    RC4_CHUNK is undefined
    make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
    Makefile is older than Makefile.org, Configure or config.
    Reconfigure the source tree (via './config' or 'perl Configure'), please.
    make: *** [Makefile] Error 1
    make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
    Makefile is older than Makefile.org, Configure or config.
    Reconfigure the source tree (via './config' or 'perl Configure'), please.
    make: *** [Makefile] Error 1
    ERROR: Could not make OpenSSL
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/unzip'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : No such file or directory
    tar: spamassassin.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `spamassassin': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `clamav': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    tar: aps.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 771: ispconfig_tmp/php/bin/php: No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory

    and the two locations you ref to are not created!
     
  4. jf1976

    jf1976 New Member

    i have also tried

    ./setup --with-ssl=/usr/bin/openssl

    to corrert the OpenSSL error but i still get errors

    Operating system: i686-whatever-linux2
    Configuring for linux-elf
    Configuring for linux-elf
    no-gmp [default] OPENSSL_NO_GMP (skip dir)
    no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-mdc2 [default] OPENSSL_NO_MDC2 (skip dir)
    no-rc5 [default] OPENSSL_NO_RC5 (skip dir)
    no-shared [default]
    no-zlib [default]
    no-zlib-dynamic [default]
    IsMK1MF=0
    CC =gcc
    CFLAG =-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
    EX_LIBS =-ldl
    CPUID_OBJ =x86cpuid-elf.o
    BN_ASM =bn86-elf.o co86-elf.o
    DES_ENC =dx86-elf.o yx86-elf.o
    AES_ASM_OBJ =ax86-elf.o
    BF_ENC =bx86-elf.o
    CAST_ENC =cx86-elf.o
    RC4_ENC =rx86-elf.o
    RC5_ENC =r586-elf.o
    MD5_OBJ_ASM =mx86-elf.o
    SHA1_OBJ_ASM =sx86-elf.o s512sse2-elf.o
    RMD160_OBJ_ASM=rm86-elf.o
    PROCESSOR =
    RANLIB =/usr/bin/ranlib
    ARFLAGS =
    PERL =/usr/bin/perl
    THIRTY_TWO_BIT mode
    DES_PTR used
    DES_RISC1 used
    DES_UNROLL used
    BN_LLONG mode
    RC4_INDEX mode
    RC4_CHUNK is undefined
    make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
    Makefile is older than Makefile.org, Configure or config.
    Reconfigure the source tree (via './config' or 'perl Configure'), please.
    make: *** [Makefile] Error 1
    make: Warning: File `Makefile.org' has modification time 5.5e+08 s in the future
    Makefile is older than Makefile.org, Configure or config.
    Reconfigure the source tree (via './config' or 'perl Configure'), please.
    make: *** [Makefile] Error 1
    ERROR: Could not make OpenSSL
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    cd: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/unzip'job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : No such file or directory
    tar: spamassassin.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `spamassassin': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `clamav': No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    tar: aps.tar.gz: Cannot openjob-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    : No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 771: ispconfig_tmp/php/bin/php: No such file or directory
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The setup script does not support parameters.

    The problem you encounter is that the date and time on your server are incorrect (in the future).

    Set date and time to correct values, delete the directories from the broken install and run setup again.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    To update your system time, run this command:
    Code:
    /usr/sbin/rdate 128.2.136.71
     
  7. jf1976

    jf1976 New Member

    setting the time & date worked

    thanks for the advice, the install went great after correcting the time & date.

    Q). How do you get diffrent virtual hosts on diffrent ip's ?

    thanks
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Add additional IP addresses in ISPConfig under management > server > settings in the additional IP's field. One IP per line.

    Then you can select these IP#s when you create a new website.
     
  9. jf1976

    jf1976 New Member

    thanks

    thanks thats great, but i seam to have got an error now

    but i have delete the site and removed the trash? how do i clear the cache or what do i need to do.

    thanks again

    ----EDIT

    Fixed... logout login?

    things are working a bit better now thanks.

    i now have:

    sample.DNYDNS.DOMAIN.NET
    sample2.DNYDNS.DOMAIN.NET

    last question

    when i goto DNYDNS.DOMAIN.NET it always goes to SAMPLE.DNYDNS.DOMAIN.NET not the default doc root? how can i stop this? as i want the host as the main site and the other 2 as diffrent sites.

    thanks
     
    Last edited: Jan 17, 2006
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Can you please explain this a bit more.

    Have you created awebsite DNYDNS.DOMAIN.NET and SAMPLE.DNYDNS.DOMAIN.NET in ISPConfig? What do you mean with default doc root. /var/www or the web directory of a ISPConfig website?
     
  11. jf1976

    jf1976 New Member

    ok

    well i have set up two sites as:

    site1.DNYDNS.DOMAIN.NET
    site2.DNYDNS.DOMAIN.NET

    and as my FQDN is DNYDNS.DOMAIN.NET and the rest are just supported by the ispconfig setup there is no DNYDNS.DOMAIN.NET folder in /var/www for me to put a default site into apart from the apache-default folder but this does not work.
     
  12. jf1976

    jf1976 New Member

    my system uses ISPCONFIG to host the virtual domains everything is working as should and all domains are hosted on the same IP.

    i have 2 sites created under ISPConfig and both work but as my router is configured to use wildcard forwarding is will accept *.F.Q.D.N and forward to the same host.

    but if i dont include a subhost.F.Q.D.N then you get forwared to site1.F.Q.D.N rather than F.Q.D.N so i would like to make sure that F.Q.D.N points to the right path on the server to get a unique site like the *.F.Q.D.N's provided by ISPConfig i've created a site under ISPConfig www.F.Q.D.N and this has created a path on the server www.F.Q.D.N and now i would like to make sure that if you point a browser to www.F.Q.D.N or http://F.Q.D.N then you arrive at the same location.

    hope that makes sence.

    thanks for your help.
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check site1.DNYDNS.DOMAIN.NET and site2.DNYDNS.DOMAIN.NET if ISPConfig created automatically a co-domain DNYDNS.DOMAIN.NET for these sites. You have to delete these co-domains if you want to have DNYDNS.DOMAIN.NET as separate site.
     
  14. jf1976

    jf1976 New Member

    cant find any

    hi i cant find any info on co domains?

    im guessing this might be done in apache.conf?

    ie if "SUBHOST.HOST.DOMAIN.NET" is not there then load "HOST.DOMAIN.NET" who path is /var/www/apache2-default

    ?

    ----EDIT

    Found the co-domain part and yes it looks like the sites all have the same co-domain but delete deletes the whole site?
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Go to the co-domain tab, click on the co-domain to edit it and then click on the delete button in the co-domain form. This only deletes this co-domain.
     
  16. jf1976

    jf1976 New Member

    kinda working now

    after installing phpmyadmin & the webmail addon i cant seam to gain access to the interfaces?

    what are the user names and password ? or how do i change them?
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    You cannot get access to ISPConfig or to phpmyadmin and webmail?
     
  18. jf1976

    jf1976 New Member

    just the upgrade packages

    i get access to ISPConfig but no username & password combination work with the webmail & phpmyadmin interface
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    For phpmyadmin you must use a mySQL database username and password.
    For webmail you must use an email address and password.
     
  20. falko

    falko Super Moderator ISPConfig Developer

    Something like web3_db2 and the password.

    This means you must use any of the email addresses you set up in ISPConfig for the user in question, and his password.
     

Share This Page