PDA

View Full Version : Re-Installing Direct Admin



jamesthoms
06-18-2004, 07:28 PM
I may have screwed up some of my system files when I was messing around with my /var/ directory...

Question:
If I do a reinstallation of directadmin, will this wipe out or damage any user accounts I already have set up on the system. I'm using FreeBSD if that makes a difference...

Or - Instead or reinstalling is there a way to force an upgrade of direct admin to see if that fixes the problems. I'm running the latest version so it will not let me upgrade.

Thanks.

James Thoms

ProWebUK
06-18-2004, 07:46 PM
Why reinstall DA?

What do you mean by "I may have screwed up some of my system files when I was messing around with my /var/ directory..."?

Chris

jamesthoms
06-18-2004, 08:11 PM
I accidently deleted all the files in my /var/ directory...
don't ask how... I was running on very little sleep...

I was able to look at another FreeBSD box running directadmin and re-create the directory structures along with most of the files...

There are times when I restart mysqld or named direct admin hangs... it does restart it but it seems like somethings not right...
This did not happen before I cleared out my var directory...
I assumed it had something to do with a missing file to keep track of process id's or somthing...

In any case my original question still stands:
If I re-install direct admin, will it overwrite my current users directories or data.

nobaloney
06-20-2004, 07:51 AM
DA doesn't seem to affect the root directory at all; when I added it to a server with several usernames, it left them alone.

I have no idea what it does to any other files, though; I'd ask tech support if I were you.

Jeff

etegration
06-23-2004, 08:01 PM
Originally posted by jamesthoms


Or - Instead or reinstalling is there a way to force an upgrade of direct admin to see if that fixes the problems. I'm running the latest version so it will not let me upgrade.

Thanks.

James Thoms

i''m insterested in knowing if there's a way to do an update of DA? I love the new skin but my old server is still running the older version of DA.

DirectAdmin Support
06-25-2004, 01:23 PM
Hello,

To update DA: Admin Panel -> Licensing / Updates -> click "update". Or: http://help.directadmin.com/item.php?id=29


re-installing DA:
If you rerun the setup.sh .. the are 2 things you need to be careful of.

1) mysql
2) the main /etc/httpd/conf/httpd.conf

To get around the httpd.conf problem, just make a backup and then restore it when you're done.

For mysql... it will ask you to delete the directory, you'll want to say "n" ..(no!) or else everything will be wiped out. But.. if you select no, the mysql da_admin password will change in the mysql.conf for da, but the actual database password wont, thus preventing anyone from accessing the mysql features. To get around the, make a backup of /usr/local/directadmin/conf/mysql.conf and restore it after.

Generally, it's easier and safer to just fix the problem in place instead of reinstalling everthing. A lot of the install settings rely on certain defaults to exist If you've wiped the defaults, a reinstall might not work.

John

nobaloney
06-25-2004, 04:10 PM
Originally posted by DirectAdmin Support
re-installing DA:
If you rerun the setup.sh .. the are 2 things you need to be careful of.

1) mysql
2) the main /etc/httpd/conf/httpd.conf
I think you also have to save the proftpd.conf file as well.

Jeff

etegration
06-26-2004, 10:32 AM
Thanks John and Jeff!