/ Forside / Teknologi / Hardware / Mac / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Mac
#NavnPoint
UlrikB 4810
kipros 1675
Klaudi 1010
myg 920
pifo 907
Stouenberg 838
molokyle 830
Bille1948 815
rotw 760
10  EXTERMINA.. 750
apachectl
Fra : David Blangstrup


Dato : 18-11-02 10:02

Jeg kan cd /Library/Apache2;sudo ./bin/apachectl stop -- og start. Men
hvordan apachectl'er man en restart?

--
David Blangstrup http://david.blangstrup.dk
Allerød, Danmark http://home.blangstrup.dk

 
 
Thorbjoern Ravn Ande~ (18-11-2002)
Kommentar
Fra : Thorbjoern Ravn Ande~


Dato : 18-11-02 10:09

firstname@lastname.dk (David Blangstrup) writes:

> Jeg kan cd /Library/Apache2;sudo ./bin/apachectl stop -- og start. Men
> hvordan apachectl'er man en restart?

Fra manualsiden til apachectl:

OPTIONS
The command can be any one or more of the following
options:

start Start the Apache daemon. Gives an error if it
is already running.

stop Stops the Apache daemon.

restart Restarts the Apache daemon by sending it a
SIGHUP. If the daemon is not running, it is
started. This command automatically checks
the configuration files via configtest before
initiating the restart to make sure Apache
doesn't die.

Hvorfor virker det ikke hos dig?

--
Thorbjørn Ravn Andersen "... plus ... Tubular Bells!"
http://bigfoot.com/~thunderbear
Det skete i de dage i november engang
at de første dataloger satte julen igang...

David Blangstrup (18-11-2002)
Kommentar
Fra : David Blangstrup


Dato : 18-11-02 16:59

Thorbjoern Ravn Andersen <nospam0000@unixsnedkeren.dk> wrote:

> firstname@lastname.dk (David Blangstrup) writes:
>
> > Jeg kan cd /Library/Apache2;sudo ./bin/apachectl stop -- og start. Men
> > hvordan apachectl'er man en restart?
>
> Fra manualsiden til apachectl:
>
> OPTIONS
> The command can be any one or more of the following
> options:
>
> start Start the Apache daemon. Gives an error if it
> is already running.
>
> stop Stops the Apache daemon.
>
> restart Restarts the Apache daemon by sending it a
> SIGHUP. If the daemon is not running, it is
> started. This command automatically checks
> the configuration files via configtest before
> initiating the restart to make sure Apache
> doesn't die.
>
> Hvorfor virker det ikke hos dig?

Det virker skam også, jeg havde bare glemt at det var 'restart'. Ach, så
simpelt
--
David Blangstrup http://david.blangstrup.dk
Allerød, Danmark http://home.blangstrup.dk

David Blangstrup (18-11-2002)
Kommentar
Fra : David Blangstrup


Dato : 18-11-02 19:17

Thorbjoern Ravn Andersen <nospam0000@unixsnedkeren.dk> wrote:

> firstname@lastname.dk (David Blangstrup) writes:
>
> > Jeg kan cd /Library/Apache2;sudo ./bin/apachectl stop -- og start. Men
> > hvordan apachectl'er man en restart?
>
> Fra manualsiden til apachectl:
>
> OPTIONS
> The command can be any one or more of the following
> options:
>
> start Start the Apache daemon. Gives an error if it
> is already running.
>
> stop Stops the Apache daemon.
>
> restart Restarts the Apache daemon by sending it a
> SIGHUP. If the daemon is not running, it is
> started. This command automatically checks
> the configuration files via configtest before
> initiating the restart to make sure Apache
> doesn't die.
>
> Hvorfor virker det ikke hos dig?

Mac OS X tror, at serveren stadig fungerer på port 80 og kan ikke
oprette forbindelse til socket bla bla, så man er nødt til at genstarte.
--
David Blangstrup http://david.blangstrup.dk
Allerød, Danmark http://home.blangstrup.dk

Richard Kruse Nees (18-11-2002)
Kommentar
Fra : Richard Kruse Nees


Dato : 18-11-02 13:20

David Blangstrup wrote on 18/11/02 10:01:

> Jeg kan cd /Library/Apache2;sudo ./bin/apachectl stop -- og start. Men
> hvordan apachectl'er man en restart?

Brug:

% sudo apachectl graceful


--
Med venlig hilsen / Best Regards

Richard Kruse Nees
Email: REMOVE_richard@REMOVE_sectionurbaine.com
Danish Dock Menu Fix for Mac OS X 10.2.x:
<http://www.sectionurbaine.com/downloads/software/DanishDockMenuFix.dmg.bin>


Søg
Reklame
Statistik
Spørgsmål : 177518
Tips : 31968
Nyheder : 719565
Indlæg : 6408647
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste