FreeBSD 9.0

DirectAdmin Support

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

We don't start DA development on an OS until it's "stable".
So once FreeBSD 9 is out, we'll start the process of building a box, setting up DA, etc..

John
 

DirectAdmin Support

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

We don't start DA development on an OS until it's "stable".
So once FreeBSD 9 is out, we'll start the process of building a box, setting up DA, etc..

John
 

DirectAdmin Support

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

If anyone has a test box (FreeBSD 9, 64-bit), let me know, and I'll see if the current binaries work on it.
If they do, then we're only a few steps from beta.
If they don't, I'll have to setup a new box (many more steps).

John
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Since im not anymore familiar with freebsd cause is too many years i dont use it, anyone can send me a pm with a command line that will install all pre-requisite? Or any useful hint for have a read-to-install box for DA Staff testing purpose?

Thanks
 

mmx

Verified User
Joined
May 8, 2005
Messages
112
Location
Montreal, QC, Canada
Hello,

If anyone has a test box (FreeBSD 9, 64-bit), let me know, and I'll see if the current binaries work on it.
If they do, then we're only a few steps from beta.
If they don't, I'll have to setup a new box (many more steps).

John
I can have one up next weekend; very little chance of deploying it this week unfortunately. I currently have a 8.x box that will go to 9.0 very soon (my testing machine).

Since im not anymore familiar with freebsd cause is too many years i dont use it, anyone can send me a pm with a command line that will install all pre-requisite? Or any useful hint for have a read-to-install box for DA Staff testing purpose?

Thanks
If you're going the custombuild route entirely, it'll take care of it all for you. You could install www/wget beforehand, but in the name of beta testing, I would follow DirectAdmin's installation instructions to maintain their requirements.


If you're willing to test & experiment (and don't mind wiping your installation a few times) see how installing lang/perl (5.14?), devel/pcre, devel/libtool, devel/autoconf, devel/automake, devel/autoconf-wrapper, devel/automake-wrapper and print/freetype beforehand affects DirectAdmin. That will be one of my upcoming experiments (and possible HOWTO) for fun. :D I would love to see a DirectAdmin system based entirely off Ports. I've been dreaming about writing "FreeBuild", "BSDBuild" or "PortsBuild" (alternative to custombuild) to install everything from Ports.
 
Last edited:

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Yes i did, wget is necessary or fast mirror check will fail, already did some test and build fail somehow... if you wanna try or check the box let me know.

Ive created this VM just for test it for help DA Staff or someone that wanna test it, no problem on wipe, i just need to restore the snapshot on fresh installation i did, so, if you wanna take a look, just le me know :)

Regards
 

mmx

Verified User
Joined
May 8, 2005
Messages
112
Location
Montreal, QC, Canada
Yes i did, wget is necessary or fast mirror check will fail, already did some test and build fail somehow... if you wanna try or check the box let me know.

Ive created this VM just for test it for help DA Staff or someone that wanna test it, no problem on wipe, i just need to restore the snapshot on fresh installation i did, so, if you wanna take a look, just le me know :)

Regards
Try:

Code:
# pkg_add -r compat6x
# pkg_add -r compat7x
# pkg_add -r compat8x
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
All goes on error:

Code:
freebsd# pkg_add -r compat6x
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat6x.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat6x.tbz' by URL
freebsd# pkg_add -r compat7x
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat7x.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat7x.tbz' by URL
freebsd# pkg_add -r compat8x
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat8x.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat8x.tbz' by URL
Regards
 

mmx

Verified User
Joined
May 8, 2005
Messages
112
Location
Montreal, QC, Canada
All goes on error:

Code:
freebsd# pkg_add -r compat6x
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat6x.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat6x.tbz' by URL
freebsd# pkg_add -r compat7x
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat7x.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat7x.tbz' by URL
freebsd# pkg_add -r compat8x
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat8x.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/compat8x.tbz' by URL
Regards
Err, my bad, I forgot to add the architecture suffix. Try:

Code:
# pkg_add -r compat6x-amd64
# pkg_add -r compat7x-amd64
# pkg_add -r compat8x-amd64
You can also install them via Ports, check: /usr/ports/misc/compat*
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Here ill report error i get during install:

1st
Code:
All Checks have passed, continuing with install...
Checking quotas...
./fstab.sh: /sbin/mount_procfs: not found
quotaoff: 2 not found in fstab
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Another error that make build fail:

Code:
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
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
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,923
Usually means the mysql libs can't be found in /usr/local/mysql/*.
Ensure the services.tar.gz exists:
/usr/local/directadmin/scripts/pacakges/services.tar.gz

which should contain the mysql file... but it will most likely need changes to our scripts/mysql.sh to find the correct version.

John
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Ive manually builded mysql using ./build mysql and the php was able to compile, i was using default install way, now ive using the step-by-step selecting mysql 5.1 to be installed via custombuild.

Ill let you know once compile end with or without errors.

Regards
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Installation went like a charm.

Code:
Admin user created
## INSTALL_COMPLETE
## ACCOUNT_INFO


The following information has been set:

Admin username:   admin
Admin password:   ******
Admin email:      admin@freebsd.crazynetwork.it


Server IP: **********
Server Hostname: freebsd.crazynetwork.it

To login now, follow this link:

http://IP:2222

and enter your Admin username and password when prompted.

You should now visit http://admin.site-helper.com and http://www.directadmin.com/newinstall.html to learn how to get started.

Thank you for using DirectAdmin.  Should you have any questions, don't hesitate to contact us at support@directadmin.com

## REPORT_END
Permissions set
Used to set manually versions, here the options.conf

Code:
freebsd# cd /usr/local/directadmin/custombuild
freebsd# cat options.conf
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2 or 5.3
default_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
ioncube=yes
zend=yes
#Possible values - recommended or dist
php_ini_type=recommended

#Possible values - 5.0, 5.1, 5.5
mysql=5.1
mysql_inst=yes
mysql_backup=yes
mysql_backup_dir=/usr/local/directadmin/custombuild/mysql_backups

#Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2
secure_htaccess=yes

#Web applications
phpmyadmin=yes
atmail=no
squirrelmail=no
roundcube=yes
uebimiau=no

#Mail options
exim=yes
eximconf=no
clamav=no
mailman=no
spamassassin=no
mail-header-patch=yes
dovecot=yes

#Statistics
awstats=no
webalizer=yes

#FTP options
proftpd=no
pureftpd=no

#Jailed shell (beta)
jail=no

#Autoconf/automake/libtool options
autoconf=yes
automake=yes
libtool=yes
curl=yes

#CustomBuild options
custombuild=1.1
autover=no
bold=yes
clean=yes
clean_old_tarballs=no
clean_old_webapps=yes
downloadserver=files11.directadmin.com
cleanapache=no

#Cron settings
cron=no
email=email@domain.com
notifications=yes
da_autoupdate=no
updates=no
webapps_updates=yes

#CustomBuild 1.2 settings
php6_cli=no
php6_cgi=no
php_ini=no
harden-symlinks-patch=no
Regards
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Going to retry installation using defaults in custombuild.

I suppose for any reason mysql 4.1 was falling, ill take a look and let you know once is done

Regards
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,789
Location
A Coruña, Spain
Dunno if those are errors, but after quota check that fail this appear:

Code:
[
All Checks have passed, continuing with install...
Checking quotas...
./fstab.sh: /sbin/mount_procfs: not found
quotaoff: 2 not found in fstab
*** Checking user and group quotas for /dev/ada0p2 (/)
/: unknown gid: 500
/: unknown uid: 500
/: unknown gid: 101
/: unknown uid: 101
/: root     fixed (user):       inodes 0 -> 328967      blocks 0 -> 5647968
/: daemon   fixed (user):       inodes 0 -> 3   blocks 0 -> 24
/: operator fixed (user):       inodes 0 -> 9   blocks 0 -> 72
/: man      fixed (user):       inodes 0 -> 128 blocks 0 -> 1024
/: mail     fixed (user):       inodes 0 -> 11  blocks 0 -> 48
/: smmsp    fixed (user):       inodes 0 -> 2   blocks 0 -> 16
/: bind     fixed (user):       inodes 0 -> 9   blocks 0 -> 72
/: uucp     fixed (user):       inodes 0 -> 1   blocks 0 -> 8
/: 101      fixed (user):       inodes 0 -> 94  blocks 0 -> 1064
/: 500      fixed (user):       inodes 0 -> 807 blocks 0 -> 7360
/: sellerone fixed (user):      inodes 0 -> 10  blocks 0 -> 72
/: webapps  fixed (user):       inodes 0 -> 1
/: diradmin fixed (user):       inodes 0 -> 42  blocks 0 -> 36920
/: nobody   fixed (user):       inodes 0 -> 1   blocks 0 -> 3584
/: wheel    fixed (group):      inodes 0 -> 329078      blocks 0 -> 5649336
/: daemon   fixed (group):      inodes 0 -> 10  blocks 0 -> 376
/: kmem     fixed (group):      inodes 0 -> 3   blocks 0 -> 360
/: tty      fixed (group):      inodes 0 -> 2   blocks 0 -> 56
/: operator fixed (group):      inodes 0 -> 13  blocks 0 -> 136
/: mail     fixed (group):      inodes 0 -> 12  blocks 0 -> 56
/: games    fixed (group):      inodes 0 -> 1   blocks 0 -> 8
/: smmsp    fixed (group):      inodes 0 -> 3   blocks 0 -> 1488
/: bind     fixed (group):      inodes 0 -> 1   blocks 0 -> 8
/: authpf   fixed (group):      inodes 0 -> 1   blocks 0 -> 48
/: dialer   fixed (group):      inodes 0 -> 1   blocks 0 -> 8
/: network  fixed (group):      inodes 0 -> 3   blocks 0 -> 912
/: audit    fixed (group):      inodes 0 -> 1   blocks 0 -> 8
/: 101      fixed (group):      inodes 0 -> 94  blocks 0 -> 1064
/: 500      fixed (group):      inodes 0 -> 807 blocks 0 -> 7360
/: sellerone fixed (group):     inodes 0 -> 10  blocks 0 -> 72
/: webapps  fixed (group):      inodes 0 -> 1
/: diradmin fixed (group):      inodes 0 -> 44  blocks 0 -> 36936
 
Top