Problems after installing Direct Admin to new version

AriyanPayamak

Verified User
Joined
Nov 4, 2014
Messages
16
I have a server with RAM 1. I already had Direct Admin on it, which was updated for 2017.
After updating Custom Build, I unfortunately encountered new problems that forced me to reload the server.
I could not display my site after reloading. Because WordPress did not work on it anymore and the main page of the white site was displayed.

And I installed the latest version of Direct Admin.
Unfortunately, I had a problem with Apache before.
Direct Admin gave unexpected errors when installing,
With Reload Server
I reinstalled Direct Admin.
I get frustrated, and every time I reinstall Custom Build I get this error.
Direct Admin works fine but I can not install WordPress, and the page is displayed in white
There is no error.
I even rebuilt everything, but again I get the error I logged in

Please help me what to do :( I was in trouble


With the commands listed on this page, I will rebuild the custom build, but it gives an error :(

https://forum.directadmin.com/threa...rectadmin-1-46-or-later-is-recommended.44743/


CentOS 6.0 64-Bit​

The last part of the log where the error is specified in the last line and the image file is attached
Code:
/bin/sh /usr/local/directadmin/custombuild/php-7.3.28/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/libmagic -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-7.3.28/include -I/usr/local/directadmin/custombuild/php-7.3.28/main -I/usr/local/directadmin/custombuild/php-7.3.28 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-7.3.28/ext/zip/lib -I/usr/local/directadmin/custombuild/php-7.3.28/TSRM -I/usr/local/directadmin/custombuild/php-7.3.28/Zend    -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/fileinfo.c -o ext/fileinfo/fileinfo.lo
/bin/sh /usr/local/directadmin/custombuild/php-7.3.28/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/libmagic -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-7.3.28/include -I/usr/local/directadmin/custombuild/php-7.3.28/main -I/usr/local/directadmin/custombuild/php-7.3.28 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-7.3.28/ext/zip/lib -I/usr/local/directadmin/custombuild/php-7.3.28/TSRM -I/usr/local/directadmin/custombuild/php-7.3.28/Zend    -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo
cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
[[email protected] custombuild]#
 

Attachments

  • Dashboard- Plugins.png
    Dashboard- Plugins.png
    125.4 KB · Views: 4
  • ERROR.png
    ERROR.png
    51.9 KB · Views: 4
  • system-info.png
    system-info.png
    32.7 KB · Views: 4

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
10,098
Location
LT, EU

CentOS 6.0 64-Bit​

The last part of the log where the error is specified in the last line and the image file is attached
Code:
/bin/sh /usr/local/directadmin/custombuild/php-7.3.28/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/libmagic -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-7.3.28/include -I/usr/local/directadmin/custombuild/php-7.3.28/main -I/usr/local/directadmin/custombuild/php-7.3.28 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-7.3.28/ext/zip/lib -I/usr/local/directadmin/custombuild/php-7.3.28/TSRM -I/usr/local/directadmin/custombuild/php-7.3.28/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/fileinfo.c -o ext/fileinfo/fileinfo.lo
/bin/sh /usr/local/directadmin/custombuild/php-7.3.28/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/libmagic -Iext/fileinfo/ -I/usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/ -DPHP_ATOM_INC -I/usr/local/directadmin/custombuild/php-7.3.28/include -I/usr/local/directadmin/custombuild/php-7.3.28/main -I/usr/local/directadmin/custombuild/php-7.3.28 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/oniguruma -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/mbstring/libmbfl/mbfl -I/usr/local/directadmin/custombuild/php-7.3.28/ext/sqlite3/libsqlite -I/usr/local/directadmin/custombuild/php-7.3.28/ext/zip/lib -I/usr/local/directadmin/custombuild/php-7.3.28/TSRM -I/usr/local/directadmin/custombuild/php-7.3.28/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /usr/local/directadmin/custombuild/php-7.3.28/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo
cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
[[email protected] custombuild]#
This indicated a shortage of RAM/swap. I’d like to note CentOS6 is EOL too.
 

AriyanPayamak

Verified User
Joined
Nov 4, 2014
Messages
16
This indicated a shortage of RAM/swap. I’d like to note CentOS6 is EOL too.
Dear admin
I used to use these versions before and the server had no problem
php 5.3.29
apachi 2.2.34

How can I install the same version of Direct Admin with the same settings?
I only have one site and I do not use much server RAM I think a server with RAM 1 is enough for one site /

What should I do?
Can't do anything other than increase RAM?
 

jamgames2

Verified User
Joined
Aug 16, 2019
Messages
389
Dear admin
I used to use these versions before and the server had no problem
php 5.3.29
apachi 2.2.34

How can I install the same version of Direct Admin with the same settings?
I only have one site and I do not use much server RAM I think a server with RAM 1 is enough for one site /

What should I do?
Can't do anything other than increase RAM?
increase you swap size from below system required

You need swap 2gb or more if not enough

 
Top