DirectAdmin on FreeBSD 8.2 x64 = No Go

kbeezie

Verified User
Joined
Apr 1, 2010
Messages
8
For the life of me I cannot get DirectAdmin to install on FreeBSD 8.2 64-bit. It always ends with:

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... apxs: not found
apxs: not found


Sorry, I cannot run apxs. Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of apxs follows:
apxs: not found
configure: error: Aborting

*** 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

*******************************************
*******************************************
ln: /usr/lib/sendmail: Read-only file system
and if I try to build apache first in custombuild (so that apsx exists), I have this problem:

Installing Apache...
Making install in srclib
Making install in apr
/usr/local/directadmin/custombuild/httpd-2.2.17/srclib/apr/build/mkdir.sh /etc/httpd/lib /usr/bin /var/www/build /etc/httpd/lib/pkgconfig /usr/include/apache
mkdir /usr/include/apache
mkdir: /usr/include/apache: Read-only file system
*** Error code 1

Stop in /usr/local/directadmin/custombuild/httpd-2.2.17/srclib/apr.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/httpd-2.2.17/srclib.
*** Error code 1

Stop in /usr/local/directadmin/custombuild/httpd-2.2.17.
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
[: : bad number
grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
[: : bad number
Unable to read config file. Check the file permissionsUnable to read config file. Check to make sure that /usr/local/directadmin/conf/directadmin.conf.lock doesn't exist
Using 204.12.244.227 for your server IP
ls: /usr/local/directadmin/data/users/*/httpd.conf: No such file or directory
ln: /usr/bin/apr-config: Read-only file system
Restarting apache.
Stopping httpd: [ FAILED ]
Starting httpd: daemon: /usr/sbin/httpd: No such file or directory
[ OK ]
I'm confused because on the install page : http://www.directadmin.com/install.html

it states its compatible with "FreeBSD 8.x 64-bit"
 

HybridHybrid

New member
Joined
Apr 6, 2011
Messages
1
I have plan to install Freebsd 8.2 64bit too

Any body ? Who success to installed this version ?
 

scsi

Verified User
Joined
Aug 19, 2008
Messages
4,695
mkdir: /usr/include/apache: Read-only file system
It tells you its a read only file system. You have something wrong with your partitions.

/usr should not be read only.
 

kbeezie

Verified User
Joined
Apr 1, 2010
Messages
8
It tells you its a read only file system. You have something wrong with your partitions.

/usr should not be read only.
Must be from the jailing (ie: ezjail's way of saving space by linking to basejail would be my guess).
 

mike_qt

Verified User
Joined
Feb 3, 2008
Messages
6
is there any way round this?
has anyone successfully installed DA on an ezjail config?
 
Top