LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache status... (https://www.linuxquestions.org/questions/linux-newbie-8/apache-status-836473/)

rainlinux 10-06-2010 01:52 AM

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

prayag_pjs 10-06-2010 02:12 AM

you have apache2?

rainlinux 10-06-2010 03:39 AM

Hi prayag pjs,

I have no idea what apache2 is.

Could you tell me more about that?

Thanks

sem007 10-06-2010 03:57 AM

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,

X.Cyclop 10-06-2010 04:37 AM

Did you try apache2ctl restart ?

whk 10-06-2010 09:30 AM

Can you ping anything?

rainlinux 10-07-2010 01:39 AM

Thank you all you guys

sem007 10-07-2010 02:00 AM

Quote:

Originally Posted by rainlinux (Post 4120182)
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,


All times are GMT -5. The time now is 05:54 PM.