OpenVZ Forum


Home » General » Support » CentOS 4 template problem after kernel update
icon5.gif  CentOS 4 template problem after kernel update [message #14099] Thu, 14 June 2007 17:28 Go to next message
miroslawgon is currently offline  miroslawgon
Messages: 16
Registered: April 2006
Junior Member
host system: CentOS 4.4
old kernel: 2.6.8-022stab076-smp
current kernel: 2.6.9-023stab043

kernels are build from sources - official openvz config is loaded and then changed in menuconfig.

The problem:
For a long time I was using 2.6.8 kernel but yesterday I updated kernel to 2.6.9-023stab043. After update I can't change password for users inside one all my CentOS 4.4 vps`es (in Debian 3 and 4 vps'es everything works fine and host system works fine also):

passwd user
New UNIX password:
Retype new UNIX password:
passwd: System error <----

I can't change to user using su command also:

su user (logged as root)
su: incorrect password

because of that FTP logins are not working anymore
users get invalid password. Looks like system is blocking any form of login in.

I also atteched strace of su and password


Everything works fine in 2.6.8 kernel, I have this problems when I use 2.6.9 kernel.

Does anybody had similar problem? Is it kernel problem or CentOS4 template problem?

I used CentOS4-minimal template from openvz site to set up vps'es. Also tried to create new CentOS4 vps but passwd and su doesn't work either.


  • Attachment: passwd.log
    (Size: 31.18KB, Downloaded 226 times)
  • Attachment: su.log
    (Size: 13.15KB, Downloaded 224 times)
Re: CentOS 4 template problem after kernel update [message #14114 is a reply to message #14099] Fri, 15 June 2007 06:14 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hmm...

Are there failcounters in /proc/user_beancounters after unsuccessful attempt of su command?

Thank you,
Vasily.
Re: CentOS 4 template problem after kernel update [message #14130 is a reply to message #14114] Fri, 15 June 2007 10:01 Go to previous messageGo to next message
miroslawgon is currently offline  miroslawgon
Messages: 16
Registered: April 2006
Junior Member
No failcnt are all 0
Re: CentOS 4 template problem after kernel update [message #14138 is a reply to message #14130] Fri, 15 June 2007 11:10 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Do you use official centos-4 template from openvz.org?
What is your architecture?

I'll try to reproduce it locally.

Thanks,
Vasily.
Re: CentOS 4 template problem after kernel update [message #14140 is a reply to message #14138] Fri, 15 June 2007 11:24 Go to previous messageGo to next message
miroslawgon is currently offline  miroslawgon
Messages: 16
Registered: April 2006
Junior Member
Yes official CentOS 4 i386-minimal template form openvz.org
32bit CentOS host and 32bit CentOS template

Re: CentOS 4 template problem after kernel update [message #14150 is a reply to message #14140] Fri, 15 June 2007 12:55 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
This is what I have done (VE - centos-4, HN - centos-4, arch x86)

HN# vzctl set 700 --userpasswd root:qwe
Starting VE ...
VE is mounted
VE start in progress...
Changing password for user root.
passwd: all authentication tokens updated successfully.
Stopping VE ...
VE was stopped
VE is unmounted
HN# vzctl enter 700
VE is not running
HN# vzctl start 700
Starting VE ...
VE is mounted
Setting CPU units: 1000
VE start in progress...
HN# vzctl enter 700
entered into VE 700
VE# su     
VE# exit
exit
VE# passwd root
Changing password for user root.
New UNIX password: 
Retype new UNIX password: 
passwd: all authentication tokens updated successfully.


So, for me it works. Can you give me an access to the node in question?
Previous Topic: *SOLVED* How CPU resources allocated if all VPS allocated 100% brust.
Next Topic: *SOLVED* Disk quota error
Goto Forum:
  


Current Time: Mon Jul 15 19:59:58 GMT 2024

Total time taken to generate the page: 0.02472 seconds