System Administration
Showing results for 
Search instead for 
Do you mean 

Apache web server does not start , can nebody help please

Occasional Visitor

Apache web server does not start , can nebody help please

Hi ,

Here are the traces when I run apachectl start

open("/usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.2", O_RDONLY) = 3
fstat(3, 0xFFBEE824) = 0
close(3) = 0
brk(0x0003A0F8) = 0
brk(0x0003A2F8) = 0
brk(0x0003A388) = 0
brk(0x0003A588) = 0
brk(0x0003A788) = 0
brk(0x0003A988) = 0
getuid() = 0 [0]
getuid() = 0 [0]
getgid() = 1 [1]
getgid() = 1 [1]
open64(".//apachectl", O_RDONLY) = 3
close(19) Err#9 EBADF
fcntl(3, F_DUPFD, 0x00000013) = 19
close(3) = 0
fcntl(19, F_SETFD, 0x00000001) = 0
ioctl(2, TCGETA, 0xFFBEF724) = 0
ioctl(19, TCGETA, 0xFFBEF724) Err#25 ENOTTY
read(19, " # ! / b i n / s h\n #\n".., 128) = 128
read(19, " s c r i p t d e s i g".., 128) = 128
read(19, " i t c o d e s r e t".., 128) = 128
read(19, " - o p e r a t i o n".., 128) = 128
read(19, "\t 5 - h t t p d c".., 128) = 128
read(19, " s t a r t e d d u r i".., 128) = 128
read(19, " e _ l a s t _\n # o".., 128) = 128
brk(0x0003AB88) = 0
read(19, " N | | | | | | | | |".., 128) = 128
read(19, " a r y , i n c l u d i".., 128) = 128
read(19, "\n i f t e s t - f ".., 128) = 128
stat64("/usr/apache/bin/envvars", 0xFFBEF360) = 0
open64("/usr/apache/bin/envvars", O_RDONLY) = 3
read(3, " # e n v v a r s - s t".., 128) = 128
read(3, " s r / a p a c h e / l i".., 128) = 58
read(3, 0xFFBEF590, 128) = 0
ioctl(3, TCGETA, 0xFFBEF124) Err#25 ENOTTY
ioctl(3, TCGETA, 0xFFBEF184) Err#25 ENOTTY
close(3) = 0
read(19, " t h e H T M L a t ".., 128) = 128
read(19, " t h e U R L t o y".., 128) = 128
read(19, " " h t t p : / / l o c a".., 128) = 128
read(19, " l l o w e d p e r c".., 128) = 128
read(19, " l t i t h r e a d e d ".., 128) = 128
brk(0x0003AE88) = 0
pipe() = 3 [4]
fork() = 21435
close(4) = 0
read(3, " 1 0 2 4\n", 128) = 5
read(3, 0xFFBEF458, 128) = 0
ioctl(3, TCGETA, 0xFFBEF2DC) Err#22 EINVAL
ioctl(3, TCGETA, 0xFFBEF33C) Err#22 EINVAL
close(3) = 0
waitid(P_PID, 21435, 0xFFBEF338, WEXITED|WTRAPPED) = 0
brk(0x0003AC88) = 0
read(19, " - - - - - - - - - - -\n".., 128) = 128
read(19, " r s a l l o w e d p".., 128) = 128
getrlimit64(RLIMIT_NOFILE, 0xFFBEF5F8) = 0
setrlimit64(RLIMIT_NOFILE, 0xFFBEF5F8) = 0
read(19, " ; t h e n \n ".., 128) = 128
read(19, " t a r t - S S L )\n ".., 128) = 128
brk(0x0003B088) = 0
read(19, " R L | a w k ' /".., 128) = 128
getuid() = 0 [0]
stat64(".//awk", 0xFFBEF140) Err#2 ENOENT
stat64("/usr/local/bin/awk", 0xFFBEF140) Err#2 ENOENT
stat64("/usr/sbin/awk", 0xFFBEF140) Err#2 ENOENT
stat64("/usr/bin/awk", 0xFFBEF140) = 0
access("/usr/bin/awk", 9) = 0
read(19, " ?\n e s a c\n\n e x i t".., 128) = 128
fork() = 21436
waitid(P_PID, 21436, 0xFFBEF518, WEXITED|WTRAPPED|WNOWAIT) (sleeping...)
waitid(P_PID, 21436, 0xFFBEF518, WEXITED|WTRAPPED|WNOWAIT) = 0
ioctl(0, TIOCGPGRP, 0xFFBEF4D4) = 0
ioctl(0, TCGETS, 0x000391B8) = 0
waitid(P_PID, 21436, 0xFFBEF518, WEXITED|WTRAPPED) = 0
Terminated
write(2, " T e r m i n a t e d\n", 11) = 11
brk(0x0003AE88) = 0
brk(0x0003AC88) = 0
llseek(0, 0, SEEK_CUR) = 11298
_exit(143)




If somebody has faced the same problem earlier , please let me know how to solve it.

Thanks,
Sachin
2 REPLIES
Honored Contributor [Founder]

Re: Apache web server does not start , can nebody help please

What's the result of running:

 

apachectl confgitest

 

Sorry, but the tusc output just isn't doing anything for me at the moment  :)

 

Has it run before and failed to start after a change to your config?  (maybe loading a new module, etc)

Highlighted
Honored Contributor [Founder]

Re: Apache web server does not start , can nebody help please

Did I seriously just respond to a post that is over 7 yrs old?  What gives with how the forums sorts messages... I was just browsing all posts and assumed it was sorted by newest first.  This one was only on page two. 

 

I miss the old layout--I guess it's time to go back into hiding as I just can't get used to this new layout.