$ uname -a
Linux xxx 3.1.0-7.fc16.x86_64 #1 SMP Tue Nov 1 21:10:48 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/issue
Fedora release 16 (Verne)
I recently came across this problem started httpd and I cant for the life figure it out. I'm doing /etc/rc.d/init.d/httpd start. It will timeout and eventually fail with:
Jul 12 10:26:30 trax-prod-ww2-e1b systemd[1]: httpd.service operation timed out. Terminating.
Jul 12 10:26:30 trax-prod-ww2-e1b systemd[1]: Unit httpd.service entered failed state.
Jul 12 10:37:49 trax-prod-ww2-e1b systemd[1]: PID file /var/run/httpd.pid not readable (yet?) after start.
For grins I did chmod 777 /var/run, no luck.
I also attached strace to the startup script and I saw it hanging here:
[pid 931] read(3, "931 (systemd-tty-ask) R 930 921 "..., 1024) = 215
[pid 931] close(3) = 0
[pid 931] munmap(0x7f5dd6710000, 4096) = 0
[pid 931] mkdir("/run", 0700) = -1 EEXIST (File exists)
[pid 931] mkdir("/run/systemd", 0700) = -1 EEXIST (File exists)
[pid 931] mkdir("/run/systemd/ask-password-block", 0700) = -1 EEXIST (File exists)
[pid 931] mknod("/run/systemd/ask-password-block/136:0", S_IFIFO|0600) = -1 EEXIST (File exists)
[pid 931] open("/run/systemd/ask-password-block/136:0", O_RDONLY|O_NOCTTY|O_NONBLOCK|O_CLOEXEC) = 3
[pid 931] mkdir("/run", 0755) = -1 EEXIST (File exists)
[pid 931] mkdir("/run/systemd", 0755) = -1 EEXIST (File exists)
[pid 931] mkdir("/run/systemd/ask-password", 0755) = -1 EEXIST (File exists)
[pid 931] inotify_init1(IN_CLOEXEC) = 4
[pid 931] inotify_add_watch(4, "/run/systemd/ask-password", IN_CLOSE_WRITE|IN_MOVED_TO) = 1
[pid 931] rt_sigprocmask(SIG_SETMASK, [INT TERM], NULL, 8) = 0
[pid 931] signalfd4(-1, [INT TERM], 8, O_NONBLOCK|O_CLOEXEC) = 5
[pid 931] openat(AT_FDCWD, "/run/systemd/ask-password", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 6
[pid 931] getdents(6, /* 2 entries */, 32768) = 48
[pid 931] getdents(6, /* 0 entries */, 32768) = 0
[pid 931] close(6) = 0
[pid 931] poll([{fd=4, events=POLLIN}, {fd=5, events=POLLIN}], 2, -1
I'm doing everything as root of course, anyone have an idea?