PDA

View Full Version : [ubuntu] /var/ problems



darkreaction
November 3rd, 2008, 10:55 PM
After the upgrade to 8.10 I keep getting kicked out of my GUI boot into a text boot. It first tells me its changing the ownership of a lot of "/var/" files and to read only. The problem is when I get to "/var/run/klogd/kmsgpipe.pd" It says "the file could not be opened" and then reboots. I'm in recovery mode now and everything seems to be working fine, but I would like to boot into my regular install. Any help appreciated Thanks.

taurus
November 4th, 2008, 12:24 AM
What is the permission of /var/run/klogd/kmsgpipe.pid?


ls -la /var/run/klogd/kmsgpipe.pid
This is what it looks like on my machine.



total 8
drwxr-xr-x 2 klog klog 100 2008-10-27 09:28 .
drwxr-xr-x 16 root root 640 2008-10-27 09:28 ..
-rw-r--r-- 1 klog klog 5 2008-10-27 09:28 klogd.pid
prwx------ 1 klog klog 0 2008-10-30 18:03 kmsg
-rw-r--r-- 1 root root 5 2008-10-27 09:28 kmsgpipe.pid

darkreaction
November 4th, 2008, 09:14 PM
I came up with
-rw-rw-rw- 1 root root 5 2008-11-01 18:15 /var/run/klogd/kmsgpipe.pid

taurus
November 4th, 2008, 09:30 PM
Try changing the permissions for /var/run/klogd/kmsgpipe.pid.


sudo chmod 644 /var/run/klogd/kmsgpipe.pid
ls -la /var/run/klogd

darkreaction
November 4th, 2008, 09:52 PM
Ok I got
total 16
drwxr-xr-x 2 klog klog 4096 2008-11-01 18:15 .
drwxr-xr-x 20 root root 4096 2008-11-04 13:50 ..
-rw-r--r-- 1 klog klog 5 2008-11-01 18:15 klogd.pid
prwx------ 1 klog klog 0 2008-11-03 14:32 kmsg
-rw-r--r-- 1 root root 5 2008-11-01 18:15 kmsgpipe.pid

taurus
November 4th, 2008, 10:19 PM
Reboot and see if you can log in now.

darkreaction
November 4th, 2008, 10:31 PM
Nope no good. here is all I get
Cannot open socket /var/run/acpid.socket : address already in use

Chown /var/log/ "on like 20 files"

Cannot make /var/run/klogd/kmsg : file exists

Changing owners /var/run/klogd/kmsgpipe.pid : unable to open

then reboots.

Ruiner75
November 5th, 2008, 03:27 PM
Same problem here. See also:

http://ubuntuforums.org/showthread.php?t=966356

http://ubuntuforums.org/showthread.php?p=6097291