PDA

View Full Version : login history file error


Alrik
07-01-2006, 06:10 AM
At some new accounts i get errors about hist files wich not seem to exist.

Accounts older than a day or 2 work fine.

Alrik
07-12-2006, 04:26 AM
bump

RadMan
05-14-2007, 07:17 PM
Having the same problem on all accounts...

>>>
Here is the Login History for your latest visits

Unable to read login history file
>>>

RadMan
05-15-2007, 05:29 PM
I know of one other person with the same problem...

DirectAdmin Support
05-15-2007, 11:53 PM
There is no history yet if the account was just created.
The file is created upon the first login .. or should be anyway.
If it isn't, check your /var/log/directadmin/error.log for possible clues.
Also check the permissions on:
/usr/local/directadmin/data/users/username
as the login.hist lives in that directory. Written to by the "diradmin" user, so that user needs write privilegeson the folder.

Also, this file is related:
/usr/local/directadmin/data/admin/login.hist
as it holds the login information on the number of attempts, before the info is transferred to the User's login.hist file..
so make sure this login.hist exists as well.

John