HOWTO (In Developing): DA Installing on FreeBSD 7.0 64-bit (Using ports tree)

PGP;139439 [CODE said:
# mysql -uroot -p
mysql> GRANT ALL PRIVILEGES ON *.* TO da_admin@localhost IDENTIFIED BY 'password' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> quit[/CODE][qoute]
How do you tell DA to use a certain password? If I put in IDENTIFIED BY 'ghouls' how do I tell DA to use ghouls as its password?

Thanks
 
Directadmin doesnt rely on mysql at all. If you want to update your mysql password for the creation of mysql databases through directadmin you can edit /usr/local/directadmin/conf/mysql.conf
 
DA Installing (WARNING! csh must not be set for root and your 'wheel' user. Or you will lose access for your server):

Because of DA's version of libiconv csh and tcsh segfault when they start. This is quite annoying seeing as how csh is the default shell for root. When DA's setup is done you just have to rebuild libiconv (/usr/ports/converters/libiconv). You'll find the problem is no longer.

And since that is step 5 in the HOWTO, all you need to do is not log out before you do step 5.
 
I got a feeling it's months...maybe a year. They don't seem to be actively discussing this. I could be wrong though. An ETA would be great...are we talking 2009 or 2010? Any targets for like Winter 2009?

A 7.0 64-bit is really important to some of us. It's pathetic DA doesn't support this yet. Every chip out there is now 64-bit and every FreeBSD DA user is forced into a 32-bit environment. It's not cool.
 
不知道要說可惜還是可惡, da 一直不支援 64bit 版的 FreeBSD 難不成是技術能力不足嗎?
我的主機是用這個 thread 裝的, 最近在 php 發 mail 有些問題, 我將處理過程留在這裡, 希望能幫助到有使用的人.

環境 FreeBSD AMD64 7.0 , 8G RAM , 2 CPU, PHP4, MYSQL 5.0 APACHE2
由 php 的 mail 指令發出信件時, 會出現 smtp transport process returned non-zero status 0x000b: terminated by signal 11 的錯誤訊息, 但由 outlook 或 openwebmail 裡面發出的確不會.
修正方式如下:
1. 修正各 user 的 httpd.conf 檔
/usr/local/directadmin/data/users/XXX/httpd.conf

找到
php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f

改為
php_admin_value sendmail_path '/usr/sbin/exim -t -odq -f

2. 修正 exim 的 query time
/usr/locat/etc/rc.d/exim

找到
${exim_flags="-bd -q30m"}

改為
${exim_flags="-bd -q3m"}

重新啟動 exim
/usr/local/etc/rc.d/exim restart

為何如此修正
利用 exim 的 query 用參數 -odf 將信件只接寫入 localhost 的 query 裡面.
然後調整 exim 寄信的 query time, 將由 30 sec 改為 3 sec,
不要去動 openssl 那是沒有用的, 我改了好多個版本都不行, 由 ports 裡面裝的也不行.

不管是治標或治本至少 exim 不會有問題了.

DA 我還是希望你們能夠支援 FreeBSD AMD64 ,至少這個已經時代來臨了, 不要只支援 linux , 那很可惜的.
 
Last edited:
My web application was not sending email out of the system after going through this process.

daphne# exim
ELF interpreter /libexec/ld-elf.so.1 not found
Abort
daphne# pwd
/usr/sbin
daphne# mv exim exim.bk
daphne# ln -s /usr/local/sbin/exim exim
daphne# exim
Exim is a Mail Transfer Agent. It is normally called by Mail User Agents,
not directly from a shell command line. Options and/or arguments control
what it does when called. For a list of options, see the Exim documentation.

I had to do the above for both exim and sendmail in /usr/sbin. I guess that is where PHP went looking for it and it was the old binaries.
 
How much longer?

The following quote is from a post from DirectAdmin Support dated 09-25-2008...

Hello,

1) Will will be supporting FreeBSD 7, 64-bit shortly.:confused: We've got the new 64-bit racks here now and will likely start development sometime this week.:confused:

John

I am just curious, the question has been asked before, when to expect anything stable for freebsd 7.1 64 bit? Or even stable 32 bit...

I see the above answer from DA admin Support is done on september 25th 2008.

Yet no more happened, except the csh thing in DA installation script, at least not that I am aware of.

From a freebsd point of view I would love to hear from DirectAdmin Support answers to the following questions:
- when will freebsd 7.1 64 bit be supported
- when will the ports be standard for freebsd DA
- what is your intent with freebsd and DA?

It seems to me there are some brilliant actions from freebsd people here, a checklist for installing freebsd 7.0 from ports, but where is DA support on this, can I ask on behalf of all us freebsd lovers, DA, PLEASE give us some answers.

Thanks for a great product, cause I still think it is just that, but to me it definitely looks like DA is starting to seriously drop the ball on freebsd (7.0 EOL)
 
Wow im getting sick of reading posts of people bitching just be patient.
 
It is not my intention to bitch, just ask some questions hoping for an answer
 
Wow im getting sick of reading posts of people bitching just be patient.

Let me guess...you either don't use BSD or you're still on 6x branch on old hardware.

People have been patient. 27 February, 2008 was the date of 7.0 release. That's over a year now. How many years do you think it's reasonable for people to have an idea of when to expect an update?

- when will freebsd 7.1 64 bit be supported
- when will the ports be standard for freebsd DA
- what is your intent with freebsd and DA?

Good questions and basically what's been asked repeatedly. So far no direct answers.
 
There is no reason you cannot manually install every single program in 64 bit on your own. Why do you want directadmin to hold your hand to do everything? Who cares if the directadmin binary runs in 32 or 64 bit. Install 64-bit apache, mysql and whatever you want on your own. You should ask smtalk why freebsd ports is not part of custombuild since he is the maintainer of the program that installs all the software.
 
There is no reason you cannot manually install every single program in 64 bit on your own. Why do you want directadmin to hold your hand to do everything?
Because we paid for it to do so.

Who cares if the directadmin binary runs in 32 or 64 bit.
We do. We like to stay in touch/tune with the latest stablest environment.

Install 64-bit apache, mysql and whatever you want on your own.
People have tried and failed. Some people have succeeded and trying to get others to succeed too, only to have them fail.

You should ask smtalk why freebsd ports is not part of custombuild since he is the maintainer of the program that installs all the software.
We already have, plenty of times, some of those times in this very thread.
 
Well I dont see why nobody takes initiative and starts writing a custombuild that uses freebsd ports. Smtalk does not work for directadmin and yet he made custombuild. Im sure there is someone out there with plenty of time on their hands that can start writing one.
 
Because we paid for it to do so.
Not if you checked the system requirements first; DirectAdmin has never (I just checked) announced support for 64-bit FreeBSD; in fact they've only recently announced beta support for FreeBSD 7.
We do. We like to stay in touch/tune with the latest stablest environment.
64-bit is not necessarily more stable than 32-bit. Many conservative administrators looking for stability would argue the opposite, that the 32-bit libraries are much more stable than 64-bit because they've had the benefit of maturity.

Jeff
 
Not if you checked the system requirements first; DirectAdmin has never (I just checked) announced support for 64-bit FreeBSD; in fact they've only recently announced beta support for FreeBSD 7.
Look, when we went ahead and purchased our directadmin licences we checked which OSses were supported. Experience in the past has shown me how much more stable FreeBSD is as a web hosting platform than any Linux distro. You don't see many Linux machines still being responsive as FreeBSD when the load is above 12. And since FreeBSD was supported we went ahead with it. It didn't say anywhere that future releases of FreeBSD we not going to be supported. And when 6 came around we switched from 5 to 6 and all was well. Now it's just under a year that 7 came out and still nothing.

64-bit is not necessarily more stable than 32-bit. Many conservative administrators looking for stability would argue the opposite, that the 32-bit libraries are much more stable than 64-bit because they've had the benefit of maturity.
I'm not saying 64 is necessarily more stable than 32 bit. I'm saying FreeBSD 7 is more stable than FreeBSD 6. You do get better performance with 64bit though and that's always nice.
 
Well I dont see why nobody takes initiative and starts writing a custombuild that uses freebsd ports. Smtalk does not work for directadmin and yet he made custombuild. Im sure there is someone out there with plenty of time on their hands that can start writing one.

1. DA staff needs to agree with this opinion.
2. It will need a lot of testing plus some code changes (so, I think by the time it gets stable, FreeBSD 8 will have been released :)).
3. CustomBuild update system is not compatible (in any way) with FreeBSD ports system, so it needs a completely different code (for ./build versions; ./build update; ./build update_versions; ./build cron; etc. etc.), therefore I think it is a good idea to create a different script (e.g. FreeBuild) (and there could option to choose it at the installation time (of DA)).
 
Look, when we went ahead and purchased our directadmin licences we checked which OSses were supported. Experience in the past has shown me how much more stable FreeBSD is as a web hosting platform than any Linux distro.
In my opinion, that's a religious argument. Since DirectAdmin uses the same builds for the entire hosting stack with both FreeBSD and Linux, there might be a good argument that it's untrue. In any event, I chose Linux for the same reasons you chose FreeBSD. And that was after years of using BSD-OS. Many other companies (IBM, for example) have done the same. Maybe there's a reason, maybe there isn't. Maybe it's all religious.
You don't see many Linux machines still being responsive as FreeBSD when the load is above 12.
That's entirely due to how the distributions are designed. In fact, my old Cobalt RaQ servers, using 450 Mhz AMD processors, ran well with userloads up in the 20s and even the 30s, because they were designed to work that way. My current linux machines running CentOS and DirectAdmin run well even when the load gets into the high teens, because we don't have a single unnecessary daemon running.
And since FreeBSD was supported we went ahead with it. It didn't say anywhere that future releases of FreeBSD we not going to be supported. And when 6 came around we switched from 5 to 6 and all was well. Now it's just under a year that 7 came out and still nothing.
That's a good argument but it needs to be taken up directly with DirectAdmin staff.
I'm not saying 64 is necessarily more stable than 32 bit. I'm saying FreeBSD 7 is more stable than FreeBSD 6.
I won't argue that because I have no experience with either. I have no experience with FreeBSD since 4.x.
You do get better performance with 64bit though and that's always nice.
I'd love to know more about this. Every discussion I've ever read on the issue has said that the differences are few. I agree you may want more memory than 32-bit can manage, but that's a different issue.

Jeff
 
Back
Top