The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Web Programming, Web 2.0 and Mashups
.
google unix.com



Web Programming, Web 2.0 and Mashups Discuss Web Programming and Web Server Administration, including LAMP, Apache, MySQL, Flash, HTML, SEO, Mashups and other Web APIs and topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
httpd problem or something else c0mrade Web Programming, Web 2.0 and Mashups 6 01-14-2009 08:06 AM
httpd and mysq after rsync kumarrana UNIX for Advanced & Expert Users 5 06-26-2008 05:58 AM
sudo, or not sudo: that is the question iBot UNIX and Linux RSS News 1 02-07-2008 01:40 PM
httpd error kumarangopi UNIX for Dummies Questions & Answers 2 11-20-2006 07:58 AM
/var/log/httpd/access_log eddie Security 3 10-02-2001 12:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-21-2009
aneuryzma aneuryzma is offline
Registered User
  
 

Join Date: May 2009
Posts: 60
sudo httpd -k restart

hi,

why do I need -k in

sudo httpd -k restart ?

thanks
  #2 (permalink)  
Old 05-21-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,655
That is how the command is written.

httpd(8) man page.

Code:
    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 ]


       On Windows systems, the following additional arguments are available:


       httpd [ -k install|config|uninstall ] [ -n name ] [ -w ]
  #3 (permalink)  
Old 05-21-2009
aneuryzma aneuryzma is offline
Registered User
  
 

Join Date: May 2009
Posts: 60
ok. I've tried this:

sudo apachectl restart

and it works as well.

thanks
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:06 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0