A couple of questions about DirectAdmin

IcyTexx

Verified User
Joined
Dec 25, 2009
Messages
18
Location
Croatia
Hi...
I'm a new user of yours, and I'm starting to use DirectAdmin too.
I have a couple of questions, I'm hoping you could answer this.

Firstly, I can't help to notice that anything I install via apt-get has no inflouence on DA, everything has to be special for it?
Why is that, if it's true?

It comes with default PHP4 and Apache1... And even that doesn't work at default. I've been running the CustomBuild script to update them over and over on new installations, and I can't get everything to work.

Where does it install MySQL? I can't find it... /etc/my.cfg is empty.

When installed fresh, I immediatley get these errors:

Code:
root@vps:/# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (
2)

Code:
root@vps:/# httpd
Syntax error on line 5 of /etc/httpd/conf/ips.conf:
Unrecognized LogFormat directive %O

Code:
root@vps:/# exim
2009-12-25 17:55:17 Exim configuration error in line 288 of /etc/exim.conf:
  user majordomo was not found

Please, I beg you if you could tell me what to do? Could you explain me how DA works in short?

EDIT: Should I have posted this in "General Technical Discussion & Troubleshooting"? Sorry if I should.
 
I'm a new user of yours, and I'm starting to use DirectAdmin too.
Well, not a new user of mine, but of DirectAdmin, I presume :).
Firstly, I can't help to notice that anything I install via apt-get has no inflouence on DA, everything has to be special for it?
Why is that, if it's true?
DirectAdmin's custombuild system allows a lot more flexibility in terms of version numbers, etc. (you can even use a different webserver instead of apache, for example).
It comes with default PHP4 and Apache1... And even that doesn't work at default. I've been running the CustomBuild script to update them over and over on new installations, and I can't get everything to work.
I don't know why you're having problems with custombuild. What errors are you getting? Are you sure your license for DirectAdmin is for the same OS Distribution which you're using?
Where does it install MySQL? I can't find it... /etc/my.cfg is empty.
DirectAdmin's installation of MySQL doesn't use my.cfg. It can use my.cnf if you create it, and the newest installs may install it by default; I'm not sure; on my servers (CentOS based) it uses a file placed in /etc/my.cnf.

To find out where a daemon is installed you should use the unix/linux whereis command:
Code:
$ whereis mysql
and
Code:
$ whereis mysqld
When installed fresh, I immediatley get these errors:

Code:
root@vps:/# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (
2)

Code:
root@vps:/# httpd
Syntax error on line 5 of /etc/httpd/conf/ips.conf:
Unrecognized LogFormat directive %O

Code:
root@vps:/# exim
2009-12-25 17:55:17 Exim configuration error in line 288 of /etc/exim.conf:
  user majordomo was not found

Please, I beg you if you could tell me what to do? Could you explain me how DA works in short?
You shouldn't be getting these errors. Did you install or attempt to install either mysql, apache, or exim by some other method than custombuild, either before or after the custombuild installation?

If not, and if you installed DirectAdmin yourself, then I recommend you start again with a fresh OS install on your VPS, using customapache 1.1, and carefully reading the installation instructions as they appear, and making reasonable replies.

If your VPS provider installed DirectAdmin for you, then you should have them fix the installation.
Should I have posted this in "General Technical Discussion & Troubleshooting"? Sorry if I should.
I've moved it to the proper section.

Jeff
 
Thank you for your answer Jeff.

I used cPanel and Plesk for a long time... And now I'm trying DA because a lot of people claim that it's the best. I'm starting to agree with that, even now, when the things aren't going that well.

The main problem is that DA gets installed automatically on my VPS, when the OS is reinstalled. That host has made it available a few days ago, so I think they haven't managed to integrate it properly yet.

Should I try to remove the DA application (they install it via Virtuozzo Container Management - Plesk Power Panel as an application) from the VPS and install it manually? My only worry is the licence key, I don't know if it would work (monthly autorenew).- ///Tried, doesn't work. I'll have to manually correct those problems./// - EDIT again, it actually may work.

Btw. I'm using Ubuntu 8.04, I've used CentOS before, but I'm quite familiar with Ubuntu now, I hope that's not a problem, I see it's marked on the spec list as compatible.

BTW. Sorry because of some typos... I type fast and I didn't have spelling checker turned on. :P
 
Last edited:
Good news people...

I deleted the DA which was getting installed automatically at every OS reinstall. Then I reinstalled the OS, and installed DA manually.

I'm so happy (image below):
ddda27cf.png
 
I'm glad to hear it's working for you. DirectAdmin software doesn't care about where you get Directadmin; as long as the license is for the correct versionand at the right IP. I have no idea how JBMC, the developers of DirectAdmin, feel about you using your hosting company's license with a copy of DirectAdmin you downloaded; you'd need to ask them.

I do know you won't get support from JBMC; the license, in the name of your webhost, requires that your webhost give support.

By the way, I also type fast (between 120 and 150 cwpm); I have my Firefox browser's spell-check turned on but it turns out that most of the words it underlines really are what I intended.

We use CentOS on servers; we've just switched our company from Mandriva desktops to Kubuntu. I prefer CentOS for DirectAdmin because it's written first for CentOS; everything else is a port.

But in the long run, you should use that with which you're most familiar.

Jeff
 
I'm glad to hear it's working for you. DirectAdmin software doesn't care about where you get Directadmin; as long as the license is for the correct versionand at the right IP. I have no idea how JBMC, the developers of DirectAdmin, feel about you using your hosting company's license with a copy of DirectAdmin you downloaded; you'd need to ask them.

I don't see a problem here. I've bought a VPS, with a DirectAdmin licence for it. It was getting installed automatically with an OS reload, but I've cancelled that and installed it manually on the same VPS, in the same place it was auto-installing. So it's practically the same.

I do know you won't get support from JBMC; the license, in the name of your webhost, requires that your webhost give support.

That's too bad, but it was expected, wasn't it? I'm buying that licence for 5GBP ($8) monthly, and it's tied to my VPS subscription.

By the way, I also type fast (between 120 and 150 cwpm); I have my Firefox browser's spell-check turned on but it turns out that most of the words it underlines really are what I intended.

Well, it helps me sometimes... When I write the word I actually need and it's underlined, I just add it to the dictionary.

We use CentOS on servers; we've just switched our company from Mandriva desktops to Kubuntu. I prefer CentOS for DirectAdmin because it's written first for CentOS; everything else is a port.

But in the long run, you should use that with which you're most familiar.

I see... In near future I'll be picking the OS again (Ubuntu 9.10 or CentOS 5), so I'll be facing that decision.
The main reason I migrated to Ubuntu was apt-get, which was simpler and better to use than yum (for me).
So, you recommend CentOS? Hmm...
 
I recommend that you use that with which you're most familiar. I've been using Red Hat Linux since it first came out, so for me, that's the one with which I'm most familiar.

Yum is very automatable, and in fact we recommend you automate it; as long as your yum-exclude setting is as installed during the DirectAdmin install, it shouldn't install anything it's not supposed to install. (Before Red Hat started using yum I used to use apt-get as rewritten by someone (I don't remember whom) for RPMs.

And DirectAdmin manages updates the hosting stack itself, using custombuild, so yum or apt-get should only update the basic software.

Jeff
 
Back
Top