|
|
|
| Web Hosting Guide |
![]() ![]() |
Restarting Apache Server |
Sep 25 2006, 03:00 PM
Post
#11
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,961 Joined: 16-August 05 Member No.: 7,896 myCENTs:81.60 |
Still useful. However, this syntax is not worth everywhere. On my system,
[console] SYNOPSIS httpd [ -X ] [ -L libexecdir ] [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D paramètre ] httpd [ -h ] [ -l ] [ -v ] [ -V ] [ -S ] [ -? ] [/console] so, the option -k seems not to exist on my Redhat, nor the -restart option. |
|
|
|
Sep 25 2006, 03:06 PM
Post
#12
|
|
|
Member - Active Contributor Group: Members Posts: 83 Joined: 25-September 06 From: The Netherlands Member No.: 16,153 |
I use Fedora Core 5 and it states in the man pages:
QUOTE NAME httpd - Apache Hypertext Transfer Protocol Server SYNOPSIS httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|grace- ful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ] Strange .. Maybe some different versions? |
|
|
|
Sep 25 2006, 07:48 PM
Post
#13
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,961 Joined: 16-August 05 Member No.: 7,896 myCENTs:81.60 |
QUOTE Strange .. Maybe some different versions? Probably, yes. I'm using "Kernel 2.6.9-22.EL on an i686." |
|
|
|
Sep 25 2006, 07:54 PM
Post
#14
|
|
|
Member - Active Contributor Group: Members Posts: 83 Joined: 25-September 06 From: The Netherlands Member No.: 16,153 |
QUOTE(yordan @ Sep 25 2006, 09:48 PM) [snapback]87917[/snapback] Probably, yes. I'm using "Kernel 2.6.9-22.EL on an i686." I'm on a 2.6.17-1.2187_FC5 64bit (x86_64) Perhaps RedHat packages are a bit more expert orientated? Since RedHat is really a server distro... Well who knows. These commands work too on my system [console] apachectl restart apachectl -k restart /etc/rc.d/init.d/httpd restart [/console] bakr_2k5 This post has been edited by bakr_2k5: Sep 25 2006, 08:24 PM |
|
|
|
Aug 6 2008, 05:13 AM
Post
#15
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
Replying to mastercomputersReplying to nightfox
How was apache installed ?? If its residing under one of the system path then simple "service httpd restart" should have worked but if its source compiled with a different --prefix folder which you are not aware of then use "ps -wwaux | grep httpd" to get process listing , this will also give you the path under which you have the binaries, in my case I got this Daemon 30146 0.0 0.0 171808 5548 ? S 22:12 0:00 /usr/local/apache/bin/httpd -k start Daemon 30321 0.0 0.0 171808 5552 ? S 22:21 0:00 /usr/local/apache/bin/httpd -k start Daemon 31419 0.0 0.0 171808 5544 ? S 23:18 0:00 /usr/local/apache/bin/httpd -k start Daemon 31421 0.0 0.0 171808 5552 ? S 23:18 0:00 /usr/local/apache/bin/httpd -k start My apache resides under "/usr/local/apache" so I can use /usr/local/apache/bin/apachectl restart/graceful/reload, I hope this info may be of some use. -reply by Robinson |
|
|
|
Sep 15 2009, 05:24 PM
Post
#16
|
|
|
Newbie [ Level 1 ] Group: Members Posts: 0 Joined: 1-November 07 Member No.: 25,869 |
Apachectl
Restarting Apache Server hi, I have fedora 9 OS . I have configered virtual web server . I want to start my default webserver which is located at /var/www, but it always starting my virtual webserver which is I created under root directory /www...So my question is how I start my default webserver(/var/www). I used all the ways but unable to start it... It always says processing /www/conf/vhost/xyz.Conf and starts the apachectl .. Which I don't want to start. comments are welcome... Thanks, -reply by Suraj Nayak |
|
|
|
Nov 4 2009, 11:25 PM
Post
#17
|
|
|
Don't Worry, I'm here Group: Members Posts: 271 Joined: 3-October 09 From: Northeast, United States of America Member No.: 43,278 myCENTs:24.29 |
I've worked with Apache long enough that I know (or at least I thought I knew) how to restart it. The problem: my terminal is filled with "command not found" and other errors and the such. httpd restart, right? NOPE! Command not found! apachectl restart, NOPE! Command not found! I'm out of ideas! I can't just keep physically re-booting the machine when I need JUST apache to restart! Thanks for any help, my system is Debain 3.1 r1. [N]F Ouch that's sound hard. You mmight want to re-install apache. |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
18 | Nuwan | 8,318 | 16th November 2009 - 09:16 PM Last post by: HannahI |
|||
![]() |
10 | Jimmy89 | 2,479 | 10th November 2009 - 03:31 PM Last post by: iG-Will |
|||
![]() |
15 | jedipi | 5,151 | 9th November 2009 - 04:59 PM Last post by: iG-mark |
|||
![]() |
16 | rmdort | 8,126 | 4th November 2009 - 11:22 PM Last post by: HannahI |
|||
![]() |
9 | jedipi | 4,620 | 28th October 2009 - 08:09 PM Last post by: HannahI |
|||
![]() |
34 | FoRsAkEn | 11,875 | 27th October 2009 - 12:24 PM Last post by: iG-shree |
|||
![]() |
5 | Kushika | 2,419 | 25th October 2009 - 12:06 AM Last post by: iG-William Archer |
|||
![]() |
30 | x2crazy4shadyx | 7,604 | 16th October 2009 - 05:02 AM Last post by: iG-RidingKeysLamp |
|||
![]() |
6 | xboxrulz | 1,003 | 8th October 2009 - 07:33 PM Last post by: iG-Omar |
|||
![]() |
7 | GM Sneaky | 6,974 | 6th October 2009 - 02:16 PM Last post by: iG-Notes |
|||
![]() |
29 | Mitch666Holland | 4,688 | 2nd October 2009 - 07:03 AM Last post by: iG-albu77 |
|||
![]() |
6 | Koutarou | 4,282 | 21st September 2009 - 11:56 AM Last post by: iG-Michael |
|||
![]() |
3 | jonnahlynb29e | 147 | 13th September 2009 - 04:58 PM Last post by: yordan |
|||
![]() |
2 | biggiebi | 4,531 | 8th September 2009 - 05:21 PM Last post by: iG-andres |
|||
![]() |
15 | FirefoxRocks | 1,066 | 7th September 2009 - 05:02 AM Last post by: iG-Amy |
|||
|
Lo-Fi Version | Time is now: 22nd November 2009 - 11:27 AM |
© 2009 AstaHost: Free Web Hosting & Technical Discussion, Free Web Hosting. a member of xisto.
Powered by Invision Board. Skin: IPB Forum Skins
Expand / Collapse Navigation



Sep 25 2006, 03:00 PM






