directadmin not found error debian 6 64bit

odonel

New member
Joined
Oct 16, 2011
Messages
3
I am getting the following error after directadmin install

Starting DirectAdmin: /etc/init.d/directadmin: line 22: /usr/local/directadmin/directadmin: No such file or directory
[ FAILED ]

i checked the folder, the file is there...

ls /usr/local/directadmin
conf custombuild custombuild.tar.gz da-popb4smtp data dataskq directadmin scripts update.tar.gz

please advise...
 
total 7444
drwxr-sr-x 6 diradmin diradmin 4096 Oct 16 11:24 .
drwxrwsr-x 13 root staff 4096 Oct 16 09:49 ..
drwx--S--- 2 diradmin diradmin 4096 Oct 16 09:49 conf
drwxr-xr-x 3 root root 4096 Oct 16 11:37 custombuild
-rw-r--r-- 1 diradmin diradmin 108770 Oct 16 05:19 custombuild.tar.gz
-rwxr-xr-x 1 diradmin diradmin 900985 Sep 15 18:55 da-popb4smtp
drwxr-sr-x 4 diradmin diradmin 4096 Oct 16 09:51 data
-rwxr-xr-x 1 diradmin diradmin 1985355 Sep 15 18:55 dataskq
-rwxr-xr-x 1 diradmin diradmin 1964325 Sep 15 18:55 directadmin
drwxr-sr-x 4 diradmin diradmin 4096 Oct 16 11:22 scripts
-rw-r--r-- 1 diradmin diradmin 2630660 Oct 16 11:22 update.tar.gz
 
On my systems, running on various versions of CentOS, the permissions and ownerships look like this:
Code:
drwxr-xr-x  8 diradmin diradmin    4096 Oct 17 04:02 .
drwxr-xr-x 22 root     root        4096 Jun 28 01:52 ..
drwx------  2 diradmin diradmin    4096 Oct 17 04:01 conf
drwxr-xr-x 22 root     root        4096 Oct 17 04:02 custombuild
-rw-r--r--  1 diradmin diradmin  108795 Oct 17 02:20 custombuild.tar.gz
-rwx------  1 diradmin diradmin  900838 Aug  6 13:45 da-popb4smtp
drwx--x--x  8 diradmin diradmin    4096 Oct 17 06:02 data
-rwx------  1 diradmin diradmin 6538190 Aug  6 13:45 dataskq
-rwx------  1 diradmin diradmin 6518878 Aug  6 13:45 directadmin
drwxr-xr-x  2 diradmin diradmin    4096 Aug 18 02:04 .ncftp
drwxr-xr-x  4 diradmin diradmin    4096 Aug  6 15:34 plugins
drwx--x--x  4 diradmin diradmin    4096 Aug  6 13:45 scripts
-rw-------  1 diradmin diradmin 6056348 Aug  6 13:45 update.tar.gz
Perhaps you should try removing the suid bit in the directadmin directory, and the group and other permissions for the directadmin file. It could be that DirectAdmin is searching for something.

If that doesn't help then please post back.

Jeff
 
still did not work... I notice also that the conf dir only has mysql.conf and license.key

there is no directadmin.conf and there is no log in the log /var/log/directadmin
 
I believe you said this is a new DirectAdmin install. I'd suggest you check with DirectAdmin Sales to make sure you've got the right version for your OS, and then reinstall again, watching for errors.

Jeff
 
Back
Top