What does this mean wtmp No such file or directory

In /var/adm/messages i constantly see this error,, can anybody explain it and how do I stop it?

ftpd[743]: [ID 896167 daemon.error] wtmp /var/adm/w
tmp No such file or directory
nsuggsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bummerlordCommented:
You ftp deamon tries to log information about the login.

Try:
unix# mkdir -f /var
unix# mkdir -f /var/adm
unix# touch /var/adm/wtmp
unix# touch /var/adm/utmp
unix# touch /var/adm/utmpx
unix# touch /var/adm/wtmpx

You probably have /var and /var/adm directories already, if so skip the mkdir's
Note that if any of the above files exist "touch" won't truncate them but only change timestamps, and if they don't exist they will be created. So you can't do any harm using the above exactly ;-) (you need to be root though!)

Look at "man wtmp" and also as wtmp/utmp is obsolete "man wtmpx" for more information.

Then login using FTP (again) and verify that no more messages regarding wtmp appear.

Also try this after successful login via ftp (or shell)
unix# last -10

You should see a list of the 10 last logins (or as many as have been registerd if less)
E.g

username  ftp     remotehost date and login time - logout time (hh:mm)
...
..


/b
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OtetelisanuCommented:
in the directory /var/adm
the files wtmp and wtmpx is not created.

make

touch /var/adm/wtmp
touch /var/adm/wtmpx

chmod 664 /var/adm/wtmp
chmod 664 /var/adm/wtmpx

chown adm:adm  /var/adm/wtmp
chown adm:adm  /var/adm/wtmpx

and
ps -ef|grep inetroot  
2583     1  0   Feb 28 ?        0:01 /usr/sbin/inetd -s

kill -1 2583
 
look

man ftpd


0
liddlerCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by bummerlord

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.