View Single Post
  #1  
Old 24th August 2006, 11:34
Cordoban Cordoban is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default [ISPconfig Install] Cannot allocate memory

Hello.

I tried to install ISPconfig on a vserver today.
First i installed a minimum base system, then i followed the Perfect Setup Howto for a Debian 3.1 system.
All okay till here.

Now i tried to setup ISPconfig. At compilation of PHP 5 i got following error:

Code:
/bin/sh /root/install_ispconfig/compile_aps/php-5.1.4/libtool --silent --preserve-dup-deps --mode=compile gcc  -IZend/ -I/root/install_ispconfig/compile_aps/php-5.1.4/Zend/ -DPHP_ATOM_INC -I/root/install_ispconfig/compile_aps/php-5.1.4/include -I/root/install_ispconfig/compile_aps/php-5.1.4/main -I/root/install_ispconfig/compile_aps/php-5.1.4 -I/root/ispconfig/openssl/include -I/root/install_ispconfig/compile_aps/php-5.1.4/ext/date/lib -I/root/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/oniguruma -I/root/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/libmbfl -I/root/install_ispconfig/compile_aps/php-5.1.4/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/root/install_ispconfig/compile_aps/php-5.1.4/TSRM -I/root/install_ispconfig/compile_aps/php-5.1.4/Zend    -I/usr/include -g -O2  -prefer-non-pic -c /root/install_ispconfig/compile_aps/php-5.1.4/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: 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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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': No such file or directory
job-working-directory: could not get current directory: getcwd: cannot access parent directories: 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
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
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
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 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 816: 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: Das mitgelieferte PHP-Binary funktioniert auf Ihrem System nicht! Die Installation bricht hier ab!
job-working-directory: could not get current directory: getcwd: cannot access parent directories: No such file or directory
OS : Debian 3.1
Kernel : 2.6.8-022stab078.9-enterprise
Machine : i686

I tried to find a solution with google. One solution was to create an extra swap file but this fails with an error "swapon: /tmp/swapfile: Operation not permitted".
Other suggestion was to chance the compile script, so that php is compiled with --with-low-memory option. Even not successful.

Maybe some other hints? Or are there precompiled packages for debian?
Reply With Quote
Sponsored Links