CentOSThis forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
can't login at text terminal.
can't login at all on cent os 7. this is from the text terminal. there is no dm running. if i login as root, or any user, it bounces back to the login screen immediately. if i enter an incorrect password, it waits 2 seconds before bouncing back. i can run stuff by chrooting into it from another distribution, and update software, but i don't know what is wrong with it.
can't login at all on cent os 7. this is from the text terminal. there is no dm running. if i login as root, or any user, it bounces back to the login screen immediately. if i enter an incorrect password, it waits 2 seconds before bouncing back. i can run stuff by chrooting into it from another distribution, and update software, but i don't know what is wrong with it.
By "text terminal" do you mean the console? The keyboard and monitor plugged into the computer?
By "login screen" do you mean the login prompt? Looks something like this
Code:
localhost login:
Besides checking the logs, what do the users you're trying look like in /etc/passwd ?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Original Poster
Rep:
i had already skimmed the log files, and saw nothing interesting. i had already looked at /etc/passwd also making sure there there were no "nologin" entries, and that root, and the other user were there. I skimmed the logs again, and found this.
Code:
Dec 5 11:58:56 localhost systemd: Startup finished in 1.703s (kernel) + 2.418s (initrd) + 12.131s (userspace) = 16.253s.
Dec 5 11:59:00 localhost systemd-logind: Failed to start user slice user-0.slice, ignoring: Access denied (org.freedesktop.DBus.Error.AccessDenied)
Dec 5 11:59:00 localhost systemd-logind: Failed to start session scope session-1.scope: Access denied
Dec 5 11:59:00 localhost systemd: getty@tty1.service has no holdoff time, scheduling restart.
Dec 5 11:59:00 localhost systemd: Stopped Getty on tty1.
Dec 5 11:59:00 localhost systemd: Started Getty on tty1.
Dec 5 11:59:07 localhost systemd: Received SIGINT.
i already made sure the passwords were ok from a chroot from another booted distribution. i hadn't booted this centos 7 since june, so i can't remember what i might have done that caused this.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Original Poster
Rep:
ok nevermind. it is an initramfs problem. 6 months ago i moved a bunch of stuff around on this hard drive. cent os was on sdb14, and now it's at sdb6. so the device numbers and uuid is wrong in all the initramfs'. i was able to login booting a custom made kernel from lilo. now i just have to fix several other issues.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.