total reset directadmin

Robbert89

New member
Joined
Jun 18, 2015
Messages
2
Hello all,

Since a few days ive got some problems loggin in to directadmin. (and ftp doesnt work anymore)
When i try to login the page just refreshes and nothing happens.
The directadmin error.log says:

Unable to write ./data/admin/login.hist: Unable to get Lock
open error for ./data/admin/login.hist.lock No such file or directory
./data/admin: No such file or directory
Unable to get lock on file

I am using CentOS 6.6 final and custombuild directadmin on a VPS from transip.
the ip of my server is 149.210.206.164:2222 (for directadmin login page)
i already did:

./build update
./build versions
./build libtool
./build apache
./build rewrite_confs

Maybe anyone here knows the solution to my problem??
Or is there a way to totally reinstall or refresh directadmin so all data and config files will be remade?
something like a script or ./directadmin i and ./directadmin p - by the way this also didnt solve the problem :(
 
Hello,

Probably you could try:

Code:
/usr/local/directadmin/scripts/fix_da_user.sh admin admin

and/or

Code:
mkdir -p /usr/local/directadmin/data/admin
/usr/local/directadmin/scripts/set_permissions.sh da_files

Please update us with your results.
 
Thanks SeLLeRoNe and zEitEr for the repsone.

SeLLeRoNe,
Yester i already reset my license this didnt fix the problem. It could have fixed an error in tickets.list file as i also had that error before.

zEitEr,
After a few hours i called someone to stop by and check if he could do anything. Indeed the guy reseted some .sh things, not sure wich ones. however i was again able to connect to my ftp via root user and saved al my files and databases. after that i just reinstalled the whole OS on my VPS . So everything is up and running again by now :) !

Thanks for the answers, i think the reset option you suggest is valuable for persons having similar problems.
 
Back
Top