LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-28-2010, 12:57 PM   #1
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Rep: Reputation: 0
Apache won't start [FAILED]


I am running Fedora Core 10 ISPConfig LAMP server.

This morning when I got to work I discovered that the httpd daemon wan't running (trying to check my e-mail through a web based mail client.)

When I tried to restart it by service httpd start it just returns [FAILED]. No warnings or error messages. When I do httpd -e DEBUG it says a bunch of modules are loaded and then just stops at "[Mon Jun 28 10:56:30 2010] [debug] mod_so.c(246): loaded module ssl_module"

I've searched through all my logs in /var/log/* but can't find any errors related to Apache.

This is a live server and hope I can get this fixed as soon as possible.
 
Old 06-28-2010, 01:07 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Check /var/log/httpd/*error*

You might also want to look at the apache configuration and verify where it's writing its logs also.
 
Old 06-28-2010, 01:25 PM   #3
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Original Poster
Rep: Reputation: 0
error_log:
Code:
[Mon Jun 28 10:59:11 2010] [info] Init: Initialized OpenSSL library
[Mon Jun 28 10:59:12 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
[Mon Jun 28 10:59:12 2010] [info] Init: Initialized OpenSSL library
[Mon Jun 28 10:59:14 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
[Mon Jun 28 10:59:14 2010] [info] Init: Initialized OpenSSL library
[Mon Jun 28 10:59:15 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
[Mon Jun 28 10:59:15 2010] [info] Init: Initialized OpenSSL library
[Mon Jun 28 10:59:29 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
[Mon Jun 28 11:05:05 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
[Mon Jun 28 11:05:05 2010] [info] Init: Initialized OpenSSL library
[Mon Jun 28 11:05:07 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
[Mon Jun 28 11:05:10 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
[Mon Jun 28 11:05:12 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin
/suexec)
ssl_error_log is empty

The only log configuration for httpd is just the location of the ISPConfig logs and the standard access_log and error_log files.
 
Old 06-28-2010, 02:32 PM   #4
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Original Poster
Rep: Reputation: 0
This is the output of all attempts to start Apache:
Code:
[root@rubalcavapastry ~]# service httpd start
Starting httpd:                                            [FAILED]
[root@rubalcavapastry ~]#
 
Old 06-28-2010, 02:33 PM   #5
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
Make sure you are not out of space in a partition
-df

run "service httpd configtest"

does anyone else have root access on the machine? Could they have broken apache?
-last

Check last modified times on config files

Check config files for misplaced "end of line", configtest should reveal this.

grep /var/log/messages for httpd or apache

use strace to see what is causing problem.
-strace service httpd start
...and you will have a lot of info.

Last edited by frndrfoe; 06-28-2010 at 02:35 PM.
 
Old 06-28-2010, 02:45 PM   #6
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Since it's Fedora, you might also try:
Code:
# restorecon /usr/sbin/httpd
# restorecon -R /usr/lib/httpd
# restorecon -R /etc/httpd
# restorecon -R /var/log/httpd
Only mentioning the selinux angle because the problem isn't presenting very good symptoms so far.

P.S. Fedora 10 is outdated and unsupported. Please start thinking about upgrading to the latest.

Last edited by anomie; 06-28-2010 at 02:47 PM.
 
Old 06-28-2010, 03:03 PM   #7
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Code:
[root@rubalcavapastry ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VG0-main  72537392   7138076  61714556  11% /
/dev/sda1               194442     28141    156262  16% /boot
tmpfs                   776960        80    776880   1% /dev/shm
[root@rubalcavapastry ~]# service httpd configtest
Syntax OK
[root@rubalcavapastry ~]#
Nobody but me has root access (unless someone hacked my server)
The output of last is way to large to post on the forums.

output of "grep apache messages":
Code:
Jun 28 07:56:42 rubalcavapastry fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam#012iptables -F fail2ban-apache-spam#012iptables -X fail2ban-apache-spam returned 100
Jun 28 07:56:42 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' stopped
Jun 28 07:58:11 rubalcavapastry fail2ban.jail   : INFO   Creating new jail 'apache-spam-iptables'
Jun 28 07:58:11 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' uses Gamin
Jun 28 07:58:12 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' started
Jun 28 07:58:15 rubalcavapastry fail2ban.actions.action: ERROR  iptables -N fail2ban-apache-spam#012iptables -A fail2ban-apache-spam -j RETURN#012iptables -I INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam returned 200
Jun 28 08:05:40 rubalcavapastry fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam#012iptables -F fail2ban-apache-spam#012iptables -X fail2ban-apache-spam returned 100
Jun 28 08:05:41 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' stopped
Jun 28 08:08:20 rubalcavapastry fail2ban.jail   : INFO   Creating new jail 'apache-spam-iptables'
Jun 28 08:08:20 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' uses Gamin
Jun 28 08:08:21 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' started
Jun 28 08:08:25 rubalcavapastry fail2ban.actions.action: ERROR  iptables -N fail2ban-apache-spam#012iptables -A fail2ban-apache-spam -j RETURN#012iptables -I INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam returned 200
Jun 28 08:21:42 rubalcavapastry fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam#012iptables -F fail2ban-apache-spam#012iptables -X fail2ban-apache-spam returned 100
Jun 28 08:21:44 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' stopped
Jun 28 08:26:34 rubalcavapastry fail2ban.jail   : INFO   Creating new jail 'apache-spam-iptables'
Jun 28 08:26:34 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' uses Gamin
Jun 28 08:26:34 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' started
Jun 28 08:26:37 rubalcavapastry fail2ban.actions.action: ERROR  iptables -N fail2ban-apache-spam#012iptables -A fail2ban-apache-spam -j RETURN#012iptables -I INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam returned 200
Jun 28 08:55:49 rubalcavapastry fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam#012iptables -F fail2ban-apache-spam#012iptables -X fail2ban-apache-spam returned 100
Jun 28 08:55:49 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' stopped
Jun 28 08:57:19 rubalcavapastry fail2ban.jail   : INFO   Creating new jail 'apache-spam-iptables'
Jun 28 08:57:19 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' uses Gamin
Jun 28 08:57:20 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' started
Jun 28 08:57:25 rubalcavapastry fail2ban.actions.action: ERROR  iptables -N fail2ban-apache-spam#012iptables -A fail2ban-apache-spam -j RETURN#012iptables -I INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam returned 200
Jun 28 10:13:51 rubalcavapastry fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam#012iptables -F fail2ban-apache-spam#012iptables -X fail2ban-apache-spam returned 100
Jun 28 10:13:52 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' stopped
Jun 28 10:15:20 rubalcavapastry fail2ban.jail   : INFO   Creating new jail 'apache-spam-iptables'
Jun 28 10:15:20 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' uses Gamin
Jun 28 10:15:20 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' started
Jun 28 10:15:23 rubalcavapastry fail2ban.actions.action: ERROR  iptables -N fail2ban-apache-spam#012iptables -A fail2ban-apache-spam -j RETURN#012iptables -I INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam returned 200
Jun 28 10:29:39 rubalcavapastry fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam#012iptables -F fail2ban-apache-spam#012iptables -X fail2ban-apache-spam returned 100
Jun 28 10:29:40 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' stopped
Jun 28 10:31:08 rubalcavapastry fail2ban.jail   : INFO   Creating new jail 'apache-spam-iptables'
Jun 28 10:31:08 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' uses Gamin
Jun 28 10:31:08 rubalcavapastry fail2ban.jail   : INFO   Jail 'apache-spam-iptables' started
Jun 28 10:31:11 rubalcavapastry fail2ban.actions.action: ERROR  iptables -N fail2ban-apache-spam#012iptables -A fail2ban-apache-spam -j RETURN#012iptables -I INPUT -p tcp -m multiport --dports http,https,4080 -j fail2ban-apache-spam returned 200
output of "strace -o /home/user/greplog.txt service httpd start":
Code:
execve("/sbin/service", ["service", "httpd", "start"], [/* 29 vars */]) = 0
brk(0)                                  = 0x9333000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=139361, ...}) = 0
mmap2(NULL, 139361, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb786f000
close(3)                                = 0
open("/lib/libtinfo.so.5", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\n\344\0024\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=98036, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb786e000
mmap2(0x2e3b000, 99928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2e3b000
mmap2(0x2e51000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0x2e51000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\312\210\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=20460, ...}) = 0
mmap2(0x88c000, 16500, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x88c000
mmap2(0x88f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2) = 0x88f000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\310r\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1809672, ...}) = 0
mmap2(0x716000, 1521232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x716000
mmap2(0x884000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16e) = 0x884000
mmap2(0x887000, 9808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x887000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb786d000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb786d6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x88f000, 4096, PROT_READ)     = 0
mprotect(0x884000, 8192, PROT_READ)     = 0
mprotect(0x712000, 4096, PROT_READ)     = 0
munmap(0xb786f000, 139361)              = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
brk(0)                                  = 0x9333000
brk(0x9354000)                          = 0x9354000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=80625664, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb766d000
close(3)                                = 0
getuid32()                              = 0
getgid32()                              = 0
geteuid32()                             = 0
getegid32()                             = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1277754841
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7891000
read(3, "MemTotal:      1553920 kB\nMemFre"..., 1024) = 924
close(3)                                = 0
munmap(0xb7891000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], 0}, {SIG_DFL, [], 0}, 8) = 0
uname({sys="Linux", node="rubalcavapastry.com", ...}) = 0
stat64("/var/log", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid()                                = 5653
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0
mmap2(NULL, 26048, PROT_READ, MAP_SHARED, 3, 0) = 0xb788b000
close(3)                                = 0
getppid()                               = 5652
getpgrp()                               = 5652
rt_sigaction(SIGCHLD, {0x807bad0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=1024, rlim_max=24575}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/sbin/service", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfc48888) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/sh\n\n. /etc/init.d/functio"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=1692, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/sh\n\n. /etc/init.d/functio"..., 1692) = 1692
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/etc/init.d/functions", {st_mode=S_IFREG|0644, st_size=13852, ...}) = 0
access("/etc/init.d/functions", X_OK)   = -1 EACCES (Permission denied)
access("/etc/init.d/functions", R_OK)   = 0
open("/etc/init.d/functions", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13852, ...}) = 0
read(3, "# -*-Shell-script-*-\n#\n# functio"..., 13852) = 13852
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
umask(022)                              = 022
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb786d708) = 5654
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x807bad0, [], 0}, {0x807bad0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "pty\n", 128)                   = 4
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807c6c0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 2}], 0) = 5654
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfc47b88, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807c6c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/etc/sysconfig/i18n", {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/etc/profile.d/lang.sh", {st_mode=S_IFREG|0644, st_size=2698, ...}) = 0
access("/etc/profile.d/lang.sh", X_OK)  = -1 EACCES (Permission denied)
access("/etc/profile.d/lang.sh", R_OK)  = 0
open("/etc/profile.d/lang.sh", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2698, ...}) = 0
read(3, "# /etc/profile.d/lang.sh - set i"..., 2698) = 2698
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/root/.i18n", 0xbfc47ae0)       = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/etc/sysconfig/init", {st_mode=S_IFREG|0644, st_size=1029, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64("/etc/sysconfig/init", {st_mode=S_IFREG|0644, st_size=1029, ...}) = 0
access("/etc/sysconfig/init", X_OK)     = -1 EACCES (Permission denied)
access("/etc/sysconfig/init", R_OK)     = 0
open("/etc/sysconfig/init", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1029, ...}) = 0
read(3, "# color => new RH6.0 bootup\n# ve"..., 1029) = 1029
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb788a000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2512
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb788a000, 4096)                = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/initscripts.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/initscripts.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/initscripts.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/initscripts.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/initscripts.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/initscripts.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -1622, [70], SEEK_CUR)     = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb786d708) = 5656
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 5656
waitpid(-1, 0xbfc47f88, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807bad0, [], 0}, {0x807bad0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "service\n", 128)               = 8
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807c6c0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807c6c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "USAGE=\"Usage: `basename $0` < op"..., 1692) = 1622
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
_llseek(255, -1517, [175], SEEK_CUR)    = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb786d708) = 5657
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 5657
waitpid(-1, 0xbfc47f88, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGCHLD, {0x807bad0, [], 0}, {0x807bad0, [], 0}, 8) = 0
close(4)                                = 0
read(3, "service\n", 128)               = 8
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807c6c0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807c6c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "SERVICE=\nSERVICEDIR=\"/etc/init.d"..., 1692) = 1517
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
chdir("/")                              = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/etc/init.d/httpd", {st_mode=S_IFREG|0755, st_size=3099, ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/sbin/env", 0xbfc48650)         = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/env", 0xbfc48650)     = -1 ENOENT (No such file or directory)
stat64("/bin/env", {st_mode=S_IFREG|0755, st_size=31124, ...}) = 0
access("/bin/env", X_OK)                = 0
access("/bin/env", R_OK)                = 0
stat64("/bin/env", {st_mode=S_IFREG|0755, st_size=31124, ...}) = 0
access("/bin/env", X_OK)                = 0
access("/bin/env", R_OK)                = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb786d708) = 5658
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x807c6c0, [], 0}, {SIG_DFL, [], 0}, 8) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 5658
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, 0xbfc48358, WNOHANG)        = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [])
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x807c6c0, [], 0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "", 1692)                     = 0
exit_group(1)                           = ?
 
Old 06-28-2010, 03:07 PM   #8
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Original Poster
Rep: Reputation: 0
output of "grep httpd messages":
Code:
Jun 27 05:09:39 rubalcavapastry fail2ban.filter : INFO   Log rotation detected for /var/log/httpd/access_log
Jun 28 07:58:11 rubalcavapastry fail2ban.filter : INFO   Added logfile = /var/log/httpd/access_log
Jun 28 08:08:20 rubalcavapastry fail2ban.filter : INFO   Added logfile = /var/log/httpd/access_log
Jun 28 08:26:34 rubalcavapastry fail2ban.filter : INFO   Added logfile = /var/log/httpd/access_log
Jun 28 08:57:19 rubalcavapastry fail2ban.filter : INFO   Added logfile = /var/log/httpd/access_log
Jun 28 09:45:30 rubalcavapastry yum: Installed: httpd-2.2.14-1.fc10.i386
Jun 28 09:45:30 rubalcavapastry yum: Installed: httpd-2.2.14-1.fc10.i386
Jun 28 10:15:20 rubalcavapastry fail2ban.filter : INFO   Added logfile = /var/log/httpd/access_log
Jun 28 10:31:08 rubalcavapastry fail2ban.filter : INFO   Added logfile = /var/log/httpd/access_log
 
Old 06-28-2010, 03:17 PM   #9
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
yes, perhaps use "setenforce 0" and try starting to see if it is indeed an selinux issue

thx for reminder anomie
 
Old 06-28-2010, 03:21 PM   #10
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
This line in the strace is interesting

Quote:
access("/etc/init.d/functions", X_OK) = -1 EACCES (Permission denied)
 
Old 06-28-2010, 03:28 PM   #11
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by anomie View Post
Since it's Fedora, you might also try:
Code:
# restorecon /usr/sbin/httpd
# restorecon -R /usr/lib/httpd
# restorecon -R /etc/httpd
# restorecon -R /var/log/httpd
Only mentioning the selinux angle because the problem isn't presenting very good symptoms so far.
Tried all four and rebooted, no go.


Quote:
Originally Posted by anomie View Post
P.S. Fedora 10 is outdated and unsupported. Please start thinking about upgrading to the latest.
What gaurentees in this stage can be made that if I attempt to upgrade my server it won't turn into a giant worthless data-loss heap? Last time I tried to "upgrade" it turned the server into mush and all the data into a giant brick that I had to spend 3 weeks rebuilding from scratch.
 
Old 06-28-2010, 03:29 PM   #12
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Original Poster
Rep: Reputation: 0
Code:
login as: root
root@192.168.1.8's password:
Last login: Mon Jun 28 10:56:14 2010 from 192.168.1.2
[root@rubalcavapastry ~]# setenforce 0
setenforce: SELinux is disabled
[root@rubalcavapastry ~]# service httpd start
Starting httpd:                                            [FAILED]
[root@rubalcavapastry ~]#
SELinux was disabled when I did the instructions for "The Perfect Setup."
 
Old 06-28-2010, 03:33 PM   #13
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
on my machine I get this

Quote:
access("/etc/init.d/functions", X_OK) = 0

check permissions on /etc/init.d/functions, should be 755.
CHECK THE LAST MODIFIED TIME BEFORE CHANGING IT!

Keep in mind that I am on a RHEL 5 machine, not fedora 10

Last edited by frndrfoe; 06-28-2010 at 03:37 PM.
 
Old 06-28-2010, 03:34 PM   #14
thinktink
LQ Newbie
 
Registered: Jun 2010
Posts: 22

Original Poster
Rep: Reputation: 0
I chmodded the "functions" file to 777. It still fails.
 
Old 06-28-2010, 03:44 PM   #15
frndrfoe
Member
 
Registered: Jan 2008
Distribution: RHEL, CentOS, Ubuntu
Posts: 379

Rep: Reputation: 38
755 would be better, it may fail sanity checks as 777 not to mention security problem.
 
  


Reply

Tags
apache, failed



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Webserver on Slackware - Failed to Start Apache - 'no listening sockets .." CCTVGuru Linux - Server 4 10-11-2009 01:14 AM
Failed to start apache..help please payjoe Linux - Newbie 2 04-25-2007 01:44 PM
Apache httpd start failed on fedora core 1 k_1701 Linux - Software 10 05-05-2006 07:40 AM
Failed to start apache : Apache does not appear to be running : number11 Slackware 9 02-11-2005 09:51 AM
Failed to start apache error help SSBN Linux - Networking 2 04-30-2003 07:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration