Or, If it was installed from the ports or cd, 

bash-2.04$ /usr/local/sbin/apachectl
usage: /usr/local/sbin/apachectl
(start|stop|restart|fullstatus|status|graceful|configtest
|help)

start      - start httpd
stop       - stop httpd
restart    - restart httpd if running by sending a SIGHUP or start if
             not running
fullstatus - dump a full status screen; requires lynx and mod_status enabled
status     - dump a short status screen; requires lynx and mod_status enabled
graceful   - do a graceful restart by sending a SIGUSR1 or start if not
running
configtest - do a configuration syntax test
help       - this screen

bash-2.04$

Kirk



>At 12:57 PM 3/29/01 -0500, you wrote:
>     The exact file to start/stop/restart apache will be in the directory
>where you have installed the it. Normally it would be in  
>/usr/local/apache/bin/apachectl    and the syntax you will use to start is 
>  /usr/local/apache/bin/apachectl start   -Ashok   -----Original
Message----- 
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
>Sent: Thursday, March 29, 2001 12:51 PM 
>To: [EMAIL PROTECTED] 
>Subject: [OT] Starting/stoping apache on a FreeBSD box  
>  Sorry for the OT:   I've been asked to set up a web site on a freeBSD
>box. The sites already been written, i'm just moving the files, and we're
>using the apache default config. But apparently the server is not running,
>and BSD's init scripts are so different that I cna't find the start script.
>I also can't find apachectrl, or whatever the usuall name of that binary
>is. Since there's no RPM I can't rpm -ql apache :-(.  Can anyone tell me
>where start/stop controls are for apache and friends?   TIA   P.S. the only
>shell is /bin/sh with no readline - icky!  
>---------------------------------------------------- 
>Jonathan Wilson 
>System Administrator        http://www.cedarcreeksoftware.com 
>     http://www.centraltexasit.com  
> 
>  _______________________________________________ 
>Redhat-list mailing list 
>[EMAIL PROTECTED] 
>https://listman.redhat.com/mailman/listinfo/redhat-list    



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to