LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-06-2010, 02:52 AM   #1
rainlinux
LQ Newbie
 
Registered: Oct 2010
Posts: 16

Rep: Reputation: 1
Apache status...


Hi all,

I host my website in Redhat 7.0. Suddenly, I can't access my website.

Then, I checked the apache status and it shows below:

# ps -aux | grep httpd
root 1319 0.0 0.3 1796 840 ? S 06:38 0:00 httpd


What does that mean? Is that working?

By the way, when I type /etc/init.d/httpd restart

It says that No such file or directory.....

How can I restart apache? Please help


Thank you
 
Old 10-06-2010, 03:12 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
you have apache2?
 
Old 10-06-2010, 04:39 AM   #3
rainlinux
LQ Newbie
 
Registered: Oct 2010
Posts: 16

Original Poster
Rep: Reputation: 1
Hi prayag pjs,

I have no idea what apache2 is.

Could you tell me more about that?

Thanks
 
Old 10-06-2010, 04:57 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Why you are using old redhat version>

BTW

try netstat command. what it display?

Code:
# netstat -antlup | grep http
Did you tried services command to start or restart service.

Code:
service httpd restart
Quote:
I have no idea what apache2 is.

Could you tell me more about that?
apache is web service for linux (also run on windows)

By default in redhat apache know as httpd.

Regards,
 
Old 10-06-2010, 05:37 AM   #5
X.Cyclop
Member
 
Registered: Jun 2006
Location: Tlv
Distribution: Arch!
Posts: 120

Rep: Reputation: 21
Did you try apache2ctl restart ?
 
Old 10-06-2010, 10:30 AM   #6
whk
Member
 
Registered: Jun 2005
Posts: 202

Rep: Reputation: 35
Can you ping anything?
 
Old 10-07-2010, 02:39 AM   #7
rainlinux
LQ Newbie
 
Registered: Oct 2010
Posts: 16

Original Poster
Rep: Reputation: 1
Thank you all you guys
 
Old 10-07-2010, 03:00 AM   #8
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by rainlinux View Post
Thank you all you guys
Are you got solution? What was the problem and how you resolve it?

and also mark thread as solved if you got solution.

Regards,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Status Behaviour alvi2 Linux - Server 2 01-28-2010 02:16 AM
Apache server-status uks Linux - Software 5 03-09-2009 03:23 PM
apache server-status ilnli Linux - Software 0 07-11-2007 09:32 PM
Apache server-status help javamdk Linux - Networking 4 03-27-2005 09:45 PM
Apache server-status help javamdk Ubuntu 1 03-27-2005 06:53 AM


All times are GMT -5. The time now is 10:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration