Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 24th August 2006, 23:47
Weekend Weekend is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have this problem too.

PHP Code:
virtual memory exhaustedCannot allocate memory
make
: *** [ext/date/lib/parse_date.loError 1
ERROR
Could not make PHP
cd
error retrieving current directorygetcwdcannot 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.gzCannot openNo such file or directory
tar
Error is not recoverableexiting 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.gzCannot openNo such file or directory
tar
Error is not recoverableexiting now
tar
Child returned status 2
tar
Error exit delayed from previous errors
./setup2line 816ispconfig_tmp/php/bin/phpNo such file or directory
ERROR
The PHP binary coming with ISPConfig does not work properly on your syste
m
The installation routine stops here
Reply With Quote
  #3  
Old 25th August 2006, 09:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

It seems that your vserver does not allow you to allocate enough memory to compile PHP. You have to talk with your hosting provider if they can set your memory limit to a higher value.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 25th August 2006, 13:20
Cordoban Cordoban is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just resolved my Problem.

For all others with the same problem, try to stop all daemons except the ssh (so you can administrate your server) and recompile.

In my case that was the solution.

Now i am on my way to the ISPConfig Community *grin*
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory leak? oom-killer problem yikes! Stokesy Server Operation 7 29th July 2006 12:48
Debian Sarge 3.1 memory release problem luxpops Technical 1 19th April 2006 14:41
Ispconfig and Virtuemart shajazzi Installation/Configuration 7 21st February 2006 20:25
ALSA on kernel 2.6-15-2 issues yuheng108 Installation/Configuration 4 7th February 2006 04:24
memory and rescource consumption domino Suggest HOWTO 5 17th August 2005 11:54


All times are GMT +2. The time now is 02:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.