Unable to Login

cryptodan

Verified User
Joined
Oct 10, 2008
Messages
75
I get the following in my error.log file:

Code:
root@web1:/var/log/directadmin# tail -f error.log
2008:10:14-19:05:14: Auth::passValid: unable to get user_info for admin
2008:10:14-19:05:44: Auth::passValid: unable to get user_info for admin
2008:10:14-19:10:21: Auth::passValid: unable to get user_info for admin
2008:10:14-19:15:26: Auth::passValid: unable to get user_info for admin
2008:10:14-19:20:10: Auth::passValid: unable to get user_info for admin
 
That basically means the admin user doesn't exist.

Check:
Code:
id admin
the c code DA is running is:
Code:
struct passwd* user_info = getpwnam("admin");
which is returning null to generate that error.

Also check:
/usr/local/directadmin/data/users
to see if admin is there.
If there are *no* users there then the install didn't finish, so type:
Code:
cd /usr/local/directadmin
./directadmin i
./directadmin p
and see what that does.

John
 
hey john, you're the man,
basically after i run id admin i got
uid=503(admin) gid=503(admin) groups=503(admin)

I also have the admin folder.

anyway i just try to run the 2 commands ./directadmin i & ./directadmin p

and it works.

Anyway, thanks guys for all your help, its good to know that there are so many helpful people around......


:):):):)
 
Back
Top