WARNING: could not unpack ISPConfig system

Discussion in 'Installation/Configuration' started by mng, Feb 13, 2008.

  1. mng

    mng New Member

    Hi guys, having some problems with installation. I get pass CA section, then the following comes up:

    Wed Feb 13 16:13:24 EST 2008 - [ISPConfig] - dist_ftp=proftpd ##
    Wed Feb 13 16:13:25 EST 2008 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Wed Feb 13 16:13:25 EST 2008 - [ISPConfig] - dist_ftp_version=standalone ##
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - procmail found: /usr/bin/procmail
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - quota found: /usr/bin/quota
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - mysql found: /usr/bin/mysql
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - openssl found: /usr/bin/openssl
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - named found: /usr/sbin/named
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - iptables found: /sbin/iptables
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - httpd found: /usr/bin/httpd
    Wed Feb 13 16:13:26 EST 2008 - [ISPConfig] - httpd syntax ok!
    Wed Feb 13 16:13:27 EST 2008 - [ISPConfig] - dist_path_httpd_root=/var/www ##
    Wed Feb 13 16:13:27 EST 2008 - [ISPConfig] - gcc found: /usr/bin/gcc
    Wed Feb 13 16:13:27 EST 2008 - [ISPConfig] - make found: /usr/bin/make
    Wed Feb 13 16:13:27 EST 2008 - [ISPConfig] - flex found: /usr/bin/lex
    Wed Feb 13 16:13:27 EST 2008 - [ISPConfig] - g++ found: /usr/bin/g++
    Wed Feb 13 16:13:33 EST 2008 - [ISPConfig] - Directory /var/www/sharedip created.
    Wed Feb 13 16:13:33 EST 2008 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Wed Feb 13 16:23:30 EST 2008 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Wed Feb 13 16:23:30 EST 2008 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    Wed Feb 13 17:05:14 EST 2008 - [ISPConfig] - installation directory: /root/install_ispconfig
    Wed Feb 13 17:05:14 EST 2008 - [ISPConfig] - operating system: Debian testing/unstable.0
    Wed Feb 13 17:05:17 EST 2008 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
    Wed Feb 13 17:05:19 EST 2008 - [ISPConfig] - selected language: en
    Wed Feb 13 17:05:20 EST 2008 - [ISPConfig] - installation note accepted
    Wed Feb 13 17:05:21 EST 2008 - [ISPConfig] - licence accepted
    Wed Feb 13 17:05:22 EST 2008 - [ISPConfig] - installation mode: expert
    Wed Feb 13 17:05:23 EST 2008 - [ISPConfig] - mail: postfix
    Wed Feb 13 17:05:23 EST 2008 - [ISPConfig] - dist_mail=postfix ##
    Wed Feb 13 17:05:24 EST 2008 - [ISPConfig] - dist_mail_log=/var/log/mail.log ##
    Wed Feb 13 17:05:27 EST 2008 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
    Wed Feb 13 17:05:32 EST 2008 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
    Wed Feb 13 17:05:33 EST 2008 - [ISPConfig] - ftp: proftpd
    Wed Feb 13 17:05:33 EST 2008 - [ISPConfig] - dist_ftp=proftpd ##
    Wed Feb 13 17:05:33 EST 2008 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
    Wed Feb 13 17:05:34 EST 2008 - [ISPConfig] - dist_ftp_version=standalone ##
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - procmail found: /usr/bin/procmail
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - quota found: /usr/bin/quota
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - mysql found: /usr/bin/mysql
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - openssl found: /usr/bin/openssl
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - named found: /usr/sbin/named
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - iptables found: /sbin/iptables
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - httpd found: /usr/bin/httpd
    Wed Feb 13 17:05:35 EST 2008 - [ISPConfig] - httpd syntax ok!
    Wed Feb 13 17:05:37 EST 2008 - [ISPConfig] - dist_path_httpd_root=/var/www ##
    Wed Feb 13 17:05:37 EST 2008 - [ISPConfig] - gcc found: /usr/bin/gcc
    Wed Feb 13 17:05:37 EST 2008 - [ISPConfig] - make found: /usr/bin/make
    Wed Feb 13 17:05:37 EST 2008 - [ISPConfig] - flex found: /usr/bin/lex
    Wed Feb 13 17:05:37 EST 2008 - [ISPConfig] - g++ found: /usr/bin/g++
    Wed Feb 13 17:05:40 EST 2008 - [ISPConfig] - Directory /var/www/sharedip created.
    Wed Feb 13 17:05:40 EST 2008 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Wed Feb 13 17:11:11 EST 2008 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Wed Feb 13 17:11:11 EST 2008 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    ~

    I have tried a few things but im still stoked. Any help is much appreciated ^^;

    Cheers.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the error messages that you got on the shell. The log does not contain the errors that caused the setup to stop.
     
  3. mng

    mng New Member

    Thank you for your reply Till!

    Here are the messages:

    ./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory

    It logs me out of the system.

    Some other random messages:

    Tar: Child returned status 2
    mv: cannot stat 'spamassasin': No such file or director
    tar:Error exit delayed from previous errors
    (repeat messages for clamAV)
    Thanks again
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the error messages before the line "./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory" The relevant error is the first one.

    Please make sure that you installed all pacakges as described in the perfect setup guide for your linux distribution.
     
  5. hbellmer

    hbellmer New Member

    Code:
    [snip]
    ig/compile_aps/php-5.2.5/ext/date/lib -I/tmp/install_ispconfig/compile_aps/php-5.2.5/ext/mbstring/oniguruma -I/tmp/install_ispconfig/compile_aps/php-5.2.5/ext/mbstring/libmbfl -I/tmp/install_ispconfig/compile_aps/php-5.2.5/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/tmp/install_ispconfig/compile_aps/php-5.2.5/TSRM -I/tmp/install_ispconfig/compile_aps/php-5.2.5/Zend    -I/usr/include -g -O2  -prefer-non-pic -c /tmp/install_ispconfig/compile_aps/php-5.2.5/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo 
    
    cc1: out of memory allocating 6136320 bytes after a total of 26238976 bytes
    make: *** [ext/date/lib/parse_date.lo] Error 1
    ERROR: Could not make PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': 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
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.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 `spamassassin': 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
    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
    mv: cannot stat `clamav': No such file or directory
    tar: aps.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
    ./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: Das mitgelieferte PHP-Binary funktioniert auf Ihrem System nicht! Die Installation bricht hier ab!
    
    I got nearly the same error and i dont want to start a new topic. I tried to install from /root/install_ispconfig AND then i tried from /tmp/install_ispconfig.

    I think i got an out of memory error, any suggestions to fix this?

    Thanks and greetings from Bremen, Germany
    HAnnes
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Can you post the outputs of
    Code:
    cat /proc/meminfo
    and
    Code:
    df -h
    ?
     
  7. hbellmer

    hbellmer New Member

    Code:
    root@v1919:~# cat /proc/meminfo 
    MemTotal:      8144612 kB
    MemFree:        163124 kB
    Buffers:        160364 kB
    Cached:        2344392 kB
    SwapCached:         84 kB
    Active:        6139648 kB
    Inactive:       529628 kB
    HighTotal:           0 kB
    HighFree:            0 kB
    LowTotal:      8144612 kB
    LowFree:        163124 kB
    SwapTotal:    10241428 kB
    SwapFree:     10226292 kB
    Dirty:            3632 kB
    Writeback:           0 kB
    Mapped:        5027284 kB
    Slab:           984012 kB
    CommitLimit:  14313732 kB
    Committed_AS: 13557560 kB
    PageTables:     142592 kB
    VmallocTotal: 536870908 kB
    VmallocUsed:    333988 kB
    VmallocChunk: 536535960 kB
    
    
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    vzfs                   15G  111M   15G   1% /
    tmpfs                 3.9G     0  3.9G   0% /lib/init/rw
    tmpfs                 3.9G     0  3.9G   0% /dev/shm
    
    I actually reinstalled my vServer. But i think 15 GB should be enough. I think the 160MB (+160Boost) RAM ist not enough.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Your system has 8GB of RAM, that's plenty...
    Which ISPConfig version are you trying to install? Which distribution are you using?
     
  9. hbellmer

    hbellmer New Member

    Its a vServer with 160MB RAM for my machine, think 8GB is for the hole machine.

    OS is Debian 4.0 ISPConfig is Version 2.2.21
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem is most likely that you dont have enough ram and that your vserver is not allowed to have additional swap space.

    Its worth a try to free some ram before you try to install ISPConfig. Stop the services that are not nescessary during installation:

    apache, bind, postfix, courier (all courier daemons: pop3, pop3s, imap, imaps and the auth daemon) or dovecot, proftpd or vsftpd

    and then try to install ispconfig again.
     
  11. hbellmer

    hbellmer New Member

    this was a good idea (why i didn't get it), ill try this. i will repost:

    After 40minutes of Compiling (much more then before) it crashed...

    Code:
    .5/ext/date/lib -I/tmp/install_ispconfig/compile_aps/php-5.2.5/ext/mbstring/oniguruma -I/tmp/install_ispconfig/compile_aps/php-5.2.5/ext/mbstring/libmbfl -I/tmp/install_ispconfig/compile_aps/php-5.2.5/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/tmp/install_ispconfig/compile_aps/php-5.2.5/TSRM -I/tmp/install_ispconfig/compile_aps/php-5.2.5/Zend    -I/usr/include -g -O2  -prefer-non-pic -c /tmp/install_ispconfig/compile_aps/php-5.2.5/Zend/zend_execute.c -o Zend/zend_execute.lo 
    virtual memory exhausted: Cannot allocate memory
    make: *** [Zend/zend_execute.lo] Error 1
    ERROR: Could not make PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': 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
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.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 `spamassassin': 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
    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
    mv: cannot stat `clamav': No such file or directory
    tar: aps.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
    ./setup2: line 873: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: Das mitgelieferte PHP-Binary funktioniert auf Ihrem System nicht! Die Installation bricht hier ab!
    
    Is it possible to change Compileoptions? Or any suggestions?
     
    Last edited: Mar 17, 2008
  12. falko

    falko Super Moderator Howtoforge Staff

    You can try to modify the compilation in install_ispconfig/compile_aps/compile.
     
  13. hbellmer

    hbellmer New Member

    hmm okay, i'll try. any ideas what i could change?

    atm i tried the "64Bit" hack, i found via google -> this means that i compile it in 64 bit mode
     
  14. hbellmer

    hbellmer New Member

    It dont work, argh....

    I had actually no Ideas, anymore. And why php needs so much RAM?
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    How much free memory do you have and how large is your swap space?
     
  16. hbellmer

    hbellmer New Member

    Code:
    root@v1919:~# cat /proc/meminfo 
    MemTotal:      8144612 kB
    MemFree:        127716 kB
    Buffers:        118100 kB
    Cached:        2432624 kB
    SwapCached:        136 kB
    Active:        6236700 kB
    Inactive:       519348 kB
    HighTotal:           0 kB
    HighFree:            0 kB
    LowTotal:      8144612 kB
    LowFree:        127716 kB
    SwapTotal:    10241428 kB
    SwapFree:     10225096 kB
    Dirty:            5868 kB
    Writeback:           0 kB
    Mapped:        5072160 kB
    Slab:           941936 kB
    CommitLimit:  14313732 kB
    Committed_AS: 13651808 kB
    PageTables:     134988 kB
    VmallocTotal: 536870908 kB
    VmallocUsed:    333124 kB
    VmallocChunk: 536536220 kB
    
    Code:
    root@v1919:~# cat /proc/mounts 
    vzfs / vzfs rw 0 0
    tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
    proc /proc proc rw,nodiratime,nosuid,nodev,noexec 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
    devpts /dev/pts devpts rw,nosuid,noexec 0 0
    
    Code:
    root@v1919:~# free
                 total       used       free     shared    buffers     cached
    Mem:       8144612    8008560     136052          0     121148    2465456
    -/+ buffers/cache:    5421956    2722656
    Swap:     10241428      16332   10225096
    
    So there is no swapspace. And i'am not sure about the memory, how can i check this? I tried the setup last night when free told me about 400MB RAM free on the hole system, So i think the 160 granteed and the 160 boost Ram should be used.

    And i found something, that makes me confusesd:
    Code:
    root@v1919:~# uname -a
    Linux v1919.ncsrv.de 2.6.9-023stab046.2-smp #1 SMP Mon Dec 10 15:04:55 MSK 2007 i686 GNU/Linux
    
    Code:
    root@v1919:~# cat /proc/version 
    Linux version 2.6.9-023stab046.2-smp (root@rhel4-64) (gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)) #1 SMP Mon Dec 10 15:04:55 MSK 2007
    
    So it seems that the (viruozzo) host is 64Bit and my Vserver is 32 Bit -> OR am i wrong?

    I'll hope that there will be a solution.

    Greetings and thanks from Bremen
    Hannes
     
  17. hbellmer

    hbellmer New Member

    I GOT IT.

    I unpacked ISPConfig and then i unpacked php in the compile_aps folder. Uncommented the "tar xvzf php.." in the compile-file and removte the "-O2" tags in the Makefile from php.

    YEAH

    Thank Till and Falko ;)

    now i had to learn how to use ispconfig. ;)
     
  18. benitomdq

    benitomdq New Member

    Hello i think i have this same problem. Can you be more specific on your last steps? Full path to the files you have edited. Thanks!
     

Share This Page