error during installation of DA into VPS

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
previously, I have install few DA server, it is working fine.

Now i test install in to VPS, it have the error as below:

*** gcc is required for compiling, please install gcc (yum install gcc)***
*** g++ is required for compiling, please install g++ (yum install gcc-c++)***
Installation didn't pass, halting install.
*******************************************
*******************************************

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

If this applies to you, then type:

ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
ln -sf /usr/lib64/libm.so /usr/lib/libm.so
ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
cd /usr/local/directadmin/custombuild
./build all d

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

There is the message as below when I install it.

[root@vps2208 ~]# ./setup.sh
*** 64-bit OS ***
*** that being said, this should be a CentOS system. ***
*** We do not support any other OS in 64-bit. ***
*** If this is not CentOS, install a 32-bit OS (i386)***

May I know who to solve the problem?

Beside that, May I know is it the question asked if eth0 is your interface, need to answer "no" ?
 
Last edited:
Are you running CentOS 64-bit? Did you yum install gcc-c++ like the installer asked?

Beside that, May I know is it the question asked if eth0 is your interface, need to answer "no" ?
If you are installing to a VPS it is unlikely that the interface is going to be eth0 but the easiest way to check is to type ifconfig and see which interface the external IP is bound to.
 
I have finish install DA. But I cant access it from port 2222.

last step of installation is about the VPS setting.

When I check on my VPS configuration, it is as below:

login as: root
[email protected]'s password:
Last login: Fri Aug 14 03:49:47 2009 from 115.135.160.97
[root@vps2208 ~]# /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255. 255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:61 errors:0 dropped:0 overruns:0 frame:0
TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14835 (14.4 KiB) TX bytes:7033 (6.8 KiB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:124.217.246.223 P-t-P:124.217.246.223 Bcast:124.217.246.22 3 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

[root@vps2208 ~]#

May I know what should I do next step?
 
Did you follow the installation instructions for VPS? If not then go back and look at those. There are special instructions for VPS's.
 
Back
Top