You are not logged in.

#1 2008-08-29 09:11:30

Dontcho
Member
From: Varna, Bulgaria
Registered: 2007-09-08
Posts: 13
Website

acpid, alsa, crond, hal == Permission denied

When I boot my system I see something like that tach: cannot access /var/run/daemons/hal: Permission denied
This messages is for acpid, alsa, crond, hal. The same said rm, ls and all other commands.

[root@myhost arch]# ls -all /var/run/daemons/
ls: cannot access /var/run/daemons/hal: Permission denied
ls: cannot access /var/run/daemons/alsa: Permission denied
ls: cannot access /var/run/daemons/acpid: Permission denied
ls: cannot access /var/run/daemons/crond: Permission denied
total 1
drwxr-xr-x  2 root root 376 2008-08-29 11:06 .
drwxr-xr-x 12 root root 624 2008-08-29 11:06 ..
??????????  ? ?    ?      ?                ? acpid
??????????  ? ?    ?      ?                ? alsa
??????????  ? ?    ?      ?                ? crond
-rw-r--r--  1 root root   0 2008-08-29 11:06 cups
-rw-r--r--  1 root root   0 2008-08-29 11:06 dbus
-rw-r--r--  1 root root   0 2008-08-29 11:06 fam
??????????  ? ?    ?      ?                ? hal
-rw-r--r--  1 root root   0 2008-08-29 11:06 laptop-mode
-rw-r--r--  1 root root   0 2008-08-29 11:06 netfs
-rw-r--r--  1 root root   0 2008-08-29 11:06 network
-rw-r--r--  1 root root   0 2008-08-29 11:06 portmap
-rw-r--r--  1 root root   0 2008-08-29 11:06 sshd
-rw-r--r--  1 root root   0 2008-08-29 11:06 syslog-ng
[root@myhost arch]#

again:

[root@myhost arch]# chmod 0644 /var/run/daemons/acpid
chmod: cannot access `/var/run/daemons/acpid': Permission denied
[root@myhost arch]#

Can I do something to fix this ?

P.S.: My English is not very well, Sorry sad

Offline

#2 2008-09-03 21:43:55

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: acpid, alsa, crond, hal == Permission denied

I would try to reinstall the system. By the way it just happened recently with an upgrade or it was a clean installation???


ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#3 2008-09-05 10:15:40

Dontcho
Member
From: Varna, Bulgaria
Registered: 2007-09-08
Posts: 13
Website

Re: acpid, alsa, crond, hal == Permission denied

With an upgrade two or three months ago. Well, the system works with no problems, except the battery status.
I think if I try to reinstall system I should destroy root partition (/) rm does not work to remove this files. It like to make a clean install, but this way is not mine ;( Should I do it ?

P.S.: again, sorry for my bad English ;(

Last edited by Dontcho (2008-09-05 10:18:58)

Offline

#4 2008-09-05 14:21:37

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: acpid, alsa, crond, hal == Permission denied

Could you try to reinstall the packages marked with question marks (?).

i.e

pacman -S hal

or

pacman -S alsamixer

and then you can tell us if it was installed fine and try to list again the files

ls -al /var/run/daemons/

ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#5 2008-09-06 19:23:33

Dontcho
Member
From: Varna, Bulgaria
Registered: 2007-09-08
Posts: 13
Website

Re: acpid, alsa, crond, hal == Permission denied

No problem.

[root@myhost arch]# pacman -S hal
warning: hal-0.5.11-1 is up to date -- reinstalling
resolving dependencies...                          
looking for inter-conflicts...                     

Targets (1): hal-0.5.11-1  

Total Download Size:    0.43 MB
Total Installed Size:   1.34 MB

Proceed with installation? [Y/n] 
:: Retrieving packages from extra...
hal-0.5.11-1-i686        436.7K  175.1K/s 00:00:02 [##################################################################] 100%
checking package integrity...
(1/1) checking for file conflicts                   [##################################################################] 100%
(1/1) upgrading hal                                 [##################################################################] 100%
[root@myhost arch]# ls -al /var/run/daemons/
ls: cannot access /var/run/daemons/hal: Permission denied
ls: cannot access /var/run/daemons/alsa: Permission denied
ls: cannot access /var/run/daemons/acpid: Permission denied
ls: cannot access /var/run/daemons/crond: Permission denied
total 1
drwxr-xr-x  2 root root 376 2008-09-06 21:53 .
drwxr-xr-x 12 root root 656 2008-09-06 22:10 ..
??????????  ? ?    ?      ?                ? acpid
??????????  ? ?    ?      ?                ? alsa
??????????  ? ?    ?      ?                ? crond
-rw-r--r--  1 root root   0 2008-09-06 21:52 cups
-rw-r--r--  1 root root   0 2008-09-06 21:52 dbus
-rw-r--r--  1 root root   0 2008-09-06 21:52 fam
??????????  ? ?    ?      ?                ? hal
-rw-r--r--  1 root root   0 2008-09-06 21:52 laptop-mode
-rw-r--r--  1 root root   0 2008-09-06 21:52 netfs
-rw-r--r--  1 root root   0 2008-09-06 21:53 network
-rw-r--r--  1 root root   0 2008-09-06 21:52 portmap
-rw-r--r--  1 root root   0 2008-09-06 21:52 sshd
-rw-r--r--  1 root root   0 2008-09-06 21:52 syslog-ng
[root@myhost arch]#

You see there is no defference. The same for alsamixer, acpi and cron.
question marks apper in console. In mc looks like that vtorabg.com/arch-forum.jpg

Offline

Board footer

Powered by FluxBB