Forum Moderators: phranque

Message Too Old, No Replies

About Apache

can't find apachectl

         

satimis

3:41 pm on Nov 23, 2006 (gmt 0)

10+ Year Member



Hi folks,

Ubuntu-6.06.1-LAMP-server-amd64
Apache2

Apache is running on this server. On Firefox evoking "localhost/127.0.0.1" started default page of Apache site.

However
$ ps -ef ¦ grep httpd


satimis 6359 5605 0 23:20 pts/0 00:00:00 grep httpd

does not show it is running.

$ sudo apachectl -k graceful


sudo: apachectl: command not found

can't find apachectl

$ which apachectl
No printout

I'm at a lost. What mistake I have committed? TIA

B.R.
satimis

encyclo

3:55 pm on Nov 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try
apache[b]2[/b]ctl
instead - that is the way that Apache is set up on Ubuntu. :)

satimis

4:11 pm on Nov 23, 2006 (gmt 0)

10+ Year Member



Hi encyclo,

$ which apache2ctl
/usr/sbin/apache2ctl

I got it. Tks.

Also
$ ps -ef ¦ grep apache2


root 5364 1 0 22:37? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5453 5364 0 22:37? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5454 5364 0 22:37? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5455 5364 0 22:37? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5456 5364 0 22:37? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5457 5364 0 22:37? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5861 5364 0 23:03? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5863 5364 0 23:03? 00:00:00 /usr/sbin/apache2 -k start -DSSL
www-data 5864 5364 0 23:03? 00:00:00 /usr/sbin/apache2 -k start -DSSL
satimis 6628 5605 0 23:58 pts/0 00:00:00 grep apache2

B.R.
satimis