Op4

Member
Jul 12, 2012
5
0
1
cPanel Access Level
Root Administrator
Basically trying to install owncloud and its saying it needs:

Module 'fileinfo' missing
The PHP module 'fileinfo' is missing. We strongly recommend to enable this module to get best results with mime-type detection.

When trying to run EA to install this I get the following error:

r.c -o ext/fileinfo/libmagic/is_tar.lo
virtual memory exhausted: Cannot allocate memory
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
make: *** Waiting for unfinished jobs....
!! 'make -j2' failed with exit code '512' !!

its a cloud based instance, I bumped overall instance mem from 1G to 2G then to 4G still gives the above error.

cat /etc/redhat-release
CloudLinux Server release 5.9

uname -a
Linux host.xxxxx.com 2.6.18-408.8.2.el5.lve0.8.61.3 #1 SMP Wed Jul 11 06:49:35 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

total used free shared buffers cached
Mem: 3571456 2225324 1346132 0 66700 1613772
-/+ buffers/cache: 544852 3026604
Swap: 1959920 0 1959920
Total: 5531376 2225324 3306052

ideas?

- - - Updated - - -

also:

ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 28448
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 28448
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
 

Op4

Member
Jul 12, 2012
5
0
1
cPanel Access Level
Root Administrator
Home »Server Configuration »Tweak Settings > system
reset Max cPanel process memory (minimum: 256) from 256 to unlimited, rerunning ea now:

see initial ulimit from ea

Output from '/bin/sh -c "ulimit -a"':
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 28448
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 28448
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
 

Op4

Member
Jul 12, 2012
5
0
1
cPanel Access Level
Root Administrator
looks like it was able to build it successfully that time...

!! Archiving successful build so it can be restored via --restore-archive once the httpd.conf are resolved !!
!! '/usr/local/apache/conf/httpd.conf.1365223628' does not exist, using '/usr/local/apache/conf/httpd.conf' instead !!
!! Done Archiving successful build !!
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! Failed to restart Apache. !!
!! Apache httpd is disabled, cannot be restarted. !!
Building global cache for cpanel...Done
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
!! Executing '/scripts/enablefileprotect' !!
Compiling report...
Sending report. As some of the attached files may be quite large, this could take a few minutes. Thanks for your patience.
!! If you want to create a support ticket with cPanel regarding this please reference 'BuildAP Report Id': '10439611' !!
Report processed.
!! Feel free to submit a support ticket at https://tickets.cpanel.net/submit/index.cgi?reqtype=tickets !!
!!
Here are some details that may be helpful:
!!

'/opt/php_with_imap_client/' is up to date but looks like it has local modifications.
If you experience any trouble remove '/opt/php_with_imap_client/' so that it will be rebuilt fresh.
!!
!!

'/opt/libmcrypt/' is up to date but looks like it has local modifications.
If you experience any trouble remove '/opt/libmcrypt/' so that it will be rebuilt fresh.
!!
!!
!! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1365223137' !!