Ubuntu 7.10: installation problem:Unable to read directadmin.conf

gregorybe

New member
Joined
Dec 7, 2007
Messages
2
Hello,
I receive the following error while installing DA:

Code:
Backup of /etc/httpd/conf/httpd.conf to /etc/httpd/conf/httpd.conf.back successfull
Install of /usr/local/directadmin/data/templates/httpd.conf to /etc/httpd/conf/httpd.conf successfull
Backup of /etc/proftpd.conf to /etc/proftpd.conf.back successfull
Install of /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.conf successfull
Install of /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/directadmin/conf/directadmin.conf successfull
*** Unable to read directadmin.conf.  Check permissions and make sure that it exists.  Cannot find the diradmin user.  Make sure the diradmin user exists in your system.<br>

## INSTALL_FAILED
## REPORT_END
Permissions set

The user diradmin exits,
When i view permissions i see:

Code:
root@webl:/usr/local/directadmin/conf# ls -ls
total 12
4 -rw------- 1 diradmin diradmin 1636 2007-12-07 20:10 directadmin.conf
4 -rw------- 1 diradmin diradmin 1559 2007-12-07 20:10 license.key
4 -r-------- 1 diradmin diradmin   30 2007-12-07 20:10 mysql.conf

How do I solve this problem?

Thanks in advance
 
Hello,

As i see you have multiple errors. First i will give you all correct permissions on filenames and directories:

# cd /usr/
# ls -al
drwxr-xr-x 14 root staff 4.0K 2007-12-08 18:30 local

# cd local/
# ls -al
drwxr-xr-x 7 diradmin diradmin 4096 2007-12-08 15:51 directadmin

# cd directadmin/
# ls -al
drwxr-xr-x 7 diradmin diradmin 4096 2007-12-08 15:51 .
drwxr-xr-x 14 root staff 4096 2007-12-08 18:30 ..
drwx------ 2 diradmin diradmin 4096 2007-12-08 18:57 conf
drwxr-xr-x 3 root root 4096 2007-12-08 18:57 custombuild
-rw-r--r-- 1 diradmin diradmin 73873 2007-12-08 04:08 custombuild.tar.gz
-rwx------ 1 diradmin diradmin 716986 2007-11-11 07:58 da-popb4smtp
drwx--x--x 8 diradmin diradmin 4096 2007-12-10 18:02 data
-rwx------ 1 diradmin diradmin 4009534 2007-11-11 07:58 dataskq
-rwx------ 1 diradmin diradmin 3996468 2007-11-11 07:58 directadmin
-rwx------ 1 diradmin diradmin 12492 2007-11-11 07:58 logger
drwxr-xr-x 2 diradmin diradmin 4096 2007-12-07 01:19 .ncftp
drwx--x--x 4 diradmin diradmin 4096 2007-12-05 21:56 scripts
-rw-r--r-- 1 diradmin diradmin 4450955 2007-12-05 16:16 update.tar.gz

Second; you do not have your hostname set. You need to specify your hostname as specified in your license. E.g.: # hostname server01.mydomain.com

Also you need to install it on a Linux distribution which is the same as your license and the ipaddress has to match. If you have questions about that you better can ask your hostingprovider.
 
Back
Top