Fresh Install on Debian

Discussion in 'Installation/Configuration' started by cksrealm, Feb 7, 2006.

  1. cksrealm

    cksrealm New Member

    Hi all , I have decided to do a fresh install on my server running Debian 3.1 with the kernel image 2.6.8-2-386. However I have run into some issues as can be seen from the output below.

    tar: Error exit delayed from previous errors
    ./setup2: line 771: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!

    I have followed the perfect install instructions to the word yet still getting the same issues, anyone got any ideas.

    Kind Regards

    Chris K
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you try to install ISPConfig more than once?
    Run
    Code:
    rm -fr /root/ispconfig
    rm -fr /home/admispconfig
    also delete the install_ispconfig directory. Then unpack the ISPConfig tar.gz again and run the setup again.
     
  3. deusiah

    deusiah New Member

    I'm compiling this for ARM. I have no idea if this problem is related to that? I would have assumed that because it's compiling Apache/PHP and not using a binary it would be OK but I guess it could be the case the scripts don't detect ARM?

    This thing took around 5 hours to compile, is there no way of running this from my exisiting LAMP setup? I'd prefer that over running two servers.

    If not is there any software similar to ISPConfig? I'd really like to use ISPConfig, it looks great but going through the painfull 5 hour process to recieve another fail message isn't something I want to do :S
     
    Last edited: Apr 26, 2016
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There are other ISP controlpanels, but i dont think you will find any that provide ARM binarys. ISPConfig is one of the most portable with the most supported linux distributions and architectures.

    The next ISPConfig release will replace the last few binarys that we deliver with versions compiled during installation to be even more portable.
     
  5. cksrealm

    cksrealm New Member

    I have only tried the install twice and both times i removed the install_ispconfig directory as required, there was however no /home/admispconfig directory at all. Again the error that I am getting is.

    tar: Error exit delayed from previous errors
    ./setup2: line 771: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    mamba:/var/www/install_ispconfig#
     
  6. deusiah

    deusiah New Member

    Thanks for the info Till, does that mean ISPconfig is likely to work with ARM for the next release?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Are you sure you didnt got any errors before the tar error? If you are ot sure, you can have a look ath the ispconfig_install.log in /var/log/

    Is your system time and date set correctly? Tar is a bit picky with the system time.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    None of the ISPConfig developers has an ARM server, so i really dont know it. We are doing everything to make it as portable as possible.
     
  9. cksrealm

    cksrealm New Member

    The output from the section prior to this is shown below.

    Configured for linux-elf.
    making all in crypto...
    make[1]: Entering directory `/var/www/install_ispconfig/compile_aps/openssl-0.9.8/crypto'
    ( echo "#ifndef MK1MF_BUILD"; \
    echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
    echo ' #define CFLAGS "gcc -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"'; \
    echo ' #define PLATFORM "linux-elf"'; \
    echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
    echo '#endif' ) >buildinf.h
    gcc -I. -I.. -I../include -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 -c -o cryptlib.o cryptlib.c
    In file included from cryptlib.c:117:
    cryptlib.h:62:20: error: stdlib.h: No such file or directory
    cryptlib.h:63:20: error: string.h: No such file or directory
    In file included from cryptlib.h:65,
    from cryptlib.c:117:
    ../e_os.h:392:30: error: unistd.h: No such file or directory
    ../e_os.h:397:29: error: sys/types.h: No such file or directory
    ../e_os.h:621:25: error: strings.h: No such file or directory
    In file included from cryptlib.h:72,
    from cryptlib.c:117:
    ../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory
    In file included from cryptlib.h:72,
    from cryptlib.c:117:
    ../include/openssl/crypto.h:175: error: syntax error before 'size_t'
    ../include/openssl/crypto.h:175: warning: no semicolon at end of struct or union
    ../include/openssl/crypto.h:176: warning: type defaults to 'int' in declaration of 'value_length'
    ../include/openssl/crypto.h:176: warning: data definition has no type or storage class
    ../include/openssl/crypto.h:177: error: syntax error before '}' token
    ../include/openssl/crypto.h:177: warning: type defaults to 'int' in declaration of 'OPENSSL_ITEM'
    ../include/openssl/crypto.h:177: warning: data definition has no type or storage class
    ../include/openssl/crypto.h:442: warning: parameter names (without types) in function declaration
    ../include/openssl/crypto.h:442: error: syntax error before 'size_t'
    ../include/openssl/crypto.h:443: warning: parameter names (without types) in function declaration
    ../include/openssl/crypto.h:444: error: syntax error before 'const'
    ../include/openssl/crypto.h:445: error: syntax error before 'size_t'
    ../include/openssl/crypto.h:447: error: syntax error before 'const'
    ../include/openssl/crypto.h:454: warning: parameter names (without types) in function declaration
    ../include/openssl/crypto.h:454: error: syntax error before 'size_t'
    ../include/openssl/crypto.h:455: warning: parameter names (without types) in function declaration
    ../include/openssl/crypto.h:456: error: syntax error before 'const'
    ../include/openssl/crypto.h:457: error: syntax error before 'size_t'
    ../include/openssl/crypto.h:459: error: syntax error before 'const'
    ../include/openssl/crypto.h:476: error: syntax error before 'size_t'
    ../include/openssl/crypto.h:511: error: syntax error before '*' token
    In file included from cryptlib.h:74,
    from cryptlib.c:117:
    ../include/openssl/bio.h:562: error: syntax error before '*' token
    ../include/openssl/bio.h:639: error: syntax error before '*' token
    ../include/openssl/bio.h:640: error: syntax error before '*' token
    In file included from ../include/openssl/err.h:74,
    from cryptlib.h:75,
    from cryptlib.c:117:
    ../include/openssl/lhash.h:185: error: syntax error before 'FILE'
    ../include/openssl/lhash.h:186: error: syntax error before 'FILE'
    ../include/openssl/lhash.h:187: error: syntax error before 'FILE'
    In file included from cryptlib.h:75,
    from cryptlib.c:117:
    ../include/openssl/err.h:87:19: error: errno.h: No such file or directory
    In file included from cryptlib.h:75,
    from cryptlib.c:117:
    ../include/openssl/err.h:279: error: syntax error before '*' token
    cryptlib.c: In function 'CRYPTO_thread_id':
    cryptlib.c:440: warning: implicit declaration of function 'getpid'
    cryptlib.c: In function 'OPENSSL_cpuid_setup':
    cryptlib.c:559: warning: implicit declaration of function 'getenv'
    cryptlib.c:559: warning: assignment makes pointer from integer without a cast
    cryptlib.c:560: warning: implicit declaration of function 'strtoul'
    cryptlib.c: In function 'OPENSSL_showfatal':
    cryptlib.c:754: warning: implicit declaration of function 'vfprintf'
    cryptlib.c:754: error: 'stderr' undeclared (first use in this function)
    cryptlib.c:754: error: (Each undeclared identifier is reported only once
    cryptlib.c:754: error: for each function it appears in.)
    cryptlib.c: In function 'OpenSSLDie':
    cryptlib.c:765: warning: implicit declaration of function 'abort'
    cryptlib.c:765: warning: incompatible implicit declaration of built-in function 'abort'
    cryptlib.c: In function 'OPENSSL_stderr':
    cryptlib.c:768: error: 'stderr' undeclared (first use in this function)
    make[1]: *** [cryptlib.o] Error 1
    make[1]: Leaving directory `/var/www/install_ispconfig/compile_aps/openssl-0.9.8/crypto'
    make: *** [build_crypto] Error 1
    ERROR: Could not make OpenSSL


    Also the system date/time are all correct as well.

    Kind Regards

    Chris K
     
  10. falko

    falko Super Moderator Howtoforge Staff

    You must install the libc6-dev package before you install ISPConfig:
    Code:
    apt-get install libc6-dev
     
  11. Philippe Gamache

    Philippe Gamache New Member

    I got the same error... Here my log...

    Code:
    Fri Feb 17 14:48:22 EST 2006 - [ISPConfig] - installation directory: /root/install_ispconfig
    Fri Feb 17 14:48:22 EST 2006 - [ISPConfig] - operating system: Debian testing/unstable.0
    Fri Feb 17 14:48:25 EST 2006 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'I
    SPConfig sur un nouveau syst<E8>me.
    Fri Feb 17 14:48:31 EST 2006 - [ISPConfig] - selected language: en
    Fri Feb 17 14:48:35 EST 2006 - [ISPConfig] - installation note accepted
    Fri Feb 17 14:49:03 EST 2006 - [ISPConfig] - licence accepted
    Fri Feb 17 14:49:12 EST 2006 - [ISPConfig] - installation mode: standard
    Fri Feb 17 14:50:32 EST 2006 - [ISPConfig] - mail: postfix
    Fri Feb 17 14:50:32 EST 2006 - [ISPConfig] - dist_mail=postfix ##
    Fri Feb 17 14:50:32 EST 2006 - [ISPConfig] - dist_mail_log=/var/log/mail.log ##
    Fri Feb 17 14:50:32 EST 2006 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Fri Feb 17 14:50:32 EST 2006 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - ftp: proftpd
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - dist_ftp=proftpd ##
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - dist_ftp_version=standalone ##
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - procmail found: /usr/bin/procmail
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - quota found: /usr/bin/quota
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - mysql found: /usr/bin/mysql
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - openssl found: /usr/bin/openssl
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - named found: /usr/sbin/named
    Fri Feb 17 14:50:37 EST 2006 - [ISPConfig] - iptables found: /sbin/iptables
    Fri Feb 17 14:50:38 EST 2006 - [ISPConfig] - httpd found: /usr/bin/httpd
    Fri Feb 17 14:50:38 EST 2006 - [ISPConfig] - httpd syntax ok!
    Fri Feb 17 14:50:38 EST 2006 - [ISPConfig] - dist_path_httpd_root=/home/www ##
    Fri Feb 17 14:50:42 EST 2006 - [ISPConfig] - symbolic link from /var/lib/mysql/mysql.sock to /var/run/mysqld/mysqld.sock created
    Fri Feb 17 14:50:42 EST 2006 - [ISPConfig] - Directory /var/www/sharedip created.
    Fri Feb 17 14:50:42 EST 2006 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Fri Feb 17 14:55:36 EST 2006 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Fri Feb 17 14:55:36 EST 2006 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation r
    outine stops here!
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    In the compile output there must be some errors during PHP compilation. Please post these errors here.
     
  13. Philippe Gamache

    Philippe Gamache New Member

    Look like it was FLEX that was missing
     

Share This Page