You are not logged in.
Hi,
ls -lR /var/run
Output:
total 0
ls: cannot access /var/run/httpd/httpd.pid: Permission denied
ls: cannot access /var/run/httpd/cgisock.2642: Permission denied
/var/run/httpd:
total 0
?????????? ? ? ? ? ? cgisock.2642
?????????? ? ? ? ? ? httpd.pid
ls: cannot access /var/run/laptop-mode-tools/enabled: Permission denied
/var/run/laptop-mode-tools:
total 4
?????????? ? ? ? ? ? enabled
-rw-r--r-- 1 root root 15 2009-09-23 12:48 state
ls: cannot access /var/run/named/named.pid: Permission denied
/var/run/named:
total 0
?????????? ? ? ? ? ? named.pid
When I try to start httpd with "/usr/sbin/apachectl start", I get:
(13)Permission denied: Error retrieving pid file /var/run/httpd/httpd.pid
Remove it before continuing if it is corrupted.
When I try to start named with "/etc/rc.d/named start", I get:
:: Starting DNS [FAIL]
" lsattr /var/run/" command's output is:
lsattr: Inappropriate ioctl for device While reading flags on /var/run/hald
lsattr: Inappropriate ioctl for device While reading flags on /var/run/sudo
lsattr: Inappropriate ioctl for device While reading flags on /var/run/utmp
lsattr: Inappropriate ioctl for device While reading flags on /var/run/wicd
lsattr: Inappropriate ioctl for device While reading flags on /var/run/PolicyKit
lsattr: Inappropriate ioctl for device While reading flags on /var/run/httpd
lsattr: Inappropriate ioctl for device While reading flags on /var/run/named
lsattr: Inappropriate ioctl for device While reading flags on /var/run/pulse
lsattr: Inappropriate ioctl for device While reading flags on /var/run/laptop-mode-tools
lsattr: Inappropriate ioctl for device While reading flags on /var/run/portmap_mapping
lsattr: Inappropriate ioctl for device While reading flags on /var/run/ConsoleKit
lsattr: Inappropriate ioctl for device While reading flags on /var/run/dbus.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/NetworkManager
lsattr: Inappropriate ioctl for device While reading flags on /var/run/crond.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/hald.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/mysqld.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/portmap.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/autofs
lsattr: Inappropriate ioctl for device While reading flags on /var/run/clamav
lsattr: Inappropriate ioctl for device While reading flags on /var/run/dhcpcd
lsattr: Inappropriate ioctl for device While reading flags on /var/run/gdm.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/dhclient.pid
lsattr: Operation not supported While reading flags on /var/run/gdm_socket
lsattr: Inappropriate ioctl for device While reading flags on /var/run/syslog-ng.pid
lsattr: Inappropriate ioctl for device While reading flags on /var/run/wpa_supplicant
lsattr: Inappropriate ioctl for device While reading flags on /var/run/daemons
When I try to delete httpd.pid I get the following error:
rm: cannot remove `httpd.pid': Permission denied
Any suggestions how I can fix this problem?
EDIT: "/usr/sbin/apachectl start" command displays a better message to understand the problem.
Thanks,
Ozgun.
Last edited by ozgun (2009-09-27 15:09:25)
Offline
Looks like file system corruption from here... Have you run fsck over the partition?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks for the reply "fukawi2". I booted my laptop with a bootable cd and ran the following commands and fixed the partition's file system:
# fsck /dev/hda6
# fsck.reiserfs --rebuild-tree /dev/hda6
Thanks again.
Offline
I take it that that fixed the issue?
Can you edit your original post and mark as solved please?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline