Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-09-2012, 02:10 PM   #1
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Rep: Reputation: 12
Apache 2.4 on ubuntu 12.4

Hey everyone,
I have successfully configured apache 2.4 on sabayon linux. I recently switched to ubuntu. I have a problem to configure it here. After installing using sequence of conventional commands, I can see the apache executables in /usr/local/apache2. They are all present!. But if i run, for instance httpd -d, I get this
No command 'httpd' found, did you mean:
 Command 'xttpd' from package 'xtide' (universe)
httpd: command not found
Kindly help. Thanks...
Old 08-09-2012, 03:41 PM   #2
Registered: Dec 2005
Location: Birmingham, AL
Distribution: CentOS, REHL, Vine Linux
Posts: 67

Rep: Reputation: 3
because httpd doesn't exist. it's apache2. For example to start the web server, in your case you would do
apache2ctl start

/etc/rc.d/init.d/apache2 start
instead of

httpd start

/etc/rc.d/init.d/httpd start
so if you want to do httpd -d
do apache2 -d


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 + Apache 2.28 hacked - need help Alt-Ox Linux - Security 1 02-15-2011 12:56 AM
How to install apache on ubuntu 8.10? your_shadow03 Linux - Newbie 1 03-18-2009 03:53 AM
Apache ProxyPass doubt (ubuntu 6.10, apache 2.0) Carlos2dub Linux - Server 1 05-28-2008 04:43 AM
Apache on Ubuntu tommytomato Ubuntu 2 06-01-2007 04:42 AM
Ubuntu with apache? Cliekid Ubuntu 1 05-13-2005 11:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration