Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hi everybody,
I have Scientific linux cyrillic edition 6.3 installed on the laptop. It was ok for some time, but then a failure happened. I can't choose username and type a password (i attached the photo of what i see instead of that window).
There were also problems with permissions of some files like ssh_host_dsa_key and ssh_host_rsa_key. This problem was solved using liveCD.
I also attached photos of boot messages, but it's in russian. There's a failure with auditd start and with net connection (the second one can be solved using cable).
I will be gratefull for any help with these problems.
You can log in using single-user mode. After you are inside logged in as root user, type 'telinit 3' to go to run level 3 from where you can use networking and do 'yum update'.
When i try to upgrade i receive the following message after yum clean all:
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 285, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 114, in main
base.doLock()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1791, in doLock
while not self._lock (lockfile, mypid, 0644)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1857, in _lock
errmsy =_('Couldn't create lock at %s %s ') % (filename, str(msg))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 11: ordinal not in range(128)
I don't know what that was, but today "yum clean all" don't show such messages. I has both python 2.6 (default)and 2.7 on the laptop and they are in different directories.
As for failure - I wanted to change permissions for one folder in the root directory (it wasn't a system folder, but another installed program), but there occured some errors with terminal and chmod began to run on the other folders of root directory and then the system hanged. So after reboot i can't log in a system cause there's no window with usernames and passwords.
There's also a problem that in a single user mode su doesn't work - it says that the password is incorrect. I use sudo to upgrade (in sudoers file there's nopasswd option for my user).
Upgrade didn't help. There're no error messages from boot message window, but i still see the window with "localhost.localdomain"
but there occured some errors with terminal and chmod began to run on the other folders of root directory and then the system hanged
fixable
but not if yum is not working
if the permissions of the files and / or folders in "/" are wrong SE will stop the boot
what is in the error logs ?
use the install dvd in rescue mode and look at the logs !
if the yum/rpm database is not messed up you might try this
Code:
for f in $(rpm -ql zip); do ls -l $f; done
--- and ---
for p in $(rpm -qa); do rpm --setperms $p; done
--- and --
for p in $(rpm -qa); do rpm --setugids $p; done
for f in $(rpm -ql zip); do ls -l $f; done
--- and ---
for p in $(rpm -qa); do rpm --setperms $p; done
--- and --
for p in $(rpm -qa); do rpm --setugids $p; done
but it didn't help. So I see only one way - to reinstall system (
Thanks everybody for answers
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.