Installation of DA on Debian 5 - 64 bits.

webmaster-hub

Verified User
Joined
Oct 6, 2007
Messages
29
Location
France
Hi all,

This post is to let everybody know that the Debian 5 64bits installation seems to be perfectly OK now !

Many thanks to John, who has really been helpfull on debugging few weak points of the installation.

I guess many of you will be happy to learn this !

Regards,

Dan
 

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
yea, can work, however it is not recommended for new users

Hi all,

This post is to let everybody know that the Debian 5 64bits installation seems to be perfectly OK now !

Many thanks to John, who has really been helpfull on debugging few weak points of the installation.

I guess many of you will be happy to learn this !

Regards,

Dan
 
Last edited:

neojick

Verified User
Joined
Jan 11, 2010
Messages
11
Hi. Why it's not recommended for new users ?

I use DA on Debian 4 since one year and need to upgrade server with Debian 5. I take risk to use Debian 5 64 ?

(Sorry for my english, I'm french).
 

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
Hi. Why it's not recommended for new users ?

I use DA on Debian 4 since one year and need to upgrade server with Debian 5. I take risk to use Debian 5 64 ?

(Sorry for my english, I'm french).
hi,
i have some problems but i have do a install before 2 days and the latest installer is work fine. So yes it is safe to use now debian 5 64bit
 

tdldp

Verified User
Joined
May 9, 2005
Messages
169
hi,
i have some problems but i have do a install before 2 days and the latest installer is work fine. So yes it is safe to use now debian 5 64bit
Guys, what did you do to make install work ?
I have several problems, as when using normal debian packages there doesn't seem to have g++ / gcc librairies included. To install these packages under debian 5 there seems to be necessary to use experimental + sid packages that have the dependencies necessary to make things work...
dependencies: binutils 2.20, libcloog-pp10 0.15git, libelfg0 0.8.12, libgcc 1:4.5, libgomp1 4.5, libmpc2, libpp1-c2, libpp17 (all noted : not available)

Yet i'm not too fond in installing sid packages at this stage, and if i don't do so, i get this error :


*** g++ is required for compiling, please install g++ ***
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 you're running CentOS (not freebsd or debian) and 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





So how did you manage to do your install ?
What did you choose also at custombuild questions ?
Has anyone done an install guide for debian 5 ?

Yours

tdldp
 
Last edited:

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
Guys, what did you do to make install work ?
I have several problems, as when using normal debian packages there doesn't seem to have g++ / gcc librairies included. To install these packages under debian 5 there seems to be necessary to use experimental + sid packages that have the dependencies necessary to make things work...
dependencies: binutils 2.20, libcloog-pp10 0.15git, libelfg0 0.8.12, libgcc 1:4.5, libgomp1 4.5, libmpc2, libpp1-c2, libpp17 (all noted : not available)

Yet i'm not too fond in installing sid packages at this stage, and if i don't do so, i get this error :


*** g++ is required for compiling, please install g++ ***
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 you're running CentOS (not freebsd or debian) and 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





So how did you manage to do your install ?
What did you choose also at custombuild questions ?
Has anyone done an install guide for debian 5 ?

Yours

tdldp
you not need experimental or test packages. The Debian 5.0 have everything you need.
Just run this command:
apt-get install build-essential gcc

and this install everything for you
(i hope i not have miss something, if you still see any error write again)
 

blueice

Verified User
Joined
Jan 18, 2004
Messages
191
also in custombuild i select 1.1 version with php5-cgi and apache 2.2, latest mysql 5.1.x and compile also exim and dovecot
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,919
Hello,

It says you're missing g++.

The apt-get command I usually run is:
Code:
apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules
John
 

neojick

Verified User
Joined
Jan 11, 2010
Messages
11
I recently install DirectAdmin on Debian 5 32 bits and need to recompile PHP.
After recompile, I've got MySQL and httpd errors.
I try with Debian 5 64 bits and no error !

So, Debian 5 64 bits is great !
 

dvnscr

Verified User
Joined
Jun 29, 2009
Messages
40
I have been using Debian 5 for quite some time now.

the only problem i can't solve is this:

kernel: [119124.800295] dataskq[2567]: segfault at 33363936 ip 080a3ef3 sp bfffbef0 error 4 in dataskq[8048000+32c000]

kernel: [49291.052429] dataskq[6104]: segfault at 333639
36 ip 080a3ef3 sp bfffaca0 error 4 in dataskq[8048000+32c000]


every night 0:10

i found this:
http://www.directadmin.com/features.php?id=351

but: Version Number 1.213
and: Next release will recreate the file and fix the bug.

anyway the workaround does not help.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,919
Hello,

The id=351 item is not likely related, that's very old... unless you're using something older than DA 1.21.3 (in which case you'd likely got other bigger issues)

As for your issue, are you running 32-bit or 64-bit debian? We've had a few reports of some 32-bit boxes segfaulting due to binary incompatibility, but not 64-bit ones. To check your system, type
Code:
uname -m
i686 means 32-bit and x86_64 means 64-bit.

The solution for the 32-bit version is to grab the dynamic 32-bit replacement binaries. They're only available for direct download in manual install, pre-release form. To get them, login to:
https://www.directadmin.com/clients

click "view" on your license, and follow the pre-release install procedures. However, that would give you the static versions. You want to the dynamic versions. Without posting the link here, just swap the text:
packed_debian50.tar.gz

with:
packed_debian50_dynamic.tar.gz

in the wget line when you grab them, and that should do it.

John
 

dvnscr

Verified User
Joined
Jun 29, 2009
Messages
40
Hi John,

# uname -m
x86_64

or to be more exact:
Linux version 2.6.26-2-xen-amd64 (Debian 2.6.26-22) (dannf@debian.org)
 
Top