removing direct admin. need to reinstall

ellery

New member
Joined
May 30, 2003
Messages
3
how do i remove directadmin form a redhat 8.0 box. i need to do a clean install.
 
Hello ellery,

The best way to do a clean install is to format and reinstall redhat.

However, if you can't format:

delete all Users and Reseller through DirectAdmin

run: userdel -r admin (assuming admin is your login)

rm -rf /usr/local/directadmin

note that this will leave config files on your system, and some cleaning up will be required to be done, such as removing unwanted services.

We havn't included an uninstaller yet, but when time permits we'll look into adding one.

John
 
the issue is that i get the fallowing errors on a clean install of redhat


Is this information correct? ([y] or n) : y
Backup of /etc/httpd/conf/httpd.conf to /etc/httpd/conf/httpd.conf.back successfull
*** Unable to copy /usr/local/directadmin/data/templates/httpd.conf to /etc/httpd/conf/httpd.conf : Unable to stat the source file<br>
A component of the path file_name does not exist, or the path is an empty string.<br>

Backup of /etc/proftpd.conf to /etc/proftpd.conf.back successfull
*** Unable to copy /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.conf : Unable to stat the source file<br>
A component of the path file_name does not exist, or the path is an empty string.<br>

*** Unable to copy /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/directadmin/conf/directadmin.conf : Unable to stat the source file<br>
A component of the path file_name does not exist, or the path is an empty string.<br>

Backup of /etc/exim.conf to /etc/exim.conf.back successfull
*** Unable to copy /usr/local/directadmin/data/templates/exim.conf to /etc/exim.conf : Unable to stat the source file<br>
A component of the path file_name does not exist, or the path is an empty string.<br>

directory /usr/local/directadmin/log created
directory /usr/local/directadmin/data created
directory ./data/admin created
directory /usr/local/directadmin/data/tickets created
directory ./data/users created
directory ../../../home/tmp created
directory /etc/virtual created
directory /var/spool/virtual created
directory ./data/admin/ips created
directory ./data/admin/packages created
ip.list written successfully
./data/admin/login.hist written successfully
./data/admin/next_ticket.number written correctly
./data/admin/services.status written successfully
tickets.list written successfully
*** Error creating Admin User : Can't get a lock on ./data/users/admin/user.usage<br>
<br>
Can't get a lock on ./data/users/admin/domains.list<br>
<br>
Can't get a lock on ./data/users/admin/user.conf<br>
<br>
Can't get a lock on ./data/users/admin/reseller.usage<br>
<br>
Can't get a lock on ./data/users/admin/users.list<br>
<br>
Can't get a lock on ./data/users/admin/reseller.conf<br>
<br>
User Already Exists<br>

*** Unable to write the admin's user files
 
Hi,

Make sure that the /usr/local/directadmin/data/templates directory exists and all files noted are in them. My only guess is that you forgot to extract the update.tar.gz file or extracted it into the wrong directory.

Make *sure* you extract the tar.gz file into /usr/local/directadmin as instructed in http://directadmin.com/installguide.html

As for the "admin already exists" error, I wouldn't worry about it too much. I means you didn't delete the system user with "userdel -r admin".

John
 
Back
Top