You are not logged in.

#1 2004-02-02 10:32:47

robot5x
Member
Registered: 2004-01-26
Posts: 266

X fails with 'can't move xfree86.0.log.old' [FXx]

Hello,
I already tried to find this topic on the forums but couldn't see it - so sorry if it's been discussed before.
I recompiled the kernel26 package, and installed the latest nvidia driver and everything was working beautifully.
Suddenly this morning when I startx as user it fails saying that it can't move xfree86.0.log.old. I changed some permissions in /var/log then it started to fail with 'can't open xfree86.0.log' instead.
I have no idea why this is happening, considering it was perfectly fine yesterday!!
If anyone has any advice I'd be very grateful...
(why is the log important anyway??I wouldn't have thought it has any bearing on whether x starts or not)

Offline

#2 2004-02-02 12:29:43

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: X fails with 'can't move xfree86.0.log.old' [FXx]

Not sure how it happened in the first place, but just go in as root and remove /var/log/XFree86*.log and then try startx as your user again.  (Make sure X isn't running before you remove the log files).


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#3 2004-02-02 17:22:47

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: X fails with 'can't move xfree86.0.log.old' [FXx]

Thanks for the reply - still not working, tho. Removed the xfree86 logs, now when I startx as user I get
Fatal Server error:
Cannot open /var/log/XFree86.0.log

I can startx as root, so maybe it's a permissions thing. I'm totally mystified about this...
this is my /var/log...
-rw-r--r--    1 root     root        23595 Feb  2 17:20 XFree86.0.log
-rw-rw-rw-    1 root     root          694 Jan 28 18:20 auth
-rw-rw-rw-    1 root     root            0 Dec 20 00:41 btmp
-rw-rw-rw-    1 root     root         5494 Feb  2 17:16 crond
drw-rw-rw-    2 root     root           48 Nov 25 19:58 cups
-rw-rw-rw-    1 root     root          436 Jan 28 18:20 errors
drw-rw-rw-    2 root     root           48 Jan  7 20:25 hotplug
-rw-rw-rw-    1 root     root        52470 Jan 28 17:28 kernel
-rw-rw-rw-    1 root     root       292292 Feb  2 17:20 lastlog
-rw-rw-rw-    1 root     root            0 Jan 28 17:17 mail
-rw-rw-rw-    1 root     root          518 Jan 28 18:20 messages
-rw-rw-rw-    1 root     root         9772 Feb  1 19:01 nvidia-installer.log
drw-rw-rw-    2 root     root           48 Dec 20 00:41 old
-rw-rw-rw-    1 root     root        10905 Feb  1 19:40 pacman.log
-rw-rw-rw-    1 root     root       441600 Feb  2 17:20 wtmp
When I startx as root it's creating another log file with root permissions...maybe that is part of the problem. Any ideas??

Offline

#4 2004-02-02 18:31:19

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: X fails with 'can't move xfree86.0.log.old' [FXx]

[jchu@aries jchu]$ ls -l /usr/X11R6/bin/XFree86
-rws--x--x    1 root     root      1926550 Oct 26 17:23 /usr/X11R6/bin/XFree86

Does XFree86 have a sticky owner bit?  It's supposed to.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#5 2004-02-02 19:08:58

robot5x
Member
Registered: 2004-01-26
Posts: 266

Re: X fails with 'can't move xfree86.0.log.old' [FXx]

Thanks a lot for your help xentac, that got it fixed...
for some reason /usr/X11R6/bin/XFree86 was set to
-rwxrwxrwx.
Got no idea what happened there, but I set the sticky on and now everything's fine.

Offline

Board footer

Powered by FluxBB