install issues

Philderbeast

New member
Joined
Nov 9, 2010
Messages
4
Hi guys,

I'm new to direct admin and I'm trying to get it ton install on a clean Debian VPS.

all i have done to the server is bring it upto date and install the required software (as reported by the setup script)

when it gets to installing PHP i'm getting the following error

Code:
configure: error: mysql configure failed. Please check config.log for more information.

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

*******************************************
*******************************************

I have checked the article referred to but its not much help.

and once I get direct admin installed my plan is to move to e nginx/php-fpm system anyway as I am already running that.

any ideas what to look at here?
 
i managed to solve that issue by migrating to a 64bit template on my vps but i now get the following at the end of the install

Code:
*************************************
*                                   *
*   All parts have been installed   *
*                                   *
*************************************

Type: /etc/init.d/httpd restart
## REPORT_START
Welcome to DirectAdmin verion 1.36.2!
You are now about to run the install program. If DirectAdmin is already
installed, it may destroy previous data.


Here is the information given:

Admin user: admin
Admin email: [email protected]
Server IP: 80.83.121.17
Server IP Netmask: 255.255.255.224
Server Hostname: venus.philderbeast.com.au
Name Servers:
        ns1.philderbeast.com.au
        ns2.philderbeast.com.au
options.conf exists, not installing the httpd.conf. Relying on customapache.
Backup of /etc/proftpd.conf to /etc/proftpd.conf.back successfull
Install of /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.conf successfull
Install of /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/directadmin/conf/directadmin.conf successfull
*** Unable to read directadmin.conf.  Check permissions and make sure that it exists.  Cannot find the diradmin user.  Make sure the diradmin user exists in your system.<br>
This error also comes up when the wrong OS is selected in the license. These binaries were compiled for: Debian 5.0<br>

## INSTALL_FAILED
## REPORT_END
Permissions set

System Security Tips:
  http://help.directadmin.com/item.php?id=247
 
yea running debian 5 turns out it was a 64 bit issue, it wouldn't install the right files on the 32 bit so i had to get the license changed to x64...
 
yea glad it worked out in the end (disappointed i couldn't get it to work on the 32bit image though.)

now time to start to optimize it for lower ram usage... first thing.. Apache has to go as the main web server :)

bring on nginx. (hopefully keeping mod_rewrite functionality)
 
im having the same problem (1st post) with debian 5.0.6 64bit

the license is setup for debian 5.0 64bit so i dont get why isnt working correctly

here the install error
Code:
/usr/local/directadmin/custombuild/php-5.2.14/ext/mysqli/php_mysqli.h:473:1: warning: "L64" redefined
In file included from /usr/local/directadmin/custombuild/php-5.2.14/ext/hash/php_hash.h:25,
                 from main/internal_functions_cli.c:44:
/usr/local/directadmin/custombuild/php-5.2.14/ext/hash/php_hash_types.h:34:1: warning: this is the location of the previous definition
/usr/local/directadmin/custombuild/php-5.2.14/Zend/zend_vm_execute.h: In function âzend_post_incdec_property_helper_SPEC_CV_CVâ:
/usr/local/directadmin/custombuild/php-5.2.14/Zend/zend_vm_execute.h:26396: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make: *** [Zend/zend_execute.lo] Error 1
*******************************************
*******************************************

Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d

This appears to be a 64-bit system.
a common cause of http/php compile failures is mentioned here:
http://help.directadmin.com/item.php?id=213

*******************************************
*******************************************
 
Back
Top