Error: The username hasn't been set.

k98514700

Verified User
Joined
Nov 3, 2008
Messages
7
Hi all,

my DA suddenly stopped working, i cannot see even the login page.

suspect:
(1) I was logged in with multiple instances
(2) Firewall was being installed on my server (cannot verify this fact with my host yet)

tail /var/log/directadmin/error.log shows:
The username hasn't been set. Won't run the script without dropping privileges

checked license, is valid.

help please.

thanks!
 
Hello,

The "username hasn't been set" relates to running scripts within templates where DA has not specified a user for the script to run as. It's likely not something you'd need to worry about unless you're noticing some template script not working.

Note that it shouldn't affect the login of the User in DA ... but more info would help determine what the issue is for the login problem.

Try:
Code:
cd /usr/local/directadmin
killall -9 directadmin
./directadmin b800
Then try to login and see what you get. Any issues should be output to the screen in ssh. Use ctrl-c to stop the debug DA.

Also ensure you didn't blacklist yourself:
/usr/local/directadmin/data/admin/ip_blacklist

Related guide:
http://help.directadmin.com/item.php?id=75

John
 
Back
Top