httpd started but not running

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat httpd started but not running
# 1  
Old 04-09-2012
httpd started but not running

Hi

I have just done a basic setup of apache .
When i start it says started but nothing is running. Also there is no logs generated.


Code:
-bash-3.2$ ./apachectl start
./apachectl start: httpd started


COuld someone help me how to find what is wrong here
# 2  
Old 04-09-2012
I noticed a $ sign in your prompt. You are you running as root?
# 3  
Old 04-09-2012
No..dats just a customised prompt.
# 4  
Old 04-09-2012
But you should run the command as root..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Web Development

Httpd not starting

I compiled apache 2.2.15 from source and installed it. When I try to start it, its not coming up. # ./httpd -k start # echo $? 1 # ps -ef | grep httpd | grep -v grep # # ./httpd -v Server version: Apache/2.2.15 (Unix) Server built: Dec 13 2013 04:31:41When I run it in gdb I am... (4 Replies)
Discussion started by: chacko193
4 Replies

2. Red Hat

How do I invoke second copy of apache when running service httpd start?

Hi all I'm using the following for my os # cat /etc/redhat-release CentOS release 6.4 (Final) when I execute the following # ls -lrth /etc/init.d/httpd -rwxr-xr-x. 1 root root 3.3K Feb 22 19:20 /etc/init.d/httpd # /etc/init.d/httpd start Starting httpd: httpd: Syntax error... (1 Reply)
Discussion started by: jediwannabe
1 Replies

3. Shell Programming and Scripting

Playing with httpd.conf

Hello Guys !! wanted to use SED to pull cout the full vertualhost entry for domain which is specified from command line Like (IP base httpd.conf) domain="ServerName takemewithyou.in" sed -n '/<VirtualHost* $domain/,/<\/VirtualHost>/p' httpd.conf File can take to test is below ... (0 Replies)
Discussion started by: SilvesterJ
0 Replies

4. UNIX for Dummies Questions & Answers

Respawn httpd using init

How to auto restart httpd(apache) with inittab respawn? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

5. Red Hat

HTTPD and telnet

Hi there I have installed httpd and telnet-server on RHEL5 standalone machine. Normally when i install these services they work once i edit /etc/xinetd.d/telnet disable = no start httpd and xinetd services .. #chkconfig --level 345 httpd on #chkconfig --level 345 xinetd on ... (4 Replies)
Discussion started by: dplinux
4 Replies

6. Web Development

httpd problem or something else

Hi, I have a bit problem with my server.. The httpd server seems to be running and all but the websites which are hosted on it are not opening .. any hints what else it might be, here is what I get when /etc/init.d/httpd status Thank you for your replies (6 Replies)
Discussion started by: c0mrade
6 Replies

7. UNIX for Advanced & Expert Users

httpd and mysq after rsync

I have synced two linux machines; /home, /var/lib/mysql, and /var/www. As soon as I synced /etc/passwd and /etc/shadow I lost httpd and mysqld service. Anybody has any idea what caused httpd and mysqld down? When I try "/sbin/service httpd fullstatus" it gives "Elinks: Connection refused". ... (5 Replies)
Discussion started by: kumarrana
5 Replies

8. UNIX for Dummies Questions & Answers

httpd error

I installed FreeBSD6.x and apache2.x using gzip the tar files.i then gave ./configure command.It is know that by default apache2 will be created in /usr/local/apache2 but when i give ./configure command apache2 is not created and iam not able to execute apachectl start it says command not... (2 Replies)
Discussion started by: kumarangopi
2 Replies

9. UNIX for Dummies Questions & Answers

is there any way to know how much time process was running from the moment it started

i have process that was started few days ago , is there way to know by its id how long it was alive in the system ? Thanks (2 Replies)
Discussion started by: umen
2 Replies
Login or Register to Ask a Question