vipw lockfile (/etc/ptmp) is present. 란메세지가 뜹니다..
글쓴이: NamSa / 작성시간: 일, 2004/02/29 - 3:52오후
레드햇 9.0에서..
adduser 나 useradd를.. 치면.. 다음 과 같은 메세지 가 ..뜹니다..
vipw lockfile (/etc/ptmp) is present.
vipw 라는 명령어를.. 치면.. 다음과 같은 메세지가 .. 뜹니다..
vipw: the password file is busy (/etc/ptmp present)
[root@localhost root]# adduser namsa
vipw lockfile (/etc/ptmp) is present.
[root@localhost root]# vipw
vipw: the password file is busy (/etc/ptmp present)
어케해야 할지.. 당황 스럽네요..
파일이 락걸려 있다는게....
파일.. 퍼미션도 정상이고..root로 로그인했습니다..
Forums:
해결했습니다.. /etc/ptmp 파일을 지우면 돼더군요..
해결했습니다..
/etc/ptmp 파일을 지우면 돼더군요..
아래는 제가 도움받은.. 원문입니다.ㅋㅋ
jbeedham I have run into trouble. When I try to load the userdrake it gives me an error. When I try to add a user from the command prompt it gives me an error. The error is pretty much the same in both places:
vipw lockfile (/etc/ptmp) is present!
What should I do?
exodist try useradd or adduser
jbeedham I get that error when I try useradd or adduser
leonscape You are root?
exodist try "touch /etc/ptmp"
see if that helps
BlueBoot vipw lockfile (/etc/ptmp) is present means that vipw is currently running and that etc/passwd file is locked.
try
ps ax|grep vipw
17029 pts/1 T 0:00 vipw etc/passwd
17032 pts/1 S 0:00 grep vipw
the second line is you're grep command but the first means vipw is running and locking etc/passwd
you have to delete the file /etc/ptmp, this will solve the problem, but be shure no one is using this file!
had the same problen today, it worked and now all is fine :)
메일 : nan1004au@gmail.com
댓글 달기