LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   fedora11 freezes at login screen (https://www.linuxquestions.org/questions/fedora-35/fedora11-freezes-at-login-screen-764929/)

arn_ml 10-28-2009 12:46 AM

fedora11 freezes at login screen
 
hello everybody,
yesterday i was trying to configure my apache web server 2.x.x.In the process i changed the permissions of the var folder as..
chown -R arun var
chgrp -R apache var


and i also set the respective execution permission to the subfolders www,cgi-bin etc

Till here no problem faced.Web server configured.

Now when i restarted my system and booted into fedora 11 it gave me the error "Could not update file /var/lib/gdm/.ICEauthority" (after booting).

Then i went to the rescue mode and changed the owner of var and all of its subfolders to root..

chown -R root var

I also found that /var/lib/gdm/.ICEauthority file had no execute permission set for the owner root and group "gdm" .So, i gave the execute permission as well.

Then i booted into fedora 11 again and there was no error this time.But my keyboard and mouse stopped working at the login screen....
In short fedora just freezed at my login screen.

I searched google for similar problems but all were associated with installation problem.As of my case i have been using fedora 11 smoothly for the past 3-4 months.

Also keyboard working properly in single user mode.

Thanks in advance...

arn_ml 10-28-2009 01:20 AM

This bug report i had saved just before shutdown when it was working fine.
it was saved as polkit-gnome-manager-bugreport.txt.This file is 199KB.So,you can imagine how big it is. Therefore i will paste the first few lines
####################################################
System: Linux 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May 27 17:28:22 EDT 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10601901
Selinux: No
Accessibility: Disabled
GTK+ Theme: Nodoka
Icon Theme: Fedora
GTK+ Modules: canberra-gtk-module, pk-gtk-module, gnomebreakpad

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0



---- Critical and fatal warnings logged during execution ----

** PolicyKitGnome **: error creating PK context: (null)


----------- .xsession-errors (751 sec old) ---------------------
!!! [SmartNamer] updateEntry(): TypeError: /^https?:\/\/([^\/]+)/.exec(pageUrl) is null
[SmartNamer] updateEntry()
[SmartNamer] updateEntry()
** Message: NumLock remembering disabled because hostname is set to "localhost"
** Message: NumLock remembering disabled because hostname is set to "localhost"
[ConvConfHandler] isPreferred contentType: application/vnd.ms-powerpoint
(nautilus:2367): Nautilus-GDU-WARNING **: unable to query info: The specified location is not supported
(nautilus:2367): Nautilus-GDU-WARNING **: unable to query info: The specified location is not supported
(nautilus:2367): Nautilus-GDU-WARNING **: unable to query info: The specified location is not supported
--------------------------------------------------
MDRawHeader
signature = 0x504d444d
version = 0xa793
stream_count = 6
stream_directory_rva = 0x20
checksum = 0x0
time_date_stamp = 0x4ae76193 2009-10-27 21:09:39
flags = 0x0

mDirectory[0]
MDRawDirectory
stream_type = 3
location.data_size = 52
location.rva = 0x68

mDirectory[1]
MDRawDirectory
stream_type = 4
location.data_size = 15340
location.rva = 0x1040

mDirectory[2]
MDRawDirectory
stream_type = 7
location.data_size = 56
location.rva = 0x8a78

mDirectory[3]
MDRawDirectory
stream_type = 15
location.data_size = 44
location.rva = 0x8b60

mDirectory[4]
MDRawDirectory
stream_type = 1197932545
location.data_size = 12
location.rva = 0x8b90

mDirectory[5]
MDRawDirectory
stream_type = 0
location.data_size = 0
location.rva = 0x0

Streams:
stream type 0x0 at index 5
stream type 0x3 at index 0
stream type 0x4 at index 1
stream type 0x7 at index 2
stream type 0xf at index 3
stream type 0x47670001 at index 4

MinidumpThreadList
thread_count = 1
################################################
This is followed by lots of MDxxxx info.

Thanks for help.......:-(

arn_ml 10-29-2009 04:02 AM

hey guys!!am still stuck with the problem.I really do not want to reinstall fedora.....

John VV 10-29-2009 03:50 PM

you changed the permisions on THE WHOLE /var !!!!!!
and not ONLY /var/www


boot into s"ingle user mode" or "rescue" from the install dvd
and change them back to "
Code:

chown -R root:root /var
"

wmakowski 10-29-2009 10:19 PM

This may turn out to be one of those learning experiences where the final solution is to re-install.

The command you ran to try and fix things, chown -R root var only changed all the owners to root. John_VV suggested using chown -R root:root /var, to also catch the groups. This may get the majority of files & directories back in line, but there are quite a few files & directories that do not have an owner:group of root.

The only solution I can think of involves comparing the files and directories in /var with a proper installation. It might be possible to get most of it corrected using a Fedora Live CD, but ultimately there will be some that just don't match up. Although you could automate some of this using scripts it is still going to be rather time consuming.

This is only the tip of the /var iceberg, but it may get you going. gdm is where your mouse and keyboard are acting up so we'll concentrate on those entries.

.ICEauthority has the following characteristics.
-rw-------. 1 gdm gdm 18950 2009-10-29 08:00 /var/lib/gdm/.ICEauthority

The following directories and their contents all have gdm:gdm for their owner:group - /var/run/gdm, /var/lib/gdm, /var/log/gdm, /var/gdm.

arn_ml 10-29-2009 11:30 PM

Thank you sir.but as you said the final solution i had with me was to reinstall.But when i was facing this problem i was able to boot into runlevel 3 without any problem.So,it should be somae problem with gnome.

Now,i am again configuring my system.But yeah ,am quite used to it now.:-P


Again thanks everybody for the help.:-)


All times are GMT -5. The time now is 11:08 PM.