emergency, dumb mistake

young

Verified User
Joined
Oct 22, 2003
Messages
77
dumb mistake

i had da running and websites setup for months now. i wanted to see what would happen if i ran install.sh

i have a new ui for directadmin, but now all the sites on the server i tried to get to shows "Apache is functioning normally"

what can i do?
 
Last edited:
Hello,

At the bottom of your httpd.conf there were includes for each of your hosted users. httpd.conf was likely overwritten when you re-ran install.sh.

To the bottom of httpd.conf, append the following line for each {user} on your system:
Code:
Include /usr/local/directadmin/data/users/{user}/httpd.conf
That may fix this, if your users' data files still exist in /usr/local/directadmin/data/users/

Good luck.

Phi1.
 
young said:
i tried restarting da, now da isn't coming back up
If I were you :), I'd probably backup my users' config files /usr/local/directadmin/data/*, wip out /usr/local/directadmin, and reinstall DA anew.

Just make sure you backup everything. :)

You may want to contact DA's official support line -- [email protected] -- first though ;)

Phi1.
 
l0rdphi1 said:
Hello,

At the bottom of your httpd.conf there were includes for each of your hosted users. httpd.conf was likely overwritten when you re-ran install.sh.

To the bottom of httpd.conf, append the following line for each {user} on your system:
Code:
Include /usr/local/directadmin/data/users/{user}/httpd.conf
That may fix this, if your users' data files still exist in /usr/local/directadmin/data/users/

Good luck.

Phi1.


thank you, but the httpd.conf files aren't there anymore. is there anyway i can regenerate them for all users?
 
Yes, you can regenerate your users' httpd.conf files, however DA neeeds to be running to do that.
Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
Phi1.
 
I'm betting the /usr/local/directadmin/data/users/ directory is nearly empty, if so, how faithful were you (or the server admin) at making backups?
 
thuskey said:
I'm betting the /usr/local/directadmin/data/users/ directory is nearly empty, if so, how faithful were you (or the server admin) at making backups?

the admin directory in /usr/local/directadmin/data/users looks like it got reset, but the other user directories look untouched.

i have the other user sites working. i think i just have to re add the domains for the admin. but when i tried to re add the domain, it said it already exists.
 
That's because DNS files for the domains still exist. Remove them as /var/named/{domain}.db and you should be good.
 
l0rdphi1 said:
That's because DNS files for the domains still exist. Remove them as /var/named/{domain}.db and you should be good.

thanks again.
 
Last edited:
Back
Top